质控程序

banxia e3b2db52a0 feat: 自定义标题栏 hai 1 mes
dist-electron b2c0ccc8e3 提交 hai 5 meses
electron e3b2db52a0 feat: 自定义标题栏 hai 1 mes
public b2c0ccc8e3 提交 hai 5 meses
release b2c0ccc8e3 提交 hai 5 meses
src e3b2db52a0 feat: 自定义标题栏 hai 1 mes
.env b2c0ccc8e3 提交 hai 5 meses
.env.development b2c0ccc8e3 提交 hai 5 meses
.env.production b2c0ccc8e3 提交 hai 5 meses
.eslintrc.cjs b2c0ccc8e3 提交 hai 5 meses
.gitignore e3b2db52a0 feat: 自定义标题栏 hai 1 mes
README.md b2c0ccc8e3 提交 hai 5 meses
eslint.config.js b2c0ccc8e3 提交 hai 5 meses
index.html b2c0ccc8e3 提交 hai 5 meses
package-lock.json b2c0ccc8e3 提交 hai 5 meses
package.json e3b2db52a0 feat: 自定义标题栏 hai 1 mes
pnpm-lock.yaml b2c0ccc8e3 提交 hai 5 meses
postcss.config.js b2c0ccc8e3 提交 hai 5 meses
tailwind.config.js b2c0ccc8e3 提交 hai 5 meses
test.md b2c0ccc8e3 提交 hai 5 meses
tsconfig.app.json b2c0ccc8e3 提交 hai 5 meses
tsconfig.json b2c0ccc8e3 提交 hai 5 meses
tsconfig.node.json b2c0ccc8e3 提交 hai 5 meses
vite.config.ts b2c0ccc8e3 提交 hai 5 meses

README.md

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:

    export default tseslint.config({
    languageOptions: {
    // other options...
    parserOptions: {
      project: ['./tsconfig.node.json', './tsconfig.app.json'],
      tsconfigRootDir: import.meta.dirname,
    },
    },
    })
    
  • Replace tseslint.configs.recommended to tseslint.configs.recommendedTypeChecked or tseslint.configs.strictTypeChecked

  • Optionally add ...tseslint.configs.stylisticTypeChecked

  • Install eslint-plugin-react and update the config:

    // eslint.config.js
    import react from 'eslint-plugin-react'
    
    export default tseslint.config({
    // Set the react version
    settings: { react: { version: '18.3' } },
    plugins: {
    // Add the react plugin
    react,
    },
    rules: {
    // other rules...
    // Enable its recommended rules
    ...react.configs.recommended.rules,
    ...react.configs['jsx-runtime'].rules,
    },
    })