chore(lint): remove ESLint configuration file and update lint scripts

- Deleted the .eslintrc.cjs file to simplify configuration management.
- Updated lint scripts in package.json to remove unnecessary extensions for linting.
- Added new devDependencies for ESLint and globals to enhance linting capabilities.
This commit is contained in:
Haze
2026-02-06 05:50:20 +08:00
Unverified
parent 4e1f79922b
commit 9fe27e3510
23 changed files with 90 additions and 45 deletions

View File

@@ -19,8 +19,8 @@
"build:vite": "vite build",
"build:electron": "tsc -p tsconfig.node.json",
"preview": "vite preview",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint . --ext ts,tsx --fix",
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint . --fix",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
@@ -53,6 +53,7 @@
"ws": "^8.18.0"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@playwright/test": "^1.49.1",
"@radix-ui/react-dialog": "^1.1.4",
"@radix-ui/react-dropdown-menu": "^2.1.4",
@@ -83,6 +84,7 @@
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.16",
"framer-motion": "^11.15.0",
"globals": "^17.3.0",
"jsdom": "^25.0.1",
"lucide-react": "^0.469.0",
"postcss": "^8.4.49",