-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbiome.json
38 lines (38 loc) · 1.21 KB
/
biome.json
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
{
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false },
"files": {
"ignoreUnknown": false,
"ignore": ["node_modules", ".next", ".vercel", ".wrangler", "public/"]
},
"formatter": { "enabled": true, "indentStyle": "space" },
"organizeImports": { "enabled": true },
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"noAriaUnsupportedElements": "warn",
"noBlankTarget": "off",
"useAltText": "warn",
"useAriaPropsForRole": "warn",
"useValidAriaProps": "warn",
"useValidAriaValues": "warn",
"noSvgWithoutTitle": "off"
},
"correctness": {
"noChildrenProp": "error",
"useExhaustiveDependencies": "warn",
"useHookAtTopLevel": "error",
"useJsxKeyInIterable": "error"
},
"security": {
"noDangerouslySetInnerHtmlWithChildren": "error",
"noDangerouslySetInnerHtml": "warn"
},
"suspicious": { "noCommentText": "error", "noDuplicateJsxProps": "error" }
}
},
"javascript": { "formatter": { "quoteStyle": "double" } },
"overrides": [{ "include": ["**/*.ts?(x)"] }]
}