Cloudreve V3 的前端
Go to file
Aaron Liu 8598a56148 chore: husky hook for eslint and prettier 2025-06-22 11:09:43 +08:00
.husky chore: husky hook for eslint and prettier 2025-06-22 11:09:43 +08:00
public Fix public\locales\en-US typo (#265) 2025-06-21 15:05:47 +08:00
src chore: format code 2025-06-22 10:57:50 +08:00
.gitignore Init V4 (#247) 2025-04-20 17:28:35 +08:00
.prettierignore chore: husky hook for eslint and prettier 2025-06-22 11:09:43 +08:00
.prettierrc chore: husky hook for eslint and prettier 2025-06-22 11:09:43 +08:00
README.md Init V4 (#247) 2025-04-20 17:28:35 +08:00
eslint.config.js chore: husky hook for eslint and prettier 2025-06-22 11:09:43 +08:00
index.html feat(ui): change loader to mui-like style, and async load js and css (#250) 2025-04-24 15:04:00 +08:00
package-lock.json Init V4 (#247) 2025-04-20 17:28:35 +08:00
package.json chore: husky hook for eslint and prettier 2025-06-22 11:09:43 +08:00
tsconfig.json Init V4 (#247) 2025-04-20 17:28:35 +08:00
tsconfig.node.json Init V4 (#247) 2025-04-20 17:28:35 +08:00
vite.config.ts feat(file apps): add excalidraw 2025-06-21 12:02:00 +08:00
yarn.lock chore: husky hook for eslint and prettier 2025-06-22 11:09:43 +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