Skip to content

Commit d7bbb10

Browse files
committed
chore(cleanup): remove ESLint/Prettier remnants after Biome migration
Delete legacy ESLint/Prettier configs, uninstall 25 unused devDependencies (including `globals`), strip `eslint-disable` directives, drop the dead `eslint.useFlatConfig` VSCode setting, refresh the pre-commit hook comment, and rewrite the Code Quality section in CLAUDE.md to describe Biome.
1 parent 22326f1 commit d7bbb10

12 files changed

Lines changed: 3294 additions & 9260 deletions

.eslintignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# Disable concurent to run build-types after ESLint in lint-staged
1+
# Disable concurrent to run type-check after Biome in lint-staged
22
npx lint-staged --concurrent false

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierrc.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
},
2929
"css.validate": false,
3030
"scss.validate": false,
31-
"eslint.useFlatConfig": true,
3231
"workbench.editor.customLabels.patterns": {
3332
"**/app/**/page.tsx": "${dirname} - Page",
3433
"**/app/**/layout.tsx": "${dirname} - Layout",

CLAUDE.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,12 @@ npm run prepare # Setup husky git hooks
7676

7777
## Code Quality
7878

79-
- **ESLint Config**: Modern flat config format (`eslint.config.mjs`) with comprehensive rule set:
80-
- Airbnb TypeScript base configuration
81-
- React, React Hooks, and JSX a11y rules
82-
- TypeScript strict rules (no explicit any, consistent type imports)
83-
- Import organization and unused import removal
84-
- Testing-specific rules for Vitest
85-
- TSDoc documentation validation
86-
- **Git Hooks**: Husky with commitlint for conventional commits
87-
- **Prettier**: Integrated with ESLint for consistent code formatting
88-
- **Testing Standards**:
79+
- **Biome Config**: `biome.jsonc` (v2.4.13) unifies linter and formatter in a single tool:
80+
- Recommended linter rules with project-specific overrides
81+
- Import organization via Biome's assist actions
82+
- Formatter replacing Prettier (2-space indent, single quotes, trailing commas)
83+
- **Git Hooks**: Husky runs `lint-staged` (Biome + type-check + secretlint) on pre-commit; commitlint on commit-msg
84+
- **Testing Standards**:
8985
- Use `test` not `it` for test naming
9086
- Require top-level describe blocks (max 2)
9187
- Comprehensive test coverage for all code paths

eslint.config.mjs

Lines changed: 0 additions & 188 deletions
This file was deleted.

0 commit comments

Comments
 (0)