Skip to content

Commit 0bb0622

Browse files
committed
chore: update dependencies & replace eslint by Biome
1 parent bda80d2 commit 0bb0622

19 files changed

Lines changed: 6590 additions & 7065 deletions

.eslintignore

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

.eslintrc.js

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

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
# So it cand find NPM installed by homebrew
52
PATH="/usr/local/bin/:$PATH"
63

.husky/pre-push

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
# So it cand find NPM installed by homebrew
52
PATH="/usr/local/bin/:$PATH"
63

biome.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"useIgnoreFile": true
7+
},
8+
"files": {
9+
"includes": ["**", "!!**/coverage", "!!**/test_integration", "!!**/node_modules"]
10+
},
11+
"formatter": {
12+
"indentWidth": 2,
13+
"lineWidth": 100
14+
},
15+
"linter": {
16+
"enabled": true,
17+
"rules": {
18+
"recommended": true,
19+
"style": {
20+
"useNodejsImportProtocol": "off"
21+
},
22+
"suspicious": {
23+
"noEmptyBlockStatements": "off",
24+
"noAssignInExpressions": "off"
25+
}
26+
}
27+
},
28+
"javascript": {
29+
"formatter": {
30+
"quoteStyle": "single",
31+
"trailingCommas": "all",
32+
"semicolons": "always",
33+
"arrowParentheses": "always"
34+
},
35+
"globals": [
36+
"jest",
37+
"describe",
38+
"it",
39+
"expect",
40+
"beforeEach",
41+
"afterEach",
42+
"beforeAll",
43+
"afterAll",
44+
"test"
45+
]
46+
}
47+
}

0 commit comments

Comments
 (0)