fix(toolchain): pin eslint ^9 + typescript ^6 to unbreak dependabot-bumped stack

dependabot's eslint@^10 bump broke eslint-plugin-react 7.37.5 (peer range caps at
^9.7; eslint 10 dropped context.getFilename) -> react/display-name crash.
TS 7 in typescript-eslint peer range breaks @typescript-eslint/parser load.
Pin eslint@^9.39.5 + typescript@^6.0.3; tsparticles pinned ^3 (registry target API).
lint/typecheck/test/build/format all green.
This commit is contained in:
asepharyana
2026-09-20 20:47:11 +07:00
parent 78ed092e1c
commit d13b984ac4
3 changed files with 107 additions and 151 deletions
+99 -145
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -34,4 +34,4 @@ const eslintConfig = defineConfig([
}, },
]); ]);
export default eslintConfig; export default eslintConfig;
+7 -5
View File
@@ -34,9 +34,9 @@
"@tabler/icons-react": "^3.47.0", "@tabler/icons-react": "^3.47.0",
"@tanstack/react-query": "^5.103.1", "@tanstack/react-query": "^5.103.1",
"@tanstack/react-table": "^9.2.4", "@tanstack/react-table": "^9.2.4",
"@tsparticles/engine": "^4.4.0", "@tsparticles/engine": "^3",
"@tsparticles/react": "^4.4.0", "@tsparticles/react": "^3",
"@tsparticles/slim": "^4.4.0", "@tsparticles/slim": "^3",
"better-auth": "^1.7.5", "better-auth": "^1.7.5",
"class-variance-authority": "^0.7.1", "class-variance-authority": "^0.7.1",
"clsx": "^2.1.1", "clsx": "^2.1.1",
@@ -81,8 +81,9 @@
"@types/react": "^19", "@types/react": "^19",
"@types/react-dom": "^19", "@types/react-dom": "^19",
"@vitest/coverage-v8": "^5.0.1", "@vitest/coverage-v8": "^5.0.1",
"eslint": "^10", "eslint": "^9",
"eslint-config-next": "16.3.5", "eslint-config-next": "16.3.5",
"eslint-plugin-react": "^7.37.5",
"husky": "^9.1.7", "husky": "^9.1.7",
"jsdom": "^30.1.0", "jsdom": "^30.1.0",
"lint-staged": "^17.5.1", "lint-staged": "^17.5.1",
@@ -90,7 +91,8 @@
"prettier": "^3.9.8", "prettier": "^3.9.8",
"prettier-plugin-tailwindcss": "^0.8.1", "prettier-plugin-tailwindcss": "^0.8.1",
"tailwindcss": "^4", "tailwindcss": "^4",
"typescript": "^7", "typescript": "^6.0.3",
"typescript-eslint": "^8.70.0",
"vitest": "^5.0.1" "vitest": "^5.0.1"
}, },
"packageManager": "bun@1.3.14", "packageManager": "bun@1.3.14",