Skip to content

Commit fe3969e

Browse files
Zsbyqx20claude
andcommitted
build(lint): scope ESLint checks to src directory and update dependencies
Update ESLint scripts to only check the src folder instead of the entire project, improving linting performance and focusing on source code quality. This change affects both the lint and lint:fix npm scripts. Additionally, update several development dependencies to their latest versions: - @eslint/compat upgraded to v2.0.0 (major version with updated Node.js requirements) - @typescript-eslint/parser updated to v8.47.0 - @types/react updated to v19.2.5 - react-router-dom updated to v7.9.6 - js-yaml updated to v4.1.1 The ESLint scope change prevents unnecessary linting of configuration files and build artifacts, while the dependency updates bring bug fixes and improvements. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 93f930d commit fe3969e

2 files changed

Lines changed: 179 additions & 35 deletions

File tree

package-lock.json

Lines changed: 173 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"scripts": {
88
"dev": "vite",
99
"build": "tsc && vite build",
10-
"lint": "npx eslint .",
11-
"lint:fix": "npx eslint . --fix",
10+
"lint": "npx eslint src",
11+
"lint:fix": "npx eslint src --fix",
1212
"format": "npx prettier --write .",
1313
"format:check": "npx prettier --check .",
1414
"precommit": "npm run format && npm run lint:fix && npm run lint && npm run build",
@@ -18,17 +18,17 @@
1818
"dependencies": {
1919
"react": "^19.2.0",
2020
"react-dom": "^19.2.0",
21-
"react-router-dom": "^7.9.5"
21+
"react-router-dom": "^7.9.6"
2222
},
2323
"devDependencies": {
24-
"@eslint/compat": "^1.4.1",
24+
"@eslint/compat": "^2.0.0",
2525
"@eslint/eslintrc": "^3.3.1",
2626
"@eslint/js": "^9.39.1",
2727
"@tailwindcss/postcss": "^4.1.17",
28-
"@types/react": "^19.2.4",
28+
"@types/react": "^19.2.5",
2929
"@types/react-dom": "^19.2.3",
3030
"@typescript-eslint/eslint-plugin": "^8.46.4",
31-
"@typescript-eslint/parser": "^8.46.4",
31+
"@typescript-eslint/parser": "^8.47.0",
3232
"@vitejs/plugin-react": "^5.1.1",
3333
"eslint": "^9.39.1",
3434
"eslint-config-prettier": "^10.1.8",

0 commit comments

Comments
 (0)