-
Notifications
You must be signed in to change notification settings - Fork 0
/
biome.json
34 lines (34 loc) · 979 Bytes
/
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
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"vcs": {
"clientKind": "git",
"enabled": true,
"useIgnoreFile": true,
"defaultBranch": "main"
},
"formatter": { "enabled": true, "indentStyle": "space", "indentWidth": 2 },
"organizeImports": { "enabled": true },
"linter": { "enabled": true, "rules": { "recommended": false } },
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "es5",
"semicolons": "always",
"arrowParentheses": "always",
"bracketSpacing": true,
"bracketSameLine": false
}
},
"json": { "formatter": { "trailingCommas": "none" } },
"overrides": [
{
"include": ["*.stories.@(ts|tsx)", "*.story.@(ts|tsx)"],
"linter": { "rules": { "correctness": { "useHookAtTopLevel": "off" } } }
},
{
"include": [".storybook/main.@(js|cjs|mjs|ts)"],
"linter": { "rules": {} }
}
]
}