Skip to content

Commit 7bb7789

Browse files
authored
chore: migrate to biome (#43)
* chore: migrate to biome * chore: change step order * feat: use check * fix: add script
1 parent 99ba1d0 commit 7bb7789

File tree

323 files changed

+489
-3660
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

323 files changed

+489
-3660
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ root = true
44
end_of_line = lf
55
insert_final_newline = true
66

7-
[*.{js,json,yml}]
7+
[*.{js,ts,json,yml}]
88
charset = utf-8
99
indent_style = space
1010
indent_size = 2

.eslintrc.js

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

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
yarn install --immutable
2828
shell: bash
2929

30+
- name: Check Biome
31+
run: |
32+
yarn check
33+
shell: bash
34+
3035
- name: Build
3136
run: |
3237
yarn build
@@ -35,7 +40,7 @@ jobs:
3540
- name: Typecheck
3641
run: |
3742
yarn typecheck
38-
shell: bash
43+
shell: bash
3944

4045
- name: Test
4146
run: |

.vscode/extensions.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
{
2-
"recommendations": [
3-
"arcanis.vscode-zipfs",
4-
"dbaeumer.vscode-eslint",
5-
"esbenp.prettier-vscode"
6-
]
2+
"recommendations": ["arcanis.vscode-zipfs", "biomejs.biome"]
73
}

.vscode/settings.json

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,12 @@
33
"**/.yarn": true,
44
"**/.pnp.*": true
55
},
6-
"eslint.nodePath": ".yarn/sdks",
76
"typescript.tsdk": ".yarn/sdks/typescript/lib",
87
"typescript.enablePromptUseWorkspaceTsdk": true,
9-
"editor.codeActionsOnSave": {
10-
"source.fixAll.eslint": "explicit"
11-
},
8+
"editor.defaultFormatter": "biomejs.biome",
129
"editor.formatOnSave": true,
13-
"eslint.validate": [
14-
"javascript",
15-
"javascriptreact",
16-
"typescript",
17-
"typescriptreact",
18-
"json"
19-
],
20-
"prettier.prettierPath": ".yarn/sdks/prettier/index.js"
10+
"editor.codeActionsOnSave": {
11+
"source.fixAll": "always",
12+
"source.organizeImports.biome": "explicit"
13+
}
2114
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
-245 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)