@dvashim/biome-config 1.5.9 → 1.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{biome.react-balanced.jsonc → biome.react-balanced.json} +0 -17
- package/dist/{biome.recommended.jsonc → biome.react-recommended.json} +7 -8
- package/dist/{biome.react-strict.jsonc → biome.react-strict.json} +0 -17
- package/dist/{biome.react-recommended.jsonc → biome.recommended.json} +0 -16
- package/package.json +15 -9
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
|
|
3
3
|
|
|
4
|
-
// MARK: assist
|
|
5
4
|
"assist": {
|
|
6
5
|
"actions": {
|
|
7
6
|
"recommended": true,
|
|
@@ -11,12 +10,10 @@
|
|
|
11
10
|
}
|
|
12
11
|
},
|
|
13
12
|
|
|
14
|
-
// MARK: files
|
|
15
13
|
"files": {
|
|
16
14
|
"includes": ["**", "!!**/dist"]
|
|
17
15
|
},
|
|
18
16
|
|
|
19
|
-
// MARK: formatter
|
|
20
17
|
"formatter": {
|
|
21
18
|
"attributePosition": "auto",
|
|
22
19
|
"bracketSameLine": false,
|
|
@@ -30,12 +27,10 @@
|
|
|
30
27
|
"useEditorconfig": true
|
|
31
28
|
},
|
|
32
29
|
|
|
33
|
-
// MARK: html
|
|
34
30
|
"html": {
|
|
35
31
|
"experimentalFullSupportEnabled": true
|
|
36
32
|
},
|
|
37
33
|
|
|
38
|
-
// MARK: javascript
|
|
39
34
|
"javascript": {
|
|
40
35
|
"experimentalEmbeddedSnippetsEnabled": true,
|
|
41
36
|
"globals": [],
|
|
@@ -56,7 +51,6 @@
|
|
|
56
51
|
}
|
|
57
52
|
},
|
|
58
53
|
|
|
59
|
-
// MARK: json
|
|
60
54
|
"json": {
|
|
61
55
|
"parser": {
|
|
62
56
|
"allowComments": true,
|
|
@@ -64,10 +58,8 @@
|
|
|
64
58
|
}
|
|
65
59
|
},
|
|
66
60
|
|
|
67
|
-
// MARK: linter
|
|
68
61
|
"linter": {
|
|
69
62
|
"rules": {
|
|
70
|
-
// MARK: a11y
|
|
71
63
|
"a11y": {
|
|
72
64
|
"noNoninteractiveElementToInteractiveRole": "off",
|
|
73
65
|
"noStaticElementInteractions": "off",
|
|
@@ -76,7 +68,6 @@
|
|
|
76
68
|
"useKeyWithClickEvents": "off",
|
|
77
69
|
"useSemanticElements": "off"
|
|
78
70
|
},
|
|
79
|
-
// MARK: complexity
|
|
80
71
|
"complexity": {
|
|
81
72
|
"noExcessiveCognitiveComplexity": "warn",
|
|
82
73
|
"noExcessiveNestedTestSuites": "warn",
|
|
@@ -96,7 +87,6 @@
|
|
|
96
87
|
}
|
|
97
88
|
}
|
|
98
89
|
},
|
|
99
|
-
// MARK: correctness
|
|
100
90
|
"correctness": {
|
|
101
91
|
"noGlobalDirnameFilename": "warn",
|
|
102
92
|
"noNestedComponentDefinitions": "warn",
|
|
@@ -111,7 +101,6 @@
|
|
|
111
101
|
"useSingleJsDocAsterisk": "warn",
|
|
112
102
|
"useUniqueElementIds": "warn"
|
|
113
103
|
},
|
|
114
|
-
// MARK: nursery
|
|
115
104
|
"nursery": {
|
|
116
105
|
"noAmbiguousAnchorText": "warn",
|
|
117
106
|
"noConditionalExpect": "warn",
|
|
@@ -192,7 +181,6 @@
|
|
|
192
181
|
}
|
|
193
182
|
}
|
|
194
183
|
},
|
|
195
|
-
// MARK: performance
|
|
196
184
|
"performance": {
|
|
197
185
|
"noAwaitInLoops": "warn",
|
|
198
186
|
"noBarrelFile": "off",
|
|
@@ -201,11 +189,9 @@
|
|
|
201
189
|
"noReExportAll": "off",
|
|
202
190
|
"useTopLevelRegex": "warn"
|
|
203
191
|
},
|
|
204
|
-
// MARK: security
|
|
205
192
|
"security": {
|
|
206
193
|
"noSecrets": "warn"
|
|
207
194
|
},
|
|
208
|
-
// MARK: style
|
|
209
195
|
"style": {
|
|
210
196
|
"noCommonJs": "warn",
|
|
211
197
|
"noDefaultExport": "off",
|
|
@@ -280,7 +266,6 @@
|
|
|
280
266
|
}
|
|
281
267
|
}
|
|
282
268
|
},
|
|
283
|
-
// MARK: suspicious
|
|
284
269
|
"suspicious": {
|
|
285
270
|
"noAlert": "warn",
|
|
286
271
|
"noBitwiseOperators": "warn",
|
|
@@ -308,7 +293,6 @@
|
|
|
308
293
|
}
|
|
309
294
|
},
|
|
310
295
|
|
|
311
|
-
// MARK: overrides
|
|
312
296
|
"overrides": [
|
|
313
297
|
{
|
|
314
298
|
"includes": ["package.json"],
|
|
@@ -327,7 +311,6 @@
|
|
|
327
311
|
}
|
|
328
312
|
],
|
|
329
313
|
|
|
330
|
-
// MARK: vcs
|
|
331
314
|
"vcs": {
|
|
332
315
|
"clientKind": "git",
|
|
333
316
|
"defaultBranch": "main",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
|
|
3
3
|
|
|
4
|
-
// MARK: assist
|
|
5
4
|
"assist": {
|
|
6
5
|
"actions": {
|
|
7
6
|
"recommended": true,
|
|
@@ -11,7 +10,10 @@
|
|
|
11
10
|
}
|
|
12
11
|
},
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
"files": {
|
|
14
|
+
"includes": ["**", "!!**/dist"]
|
|
15
|
+
},
|
|
16
|
+
|
|
15
17
|
"formatter": {
|
|
16
18
|
"attributePosition": "auto",
|
|
17
19
|
"bracketSameLine": false,
|
|
@@ -25,12 +27,10 @@
|
|
|
25
27
|
"useEditorconfig": true
|
|
26
28
|
},
|
|
27
29
|
|
|
28
|
-
// MARK: html
|
|
29
30
|
"html": {
|
|
30
31
|
"experimentalFullSupportEnabled": true
|
|
31
32
|
},
|
|
32
33
|
|
|
33
|
-
// MARK: javascript
|
|
34
34
|
"javascript": {
|
|
35
35
|
"experimentalEmbeddedSnippetsEnabled": true,
|
|
36
36
|
"globals": [],
|
|
@@ -51,7 +51,6 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
|
|
54
|
-
// MARK: json
|
|
55
54
|
"json": {
|
|
56
55
|
"parser": {
|
|
57
56
|
"allowComments": true,
|
|
@@ -59,14 +58,15 @@
|
|
|
59
58
|
}
|
|
60
59
|
},
|
|
61
60
|
|
|
62
|
-
// MARK: linter
|
|
63
61
|
"linter": {
|
|
62
|
+
"domains": {
|
|
63
|
+
"react": "recommended"
|
|
64
|
+
},
|
|
64
65
|
"rules": {
|
|
65
66
|
"recommended": true
|
|
66
67
|
}
|
|
67
68
|
},
|
|
68
69
|
|
|
69
|
-
// MARK: overrides
|
|
70
70
|
"overrides": [
|
|
71
71
|
{
|
|
72
72
|
"includes": ["package.json"],
|
|
@@ -85,7 +85,6 @@
|
|
|
85
85
|
}
|
|
86
86
|
],
|
|
87
87
|
|
|
88
|
-
// MARK: vcs
|
|
89
88
|
"vcs": {
|
|
90
89
|
"clientKind": "git",
|
|
91
90
|
"defaultBranch": "main",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
|
|
3
3
|
|
|
4
|
-
// MARK: assist
|
|
5
4
|
"assist": {
|
|
6
5
|
"actions": {
|
|
7
6
|
"recommended": true,
|
|
@@ -11,12 +10,10 @@
|
|
|
11
10
|
}
|
|
12
11
|
},
|
|
13
12
|
|
|
14
|
-
// MARK: files
|
|
15
13
|
"files": {
|
|
16
14
|
"includes": ["**", "!!**/dist"]
|
|
17
15
|
},
|
|
18
16
|
|
|
19
|
-
// MARK: formatter
|
|
20
17
|
"formatter": {
|
|
21
18
|
"attributePosition": "auto",
|
|
22
19
|
"bracketSameLine": false,
|
|
@@ -30,12 +27,10 @@
|
|
|
30
27
|
"useEditorconfig": true
|
|
31
28
|
},
|
|
32
29
|
|
|
33
|
-
// MARK: html
|
|
34
30
|
"html": {
|
|
35
31
|
"experimentalFullSupportEnabled": true
|
|
36
32
|
},
|
|
37
33
|
|
|
38
|
-
// MARK: javascript
|
|
39
34
|
"javascript": {
|
|
40
35
|
"experimentalEmbeddedSnippetsEnabled": true,
|
|
41
36
|
"globals": [],
|
|
@@ -56,7 +51,6 @@
|
|
|
56
51
|
}
|
|
57
52
|
},
|
|
58
53
|
|
|
59
|
-
// MARK: json
|
|
60
54
|
"json": {
|
|
61
55
|
"parser": {
|
|
62
56
|
"allowComments": true,
|
|
@@ -64,10 +58,8 @@
|
|
|
64
58
|
}
|
|
65
59
|
},
|
|
66
60
|
|
|
67
|
-
// MARK: linter
|
|
68
61
|
"linter": {
|
|
69
62
|
"rules": {
|
|
70
|
-
// MARK: a11y
|
|
71
63
|
"a11y": {
|
|
72
64
|
"noNoninteractiveElementToInteractiveRole": "off",
|
|
73
65
|
"noStaticElementInteractions": "off",
|
|
@@ -76,7 +68,6 @@
|
|
|
76
68
|
"useKeyWithClickEvents": "off",
|
|
77
69
|
"useSemanticElements": "off"
|
|
78
70
|
},
|
|
79
|
-
// MARK: complexity
|
|
80
71
|
"complexity": {
|
|
81
72
|
"noExcessiveCognitiveComplexity": "warn",
|
|
82
73
|
"noExcessiveLinesPerFunction": "warn",
|
|
@@ -91,7 +82,6 @@
|
|
|
91
82
|
"useSimplifiedLogicExpression": "warn",
|
|
92
83
|
"useWhile": "warn"
|
|
93
84
|
},
|
|
94
|
-
// MARK: correctness
|
|
95
85
|
"correctness": {
|
|
96
86
|
"noGlobalDirnameFilename": "warn",
|
|
97
87
|
"noNestedComponentDefinitions": "warn",
|
|
@@ -106,7 +96,6 @@
|
|
|
106
96
|
"useSingleJsDocAsterisk": "warn",
|
|
107
97
|
"useUniqueElementIds": "warn"
|
|
108
98
|
},
|
|
109
|
-
// MARK: nursery
|
|
110
99
|
"nursery": {
|
|
111
100
|
"noAmbiguousAnchorText": "warn",
|
|
112
101
|
"noConditionalExpect": "warn",
|
|
@@ -182,7 +171,6 @@
|
|
|
182
171
|
"useSpread": "warn",
|
|
183
172
|
"useUnicodeRegex": "warn"
|
|
184
173
|
},
|
|
185
|
-
// MARK: performance
|
|
186
174
|
"performance": {
|
|
187
175
|
"noAwaitInLoops": "warn",
|
|
188
176
|
"noBarrelFile": "warn",
|
|
@@ -191,11 +179,9 @@
|
|
|
191
179
|
"noReExportAll": "warn",
|
|
192
180
|
"useTopLevelRegex": "warn"
|
|
193
181
|
},
|
|
194
|
-
// MARK: security
|
|
195
182
|
"security": {
|
|
196
183
|
"noSecrets": "warn"
|
|
197
184
|
},
|
|
198
|
-
// MARK: style
|
|
199
185
|
"style": {
|
|
200
186
|
"noCommonJs": "warn",
|
|
201
187
|
"noDefaultExport": "warn",
|
|
@@ -270,7 +256,6 @@
|
|
|
270
256
|
}
|
|
271
257
|
}
|
|
272
258
|
},
|
|
273
|
-
// MARK: suspicious
|
|
274
259
|
"suspicious": {
|
|
275
260
|
"noAlert": "warn",
|
|
276
261
|
"noBitwiseOperators": "warn",
|
|
@@ -298,7 +283,6 @@
|
|
|
298
283
|
}
|
|
299
284
|
},
|
|
300
285
|
|
|
301
|
-
// MARK: overrides
|
|
302
286
|
"overrides": [
|
|
303
287
|
{
|
|
304
288
|
"includes": ["package.json"],
|
|
@@ -317,7 +301,6 @@
|
|
|
317
301
|
}
|
|
318
302
|
],
|
|
319
303
|
|
|
320
|
-
// MARK: vcs
|
|
321
304
|
"vcs": {
|
|
322
305
|
"clientKind": "git",
|
|
323
306
|
"defaultBranch": "main",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
|
|
3
3
|
|
|
4
|
-
// MARK: assist
|
|
5
4
|
"assist": {
|
|
6
5
|
"actions": {
|
|
7
6
|
"recommended": true,
|
|
@@ -11,12 +10,6 @@
|
|
|
11
10
|
}
|
|
12
11
|
},
|
|
13
12
|
|
|
14
|
-
// MARK: files
|
|
15
|
-
"files": {
|
|
16
|
-
"includes": ["**", "!!**/dist"]
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
// MARK: formatter
|
|
20
13
|
"formatter": {
|
|
21
14
|
"attributePosition": "auto",
|
|
22
15
|
"bracketSameLine": false,
|
|
@@ -30,12 +23,10 @@
|
|
|
30
23
|
"useEditorconfig": true
|
|
31
24
|
},
|
|
32
25
|
|
|
33
|
-
// MARK: html
|
|
34
26
|
"html": {
|
|
35
27
|
"experimentalFullSupportEnabled": true
|
|
36
28
|
},
|
|
37
29
|
|
|
38
|
-
// MARK: javascript
|
|
39
30
|
"javascript": {
|
|
40
31
|
"experimentalEmbeddedSnippetsEnabled": true,
|
|
41
32
|
"globals": [],
|
|
@@ -56,7 +47,6 @@
|
|
|
56
47
|
}
|
|
57
48
|
},
|
|
58
49
|
|
|
59
|
-
// MARK: json
|
|
60
50
|
"json": {
|
|
61
51
|
"parser": {
|
|
62
52
|
"allowComments": true,
|
|
@@ -64,17 +54,12 @@
|
|
|
64
54
|
}
|
|
65
55
|
},
|
|
66
56
|
|
|
67
|
-
// MARK: linter
|
|
68
57
|
"linter": {
|
|
69
|
-
"domains": {
|
|
70
|
-
"react": "recommended"
|
|
71
|
-
},
|
|
72
58
|
"rules": {
|
|
73
59
|
"recommended": true
|
|
74
60
|
}
|
|
75
61
|
},
|
|
76
62
|
|
|
77
|
-
// MARK: overrides
|
|
78
63
|
"overrides": [
|
|
79
64
|
{
|
|
80
65
|
"includes": ["package.json"],
|
|
@@ -93,7 +78,6 @@
|
|
|
93
78
|
}
|
|
94
79
|
],
|
|
95
80
|
|
|
96
|
-
// MARK: vcs
|
|
97
81
|
"vcs": {
|
|
98
82
|
"clientKind": "git",
|
|
99
83
|
"defaultBranch": "main",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dvashim/biome-config",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.10",
|
|
4
4
|
"description": "Shared Biome Configurations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"biome",
|
|
@@ -21,16 +21,22 @@
|
|
|
21
21
|
"name": "Aleksei Reznichenko",
|
|
22
22
|
"email": "aleksei@dvashim.dev"
|
|
23
23
|
},
|
|
24
|
+
"contributors": [
|
|
25
|
+
{
|
|
26
|
+
"name": "Galina Makarchuk",
|
|
27
|
+
"email": "galya.makarchuk@gmail.com"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
24
30
|
"type": "module",
|
|
25
31
|
"exports": {
|
|
26
|
-
".": "./dist/biome.recommended.
|
|
27
|
-
"./react-balanced": "./dist/biome.react-balanced.
|
|
28
|
-
"./react-recommended": "./dist/biome.react-recommended.
|
|
29
|
-
"./react-strict": "./dist/biome.react-strict.
|
|
30
|
-
"./react/balanced": "./dist/biome.react-balanced.
|
|
31
|
-
"./react/recommended": "./dist/biome.react-recommended.
|
|
32
|
-
"./react/strict": "./dist/biome.react-strict.
|
|
33
|
-
"./recommended": "./dist/biome.recommended.
|
|
32
|
+
".": "./dist/biome.recommended.json",
|
|
33
|
+
"./react-balanced": "./dist/biome.react-balanced.json",
|
|
34
|
+
"./react-recommended": "./dist/biome.react-recommended.json",
|
|
35
|
+
"./react-strict": "./dist/biome.react-strict.json",
|
|
36
|
+
"./react/balanced": "./dist/biome.react-balanced.json",
|
|
37
|
+
"./react/recommended": "./dist/biome.react-recommended.json",
|
|
38
|
+
"./react/strict": "./dist/biome.react-strict.json",
|
|
39
|
+
"./recommended": "./dist/biome.recommended.json"
|
|
34
40
|
},
|
|
35
41
|
"files": [
|
|
36
42
|
"dist"
|