-
Notifications
You must be signed in to change notification settings - Fork 0
/
biome.json
171 lines (171 loc) · 5.16 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
"defaultBranch": "main"
},
"organizeImports": {
"enabled": true
},
"files": {
"include": ["./packages/**/*", "./docs/**/*", "./testing/**/*", "./*.ts"],
"ignore": ["./**/react-fast-compare.ts", "hooks.json", "./**/.next", "./coverage", "./cypress"],
"ignoreUnknown": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noInferrableTypes": "off"
},
"correctness": {
"useExhaustiveDependencies": {
"level": "warn",
"options": {
"hooks": [
{ "name": "useSafeState", "stableResult": [1] },
{ "name": "useSetState", "stableResult": [1] },
{ "name": "useSignalState", "stableResult": [1] },
{ "name": "useCounter", "stableResult": [1] },
{ "name": "useCssVar", "stableResult": [1] },
{ "name": "useToggle", "stableResult": [1] },
{ "name": "useTextDirection", "stableResult": [1] },
{ "name": "usePausable", "stableResult": true },
{ "name": "useStableFn", "stableResult": true },
{ "name": "useLatest", "stableResult": true },
{ "name": "useIntervalFn", "stableResult": true },
{ "name": "useRetryFn", "stableResult": true },
{ "name": "useRafLoop", "stableResult": true },
{ "name": "useAsyncLock", "stableResult": true },
{
"name": "useAsyncEffect",
"closureIndex": 0,
"dependenciesIndex": 1,
"stableResult": true
},
{
"name": "useAsyncUpdateEffect",
"closureIndex": 0,
"dependenciesIndex": 1,
"stableResult": true
},
{
"name": "useDebouncedEffect",
"closureIndex": 0,
"dependenciesIndex": 1,
"stableResult": true
},
{
"name": "useDeepCompareEffect",
"closureIndex": 0,
"dependenciesIndex": 1,
"stableResult": true
},
{
"name": "useDeepCompareLayoutEffect",
"closureIndex": 0,
"dependenciesIndex": 1,
"stableResult": true
},
{
"name": "useEffectOnce",
"closureIndex": 0,
"stableResult": true
},
{
"name": "useIsomorphicLayoutEffect",
"closureIndex": 0,
"dependenciesIndex": 1,
"stableResult": true
},
{
"name": "useLayoutEffectOnce",
"closureIndex": 0,
"stableResult": true
},
{
"name": "usePausableEffect",
"closureIndex": 0,
"dependenciesIndex": 1,
"stableResult": true
},
{
"name": "usePausableLayoutEffect",
"closureIndex": 0,
"dependenciesIndex": 1,
"stableResult": true
},
{
"name": "usePausableUpdateDeepCompareEffect",
"closureIndex": 0,
"dependenciesIndex": 1,
"stableResult": true
},
{
"name": "usePausableUpdateEffect",
"closureIndex": 0,
"dependenciesIndex": 1,
"stableResult": true
},
{
"name": "useThrottledEffect",
"closureIndex": 0,
"dependenciesIndex": 1,
"stableResult": true
},
{
"name": "useTrackedEffect",
"closureIndex": 0,
"dependenciesIndex": 1,
"stableResult": true
},
{
"name": "useUpdateDeepCompareEffect",
"closureIndex": 0,
"dependenciesIndex": 1,
"stableResult": true
},
{
"name": "useUpdateEffect",
"closureIndex": 0,
"dependenciesIndex": 1,
"stableResult": true
},
{
"name": "useUpdateLayoutEffect",
"closureIndex": 0,
"dependenciesIndex": 1,
"stableResult": true
}
]
}
}
},
"suspicious": {
"noExplicitAny": "off"
},
"a11y": {
"useKeyWithClickEvents": "off",
"useKeyWithMouseEvents": "off"
}
}
},
"formatter": {
"indentStyle": "space",
"lineWidth": 120
},
"javascript": {
"formatter": {
"semicolons": "asNeeded",
"quoteStyle": "single"
}
},
"css": {
"formatter": {
"quoteStyle": "single"
}
}
}