Skip to content

Commit

Permalink
chore: switch from eslint/prettier to biome (#802)
Browse files Browse the repository at this point in the history
* ci: add github action

fix: linting

* chore: switch to biome for linting and fix errors and ignore some for now

* revert: linting fixes to make tests run

* chore(home): linting

* chore(home): receive-modal linting

* chore(home): qr-code linting

* style: format

* test: linting

* style: format

* test: sort imports

* test: sort imports but make sure test does not break

* style: linting via biome

* style: use space for indents

* fix(home): re-add missing space
  • Loading branch information
escapedcat authored Dec 25, 2024
1 parent 9bc7f33 commit b343062
Show file tree
Hide file tree
Showing 120 changed files with 1,115 additions and 1,545 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ jobs:
run: npm run test
- name: Run Typecheck
run: npm run tsc
- name: Run Linting and formatting
run: npm run lint
8 changes: 0 additions & 8 deletions .prettierignore

This file was deleted.

3 changes: 1 addition & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"recommendations": [
"ecmel.vscode-html-css",
"bradlc.vscode-tailwindcss",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint"
"biomejs.biome"
]
}
30 changes: 30 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false,
"ignore": ["backend-mock"]
},
"formatter": {
"enabled": true,
"indentStyle": "space"
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
}
}
22 changes: 0 additions & 22 deletions eslint.config.js

This file was deleted.

Loading

0 comments on commit b343062

Please sign in to comment.