Skip to content

Commit 7fa2384

Browse files
authored
Merge pull request #548 from SOV710/master
chore: add biome.json as an opt-in alternative to Prettier and ESLint
2 parents fa1482d + d5dcd42 commit 7fa2384

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

biome.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
3+
4+
"vcs": {
5+
"enabled": true,
6+
"clientKind": "git",
7+
"useIgnoreFile": true
8+
},
9+
10+
"files": {
11+
"ignoreUnknown": true,
12+
"includes": ["**", "!!build", "!!dist", "!!out"]
13+
},
14+
15+
"formatter": {
16+
"enabled": true,
17+
"indentStyle": "space",
18+
"indentWidth": 2,
19+
"lineEnding": "lf"
20+
},
21+
22+
"javascript": {
23+
"formatter": {
24+
"quoteStyle": "single",
25+
"jsxQuoteStyle": "double",
26+
"trailingCommas": "none",
27+
"semicolons": "always"
28+
}
29+
},
30+
31+
"linter": {
32+
"enabled": true,
33+
"rules": {
34+
"recommended": true,
35+
"suspicious": {
36+
"noConsole": "error"
37+
},
38+
"style": {
39+
"noNonNullAssertion": "off"
40+
}
41+
}
42+
},
43+
44+
"assist": {
45+
"enabled": true,
46+
"actions": {
47+
"source": {
48+
"organizeImports": "on"
49+
}
50+
}
51+
}
52+
}

0 commit comments

Comments
 (0)