Skip to content

Commit

Permalink
chore: replace eslint and prettier with biome
Browse files Browse the repository at this point in the history
  • Loading branch information
petyosi committed Nov 30, 2024
1 parent 01ec829 commit 64536ab
Show file tree
Hide file tree
Showing 19 changed files with 1,071 additions and 2,491 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ jobs:
- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Lint
run: |
npm run ci-lint
- name: Test
run: |
npm run typecheck
npm run lint
npm run test
- name: Build
Expand Down
34 changes: 34 additions & 0 deletions biome.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"include": ["src/**/*.ts", "src/**/*.tsx", "vite.config.ts", "vitest.workspace.ts"],
"ignoreUnknown": false,
"ignore": []
},
"formatter": {
"lineWidth": 140,
"enabled": true,
"indentStyle": "space"
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"semicolons": "asNeeded",
"trailingCommas": "es5"
}
}
}
71 changes: 0 additions & 71 deletions eslint.config.js

This file was deleted.

Loading

0 comments on commit 64536ab

Please sign in to comment.