-
Notifications
You must be signed in to change notification settings - Fork 0
/
biome.jsonc
45 lines (45 loc) · 1.15 KB
/
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
37
38
39
40
41
42
43
44
45
{
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
"css": {
"formatter": {
"enabled": true,
"indentStyle": "space",
"quoteStyle": "single"
},
"linter": { "enabled": true }
},
"files": { "ignore": ["webroot/index.js"], "maxSize": 2400000 },
"formatter": { "indentStyle": "space" },
"javascript": {
"formatter": {
"arrowParentheses": "asNeeded",
"bracketSpacing": false,
"indentStyle": "space",
"jsxQuoteStyle": "single",
"quoteStyle": "single",
"semicolons": "asNeeded",
"trailingCommas": "none"
}
},
"json": {
"formatter": { "indentStyle": "space" },
"parser": { "allowComments": true }
},
"linter": {
"rules": {
"a11y": {
// devvit buttons do not have a type prop.
"useButtonType": "off"
},
"complexity": { "noThisInStatic": "off" },
"style": {
"noInferrableTypes": "off",
"noNonNullAssertion": "off",
"noParameterAssign": "off",
"useNumberNamespace": "off"
},
"suspicious": { "noImplicitAnyLet": "off" }
}
},
"vcs": { "enabled": true, "clientKind": "git" }
}