@dvashim/biome-config 1.5.8 → 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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 dvashim
3
+ Copyright (c) 2026 Aleksei Reznichenko
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -106,7 +106,7 @@ All configurations share the same base defaults.
106
106
 
107
107
  ### Schema
108
108
 
109
- `https://biomejs.dev/schemas/2.4.9/schema.json`
109
+ `https://biomejs.dev/schemas/2.4.10/schema.json`
110
110
 
111
111
  ### Formatter
112
112
 
@@ -208,7 +208,7 @@ The most opinionated configuration. Enables all recommended rules plus **180+ op
208
208
 
209
209
  - **correctness** (12 rules) — Ensures no undeclared variables/dependencies, proper React patterns (`noReactPropAssignments`, `noNestedComponentDefinitions`), Node.js guards (`noNodejsModules`, `noProcessGlobal`, `noGlobalDirnameFilename`), and JSON import attributes. `noUnresolvedImports` is disabled since TypeScript already performs these checks.
210
210
 
211
- - **nursery** (71 rules) — Opts into all experimental rules. Highlights include:
211
+ - **nursery** (73 rules) — Opts into all experimental rules. Highlights include:
212
212
  - **Errors:** `noJsxPropsBind`, `noLeakedRender`, `noMisusedPromises`, `noMultiAssign`, `noParametersOnlyUsedInRecursion`
213
213
  - **Promises:** `noFloatingPromises`, `noNestedPromises`, `useAwaitThenable`
214
214
  - **TypeScript:** `useConsistentEnumValueType`, `useConsistentMethodSignatures`, `useExhaustiveSwitchCases`, `useNullishCoalescing`
@@ -1,7 +1,6 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.9/schema.json",
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",
@@ -131,6 +120,7 @@
131
120
  "noFloatingClasses": "warn",
132
121
  "noFloatingPromises": "warn",
133
122
  "noForIn": "warn",
123
+ "noImpliedEval": "warn",
134
124
  "noInlineStyles": "warn",
135
125
  "noJsxPropsBind": "error",
136
126
  "noLeakedRender": "error",
@@ -160,6 +150,7 @@
160
150
  "noUndeclaredEnvVars": "warn",
161
151
  "noUnknownAttribute": "warn",
162
152
  "noUnnecessaryConditions": "warn",
153
+ "noUnsafePlusOperands": "warn",
163
154
  "noUntrustedLicenses": "warn",
164
155
  "noUselessReturn": "info",
165
156
  "useArraySome": "warn",
@@ -190,7 +181,6 @@
190
181
  }
191
182
  }
192
183
  },
193
- // MARK: performance
194
184
  "performance": {
195
185
  "noAwaitInLoops": "warn",
196
186
  "noBarrelFile": "off",
@@ -199,11 +189,9 @@
199
189
  "noReExportAll": "off",
200
190
  "useTopLevelRegex": "warn"
201
191
  },
202
- // MARK: security
203
192
  "security": {
204
193
  "noSecrets": "warn"
205
194
  },
206
- // MARK: style
207
195
  "style": {
208
196
  "noCommonJs": "warn",
209
197
  "noDefaultExport": "off",
@@ -278,7 +266,6 @@
278
266
  }
279
267
  }
280
268
  },
281
- // MARK: suspicious
282
269
  "suspicious": {
283
270
  "noAlert": "warn",
284
271
  "noBitwiseOperators": "warn",
@@ -306,7 +293,6 @@
306
293
  }
307
294
  },
308
295
 
309
- // MARK: overrides
310
296
  "overrides": [
311
297
  {
312
298
  "includes": ["package.json"],
@@ -325,7 +311,6 @@
325
311
  }
326
312
  ],
327
313
 
328
- // MARK: vcs
329
314
  "vcs": {
330
315
  "clientKind": "git",
331
316
  "defaultBranch": "main",
@@ -1,7 +1,6 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.9/schema.json",
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
- // MARK: formatter
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
- "$schema": "https://biomejs.dev/schemas/2.4.9/schema.json",
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",
@@ -126,6 +115,7 @@
126
115
  "noFloatingClasses": "warn",
127
116
  "noFloatingPromises": "warn",
128
117
  "noForIn": "warn",
118
+ "noImpliedEval": "warn",
129
119
  "noIncrementDecrement": "warn",
130
120
  "noInlineStyles": "warn",
131
121
  "noJsxPropsBind": "error",
@@ -156,6 +146,7 @@
156
146
  "noUndeclaredEnvVars": "warn",
157
147
  "noUnknownAttribute": "warn",
158
148
  "noUnnecessaryConditions": "warn",
149
+ "noUnsafePlusOperands": "warn",
159
150
  "noUntrustedLicenses": "warn",
160
151
  "noUselessReturn": "warn",
161
152
  "useArraySome": "warn",
@@ -180,7 +171,6 @@
180
171
  "useSpread": "warn",
181
172
  "useUnicodeRegex": "warn"
182
173
  },
183
- // MARK: performance
184
174
  "performance": {
185
175
  "noAwaitInLoops": "warn",
186
176
  "noBarrelFile": "warn",
@@ -189,11 +179,9 @@
189
179
  "noReExportAll": "warn",
190
180
  "useTopLevelRegex": "warn"
191
181
  },
192
- // MARK: security
193
182
  "security": {
194
183
  "noSecrets": "warn"
195
184
  },
196
- // MARK: style
197
185
  "style": {
198
186
  "noCommonJs": "warn",
199
187
  "noDefaultExport": "warn",
@@ -268,7 +256,6 @@
268
256
  }
269
257
  }
270
258
  },
271
- // MARK: suspicious
272
259
  "suspicious": {
273
260
  "noAlert": "warn",
274
261
  "noBitwiseOperators": "warn",
@@ -296,7 +283,6 @@
296
283
  }
297
284
  },
298
285
 
299
- // MARK: overrides
300
286
  "overrides": [
301
287
  {
302
288
  "includes": ["package.json"],
@@ -315,7 +301,6 @@
315
301
  }
316
302
  ],
317
303
 
318
- // MARK: vcs
319
304
  "vcs": {
320
305
  "clientKind": "git",
321
306
  "defaultBranch": "main",
@@ -1,7 +1,6 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.9/schema.json",
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.8",
3
+ "version": "1.5.10",
4
4
  "description": "Shared Biome Configurations",
5
5
  "keywords": [
6
6
  "biome",
@@ -21,22 +21,28 @@
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.jsonc",
27
- "./react-balanced": "./dist/biome.react-balanced.jsonc",
28
- "./react-recommended": "./dist/biome.react-recommended.jsonc",
29
- "./react-strict": "./dist/biome.react-strict.jsonc",
30
- "./react/balanced": "./dist/biome.react-balanced.jsonc",
31
- "./react/recommended": "./dist/biome.react-recommended.jsonc",
32
- "./react/strict": "./dist/biome.react-strict.jsonc",
33
- "./recommended": "./dist/biome.recommended.jsonc"
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"
37
43
  ],
38
44
  "devDependencies": {
39
- "@biomejs/biome": "^2.4.9",
45
+ "@biomejs/biome": "^2.4.10",
40
46
  "@changesets/changelog-github": "^0.6.0",
41
47
  "@changesets/cli": "^2.30.0",
42
48
  "validate-package-exports": "^0.23.0"