melvinchia3636 dfca82db04 24w05
Former-commit-id: 13d14d1be55b13ee093152761525d6c653346f7e [formerly bd7fa26e477ed6ec6f29264b334234a524e817b6] [formerly f8f03c336ee607a40d9cb199b6d678d7e06f2ed0 [formerly 8a6ab981fd8b2f9cb0ea32c09cebdea19da700f9]]
Former-commit-id: 541311e8af601763e6f837005b7d8d0041d828a8 [formerly dbd731371e8f5903020485a2f53e2c102283f3ec]
Former-commit-id: e0af0ac7a35bb0400722e54588bf62bacb3a888c
2024-02-02 20:48:19 +08:00
2024-02-01 16:35:57 +08:00
2024-02-02 20:48:19 +08:00
2024-02-01 16:35:57 +08:00
2024-02-01 16:35:57 +08:00
2024-02-01 16:35:57 +08:00
2024-02-02 20:48:19 +08:00
2024-02-01 16:35:57 +08:00
2024-02-01 16:35:57 +08:00
2024-02-01 16:35:57 +08:00
2024-02-02 20:48:19 +08:00
2024-02-01 16:35:57 +08:00
2024-02-01 16:35:57 +08:00
2024-02-01 16:35:57 +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%