jetbrains-license-server/license_ui
2024-04-07 21:38:05 +08:00
..
src fix(ui):修正影响编译的问题。 2024-04-07 21:38:05 +08:00
.eslintrc.cjs refactor(project):修改两个子项目的路径。 2024-04-01 15:11:41 +08:00
.gitignore refactor(project):修改两个子项目的路径。 2024-04-01 15:11:41 +08:00
bun.lockb build(ui):增加通知模块。 2024-04-05 20:31:19 +08:00
bunfig.toml build(ui):增加前端配套文件。 2024-04-04 08:15:12 +08:00
index.html enhance(ui):调整页面title。 2024-04-04 08:16:08 +08:00
package.json build(ui):增加通知模块。 2024-04-05 20:31:19 +08:00
postcss.config.js build(ui):增加前端配套文件。 2024-04-04 08:15:12 +08:00
README.md refactor(project):修改两个子项目的路径。 2024-04-01 15:11:41 +08:00
tsconfig.json build(ui):增加前端配套文件。 2024-04-04 08:15:12 +08:00
tsconfig.node.json refactor(project):修改两个子项目的路径。 2024-04-01 15:11:41 +08:00
vite.config.ts build(ui):调整路径别名配置。 2024-04-05 11:41: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