-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbiome.jsonc
36 lines (36 loc) · 984 Bytes
/
biome.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"organizeImports": {
"enabled": true
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
"defaultBranch": "master"
},
"files": {
"include": ["*.js", "*.ts", "*.json", "*.jsonc"],
"ignore": ["src/fixtures/elm-*", "package-lock.json"]
},
"formatter": {
"enabled": true,
"indentWidth": 2,
"indentStyle": "space",
"lineWidth": 140
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noForEach": "off", // I like function-chaining style better
"useLiteralKeys": "off" // I don't want to apply different styles to kebab-cased keys
},
"style": {
"noUselessElse": "off", // Explicit else is better; shorter indentation means little
"useDefaultParameterLast": "off" // Could be useful but hesitant to upgrade existing code
}
}
}
}