melvinchia3636 a7112a89e3 some slight changes
Former-commit-id: c4b31eb4c3c05e555781d61999cb4d71c156444a [formerly 93529c10657abcf329d00b3948d71fd0f0f9b2d6] [formerly 483b3feae60aca44d3addf059bf32fa81c07580f [formerly 4fc02607091016b72c9f1d4f5b9d5763bf34c8c8]]
Former-commit-id: eef677902d98b3d2986d6669980a778b7c90b008 [formerly b32b470a413759c046e684edfaded61467a681cf]
Former-commit-id: 28c27a3a2e0d20f5d007e536c64b9821252b2ad3
2023-11-26 22:25:55 +08:00
2023-11-26 22:25:55 +08:00
2023-11-26 00:19:38 +08:00
2023-11-26 22:25:55 +08:00
2023-11-24 13:56:03 +08:00
2023-11-23 13:52:39 +08:00
2023-11-24 13:56:03 +08:00
2023-11-24 19:57:37 +08:00
2023-11-26 22:19:41 +08:00
2023-11-23 13:52:39 +08:00
2023-11-23 13:52:39 +08:00
2023-11-23 13:52:39 +08:00
2023-11-23 13:52:39 +08:00
2023-11-23 13:52:39 +08:00
2023-11-23 13:52:39 +08:00
2023-11-26 22:19:41 +08:00

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 {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
  },
}
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list
Languages
TypeScript 97.3%
CSS 1.7%
Dockerfile 0.4%
Shell 0.3%
HTML 0.2%
Other 0.1%