chore: migrate from ESLint/Prettier to Biome
- Add biome.json with recommended preset + custom rules - Remove eslint.config.mjs (root, apps/react, apps/elysia) - Remove .prettierrc and .prettierignore - Update package.json: remove eslint/prettier deps, add biome scripts - Update Makefile: lint/format targets to biome - Update CI (lint.yml): eslint -> biome ci - Update VSCode config: biomejs.biome extension + default formatter - Apply biome format --write to all files - Update submodule pointers for react and elysia Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
e71f1261f6
commit
76ccc5ffe9
@@ -6,17 +6,16 @@ on:
|
||||
paths:
|
||||
- 'apps/*/src/**/*.ts'
|
||||
- 'apps/*/src/**/*.tsx'
|
||||
- 'apps/*/eslint.config.mjs'
|
||||
- 'eslint.config.mjs'
|
||||
- 'biome.json'
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'apps/*/src/**/*.ts'
|
||||
- 'apps/*/src/**/*.tsx'
|
||||
- 'eslint.config.mjs'
|
||||
- 'biome.json'
|
||||
|
||||
jobs:
|
||||
eslint:
|
||||
biome:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
@@ -26,5 +25,5 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
- run: npm install -g eslint @antfu/eslint-config
|
||||
- run: eslint . --no-error-on-unmatched-pattern
|
||||
- run: npm install -g @biomejs/biome
|
||||
- run: biome ci . --no-errors-on-unmatched
|
||||
|
||||
Reference in New Issue
Block a user