-
Notifications
You must be signed in to change notification settings - Fork 50
/
biome.json
107 lines (107 loc) · 2.77 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
106
107
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"organizeImports": {
"enabled": false
},
"formatter": {
"enabled": true,
"ignore": [
"lib",
"dist",
"**/code_mod/**",
"**/node_modules/**",
"semcore/icon/**/**/*.js",
"semcore/icon/**/**/*.d.ts",
"semcore/illustration/**/*.js",
"semcore/illustration/**/*.d.ts",
"**/__fixtures__/**",
".tmp",
"**/*.mjs",
"mailer",
"./tools/icon-transform-svg/__tests__",
"**/lcov-report/**",
"website/ts.json",
"website/docs/.vitepress/dist",
"website/docs/.vitepress/cache",
"./tools/entry-point/**/*.js",
"./tools/entry-point/**/*.mjs",
"./tools/entry-point/**/*.d.ts",
"./tools/intg-release-migrator/tools/*.js"
],
"lineWidth": 100,
"indentStyle": "space"
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingComma": "all",
"jsxQuoteStyle": "single"
}
},
"linter": {
"enabled": true,
"ignore": [
"lib",
"dist",
"**/code_mod/**",
"**/node_modules/**",
"semcore/icon/**/**/*.js",
"semcore/icon/**/**/*.d.ts",
"semcore/illustration/**/*.js",
"semcore/illustration/**/*.d.ts",
"**/__fixtures__/**",
".tmp",
"**/*.mjs",
"mailer",
"./tools/icon-transform-svg/__tests__",
"**/lcov-report/**",
"website/ts.json",
"website/docs/.vitepress/dist",
"website/docs/.vitepress/cache",
"./tools/playground/examples/**",
"./tools/entry-point/**/*.js",
"./tools/entry-point/**/*.mjs",
"./tools/entry-point/**/*.d.ts",
"./tools/intg-release-migrator/tools/*.js"
],
"rules": {
"suspicious": {
"noEmptyInterface": "off",
"noExplicitAny": "off",
"noPrototypeBuiltins": "off",
"noRedeclare": "off",
"noShadowRestrictedNames": "off",
"noArrayIndexKey": "off",
"noConsoleLog": "error"
},
"style": {
"noParameterAssign": "off",
"noNonNullAssertion": "off",
"useTemplate": "off",
"useExponentiationOperator": "off"
},
"correctness": {
"noChildrenProp": "off",
"noUnreachableSuper": "off",
"noConstructorReturn": "off"
},
"a11y": {
"useAnchorContent": "off",
"noSvgWithoutTitle": "off",
"noNoninteractiveTabindex": "off"
},
"complexity": {
"useFlatMap": "off",
"useLiteralKeys": "off",
"noBannedTypes": "off",
"noUselessThisAlias": "off",
"noStaticOnlyClass": "off",
"noUselessFragments": "off",
"noForEach": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
}
}
}
}