质控程序

banxia 3b7e98094b feat: v1 il y a 1 mois
dist-electron b2c0ccc8e3 提交 il y a 5 mois
electron 3b7e98094b feat: v1 il y a 1 mois
public b2c0ccc8e3 提交 il y a 5 mois
release b2c0ccc8e3 提交 il y a 5 mois
src 3b7e98094b feat: v1 il y a 1 mois
.env b2c0ccc8e3 提交 il y a 5 mois
.env.development b2c0ccc8e3 提交 il y a 5 mois
.env.production b2c0ccc8e3 提交 il y a 5 mois
.eslintrc.cjs b2c0ccc8e3 提交 il y a 5 mois
.gitignore 3b7e98094b feat: v1 il y a 1 mois
README.md b2c0ccc8e3 提交 il y a 5 mois
eslint.config.js b2c0ccc8e3 提交 il y a 5 mois
index.html b2c0ccc8e3 提交 il y a 5 mois
package-lock.json b2c0ccc8e3 提交 il y a 5 mois
package.json 3b7e98094b feat: v1 il y a 1 mois
pnpm-lock.yaml b2c0ccc8e3 提交 il y a 5 mois
postcss.config.js b2c0ccc8e3 提交 il y a 5 mois
tailwind.config.js b2c0ccc8e3 提交 il y a 5 mois
test.md b2c0ccc8e3 提交 il y a 5 mois
tsconfig.app.json b2c0ccc8e3 提交 il y a 5 mois
tsconfig.json b2c0ccc8e3 提交 il y a 5 mois
tsconfig.node.json b2c0ccc8e3 提交 il y a 5 mois
vite.config.ts b2c0ccc8e3 提交 il y a 5 mois

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,
    },
    })