Skip to content

Commit ccbdafa

Browse files
authored
chore: migrate to biomejs (#1167)
* chore: migrate to biomejs * chore: migrate to biomejs * chore: migrate from jest to vitest * chore: error on lint warnings * chore: remove obsolete depedencies
1 parent d90c1f8 commit ccbdafa

17 files changed

+5307
-9324
lines changed

Diff for: .eslintignore

-2
This file was deleted.

Diff for: .eslintrc.yml

-168
This file was deleted.

Diff for: .prettierrc.json

-8
This file was deleted.

Diff for: __mocks__/fs.cjs

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
const { fs } = require('memfs')
2+
module.exports = fs

Diff for: biome.jsonc

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"formatter": {
3+
"indentStyle": "space",
4+
"lineWidth": 120,
5+
"indentWidth": 2,
6+
"lineEnding": "lf",
7+
"enabled": true,
8+
},
9+
"linter": {
10+
"enabled": true,
11+
"rules": {
12+
"performance": {
13+
"noDelete": "off",
14+
},
15+
"complexity": {
16+
"noExtraBooleanCast": "off",
17+
}
18+
},
19+
},
20+
"javascript": {
21+
"formatter": {
22+
"trailingCommas": "all",
23+
"jsxQuoteStyle": "double",
24+
"quoteStyle": "single",
25+
"bracketSpacing": true,
26+
"arrowParentheses": "always",
27+
},
28+
},
29+
"json": {
30+
"formatter": {
31+
"trailingCommas": "all",
32+
},
33+
},
34+
}

0 commit comments

Comments
 (0)