diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-13 23:05:37 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-13 23:07:26 +0900 |
| commit | 6c30f383a65cb000d66a85cadc96253ce7061942 (patch) | |
| tree | 60ffe938a4051255ea0d6b35001be50c28b76497 /frontend/eslint.config.js | |
| parent | 373dbf12f6797497656565e9baa7ac69e1f005f5 (diff) | |
| download | phperkaigi-2026-albatross-6c30f383a65cb000d66a85cadc96253ce7061942.tar.gz phperkaigi-2026-albatross-6c30f383a65cb000d66a85cadc96253ce7061942.tar.zst phperkaigi-2026-albatross-6c30f383a65cb000d66a85cadc96253ce7061942.zip | |
refactor(frontend): remove React Router remnants from config files
Clean up old React Router references after migration to Vite + Wouter:
- Replace build/ and .react-router/ with dist/ in ESLint globalIgnores
- Replace ./build with ./dist in Biome ignore list
- Remove formComponents and NavLink from ESLint settings
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'frontend/eslint.config.js')
| -rw-r--r-- | frontend/eslint.config.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js index 538fb12..0fe10e9 100644 --- a/frontend/eslint.config.js +++ b/frontend/eslint.config.js @@ -7,7 +7,7 @@ import globals from "globals"; import ts from "typescript-eslint"; export default defineConfig( - globalIgnores(["node_modules/", ".react-router/", "build/"]), + globalIgnores(["node_modules/", "dist/"]), js.configs.recommended, ts.configs.recommended, react.configs.flat.recommended, @@ -27,11 +27,7 @@ export default defineConfig( react: { version: "detect", }, - formComponents: ["Form"], - linkComponents: [ - { name: "Link", linkAttribute: "to" }, - { name: "NavLink", linkAttribute: "to" }, - ], + linkComponents: [{ name: "Link", linkAttribute: "to" }], }, }, ); |
