-
Notifications
You must be signed in to change notification settings - Fork 1
/
biome.json
105 lines (105 loc) · 2.69 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
"organizeImports": {
"enabled": true,
"ignore": ["coverage", "build", "dist", "node_modules", ".turbo"]
},
"files": { "maxSize": 3000000 },
"formatter": {
"enabled": true,
"lineEnding": "lf",
"indentWidth": 4,
"lineWidth": 160,
"indentStyle": "space",
"ignore": ["coverage", "build", "dist", "node_modules", ".turbo", "**/meta/*.json", "src/sdk/gen"]
},
"javascript": {
"formatter": {
"arrowParentheses": "asNeeded",
"semicolons": "always",
"quoteStyle": "single"
}
},
"json": {
"formatter": {
"indentWidth": 2
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"noSvgWithoutTitle": "off",
"useValidAnchor": "off",
"useButtonType": "off",
"useKeyWithClickEvents": "off",
"useAnchorContent": "off",
"useAltText": "off",
"useIframeTitle": "off",
"useGenericFontNames": "off",
"noLabelWithoutControl": "off"
},
"style": {
"noNonNullAssertion": "off",
"noParameterAssign": "off",
"noUnusedTemplateLiteral": "off",
"useDefaultParameterLast": "off",
"useShorthandFunctionType": "off",
"useImportType": "off"
},
"correctness": {
"useExhaustiveDependencies": "off",
"noUnusedImports": "error",
"noUnknownMediaFeatureName": "off",
"noUnknownProperty": "off",
"noUnknownFunction": "off"
},
"suspicious": {
"noThenProperty": "off",
"noExplicitAny": "off",
"noExtraNonNullAssertion": "off",
"noConfusingVoidType": "off",
"noImplicitAnyLet": "off",
"noShadowRestrictedNames": "off",
"noEmptyInterface": "off",
"noArrayIndexKey": "off",
"noExportsInTest": "off"
},
"complexity": {
"useLiteralKeys": "off",
"noUselessConstructor": "off",
"noForEach": "off",
"noBannedTypes": "off",
"noStaticOnlyClass": "off",
"useOptionalChain": "off"
},
"performance": {
"noAccumulatingSpread": "off",
"noDelete": "off"
}
},
"ignore": ["coverage", "build", "dist", "node_modules", ".turbo", "*.config.*", "*.json", "*.d.ts"]
},
"overrides": [
{
"include": ["**/*.vue"],
"organizeImports": {
"enabled": true
},
"formatter": {
"indentWidth": 4
},
"linter": {
"rules": {
"style": {
"useImportType": "off"
},
"correctness": {
"noUnusedImports": "off"
}
}
}
}
]
}