@dvashim/biome-config 1.3.2 → 1.3.4

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/README.md CHANGED
@@ -87,7 +87,7 @@ All configurations share the same base defaults.
87
87
 
88
88
  ### Schema
89
89
 
90
- `https://biomejs.dev/schemas/2.4.6/schema.json`
90
+ `https://biomejs.dev/schemas/2.4.8/schema.json`
91
91
 
92
92
  ### Formatter
93
93
 
@@ -147,6 +147,7 @@ All configurations share the same base defaults.
147
147
  | Option | Value |
148
148
  |--------|-------|
149
149
  | clientKind | `"git"` |
150
+ | enabled | `true` |
150
151
  | defaultBranch | `"main"` |
151
152
  | useIgnoreFile | `true` |
152
153
 
@@ -173,7 +174,7 @@ Same as base recommended, plus enables the **React domain** (`"react": "recommen
173
174
 
174
175
  ### React strict
175
176
 
176
- The most opinionated configuration. Enables all recommended rules plus **120+ optional and nursery rules** across 8 categories. Every non-recommended JS/TS rule available in Biome is explicitly configured.
177
+ The most opinionated configuration. Enables all recommended rules plus **180+ optional and nursery rules** across 8 categories. Every non-recommended JS/TS rule available in Biome is explicitly configured.
177
178
 
178
179
  - **a11y** — Selectively disables noisy rules (`useButtonType`, `useKeyWithClickEvents`, `useSemanticElements`, `noStaticElementInteractions`, `noNoninteractiveElementToInteractiveRole`) while keeping the rest at recommended defaults.
179
180
 
@@ -181,12 +182,13 @@ The most opinionated configuration. Enables all recommended rules plus **120+ op
181
182
 
182
183
  - **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.
183
184
 
184
- - **nursery** (63 rules) — Opts into all experimental rules. Highlights include:
185
+ - **nursery** (68 rules) — Opts into all experimental rules. Highlights include:
185
186
  - **Errors:** `noJsxPropsBind`, `noLeakedRender`, `noMisusedPromises`, `noMultiAssign`, `noParametersOnlyUsedInRecursion`
186
187
  - **Promises:** `noFloatingPromises`, `noNestedPromises`, `useAwaitThenable`
187
188
  - **TypeScript:** `useConsistentEnumValueType`, `useConsistentMethodSignatures`, `useExhaustiveSwitchCases`, `useNullishCoalescing`
188
189
  - **Regex:** `useNamedCaptureGroup`, `useUnicodeRegex`, `useRegexpExec`
189
190
  - **Playwright:** Full suite of 10 Playwright rules
191
+ - **Drizzle:** `noDrizzleDeleteWithoutWhere`, `noDrizzleUpdateWithoutWhere`
190
192
  - **Tailwind:** `useSortedClasses`, `noFloatingClasses`
191
193
  - **Disabled:** `noTernary`, `useExplicitType`
192
194
 
@@ -194,7 +196,7 @@ The most opinionated configuration. Enables all recommended rules plus **120+ op
194
196
 
195
197
  - **security** — `noSecrets`
196
198
 
197
- - **style** (44 rules) — Enforces consistent syntax, naming conventions (`strictCase: true`), array shorthand syntax, `type` over `interface`, React function components, readonly class properties, `noDefaultExport`, `noMagicNumbers`, `noJsxLiterals`, and more.
199
+ - **style** (56 rules) — Enforces consistent syntax, naming conventions (`strictCase: true`), array shorthand syntax, `type` over `interface`, React function components, readonly class properties, `noDefaultExport`, `noMagicNumbers`, `noJsxLiterals`, and more.
198
200
 
199
201
  - **suspicious** (22 rules) — Flags `var` (error), `console`, `alert`, bitwise operators, empty blocks, import cycles, evolving types, skipped tests, and deprecated imports.
200
202
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
3
3
 
4
4
  // MARK: assist
5
5
  "assist": {
@@ -117,10 +117,13 @@
117
117
  "noConditionalExpect": "warn",
118
118
  "noContinue": "info",
119
119
  "noDivRegex": "warn",
120
+ "noDrizzleDeleteWithoutWhere": "warn",
121
+ "noDrizzleUpdateWithoutWhere": "warn",
120
122
  "noDuplicateAttributes": "warn",
121
123
  "noDuplicatedSpreadProps": "warn",
122
124
  "noDuplicateEnumValueNames": "warn",
123
125
  "noDuplicateEnumValues": "warn",
126
+ "noEmptyObjectKeys": "warn",
124
127
  "noEqualsToNull": "warn",
125
128
  "noExcessiveClassesPerFile": "warn",
126
129
  "noExcessiveLinesPerFile": "warn",
@@ -151,6 +154,7 @@
151
154
  "noShadow": "warn",
152
155
  "noSyncScripts": "warn",
153
156
  "noTernary": "off",
157
+ "noTopLevelLiterals": "warn",
154
158
  "noUndeclaredEnvVars": "warn",
155
159
  "noUnknownAttribute": "warn",
156
160
  "noUnnecessaryConditions": "warn",
@@ -158,6 +162,7 @@
158
162
  "useArraySome": "warn",
159
163
  "useArraySortCompare": "warn",
160
164
  "useAwaitThenable": "warn",
165
+ "useBaseline": "warn",
161
166
  "useConsistentEnumValueType": "warn",
162
167
  "useConsistentMethodSignatures": "warn",
163
168
  "useDestructuring": "warn",
@@ -167,6 +172,7 @@
167
172
  "useExplicitType": "off",
168
173
  "useFind": "warn",
169
174
  "useGlobalThis": "warn",
175
+ "useImportsFirst": "warn",
170
176
  "useNamedCaptureGroup": "warn",
171
177
  "useNullishCoalescing": "warn",
172
178
  "usePlaywrightValidDescribeCallback": "warn",
@@ -300,6 +306,7 @@
300
306
  // MARK: vcs
301
307
  "vcs": {
302
308
  "clientKind": "git",
309
+ "enabled": true,
303
310
  "defaultBranch": "main",
304
311
  "useIgnoreFile": true
305
312
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
3
3
 
4
4
  // MARK: assist
5
5
  "assist": {
@@ -77,6 +77,7 @@
77
77
  // MARK: vcs
78
78
  "vcs": {
79
79
  "clientKind": "git",
80
+ "enabled": true,
80
81
  "defaultBranch": "main",
81
82
  "useIgnoreFile": true
82
83
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
3
3
 
4
4
  // MARK: assist
5
5
  "assist": {
@@ -112,10 +112,13 @@
112
112
  "noConditionalExpect": "warn",
113
113
  "noContinue": "warn",
114
114
  "noDivRegex": "warn",
115
+ "noDrizzleDeleteWithoutWhere": "warn",
116
+ "noDrizzleUpdateWithoutWhere": "warn",
115
117
  "noDuplicateAttributes": "warn",
116
118
  "noDuplicatedSpreadProps": "warn",
117
119
  "noDuplicateEnumValueNames": "warn",
118
120
  "noDuplicateEnumValues": "warn",
121
+ "noEmptyObjectKeys": "warn",
119
122
  "noEqualsToNull": "warn",
120
123
  "noExcessiveClassesPerFile": "warn",
121
124
  "noExcessiveLinesPerFile": "warn",
@@ -147,6 +150,7 @@
147
150
  "noShadow": "warn",
148
151
  "noSyncScripts": "warn",
149
152
  "noTernary": "off",
153
+ "noTopLevelLiterals": "warn",
150
154
  "noUndeclaredEnvVars": "warn",
151
155
  "noUnknownAttribute": "warn",
152
156
  "noUnnecessaryConditions": "warn",
@@ -154,6 +158,7 @@
154
158
  "useArraySome": "warn",
155
159
  "useArraySortCompare": "warn",
156
160
  "useAwaitThenable": "warn",
161
+ "useBaseline": "warn",
157
162
  "useConsistentEnumValueType": "warn",
158
163
  "useConsistentMethodSignatures": "warn",
159
164
  "useDestructuring": "warn",
@@ -163,6 +168,7 @@
163
168
  "useExplicitType": "off",
164
169
  "useFind": "warn",
165
170
  "useGlobalThis": "warn",
171
+ "useImportsFirst": "warn",
166
172
  "useNamedCaptureGroup": "warn",
167
173
  "useNullishCoalescing": "warn",
168
174
  "usePlaywrightValidDescribeCallback": "warn",
@@ -290,6 +296,7 @@
290
296
  // MARK: vcs
291
297
  "vcs": {
292
298
  "clientKind": "git",
299
+ "enabled": true,
293
300
  "defaultBranch": "main",
294
301
  "useIgnoreFile": true
295
302
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
3
3
 
4
4
  // MARK: assist
5
5
  "assist": {
@@ -74,6 +74,7 @@
74
74
  // MARK: vcs
75
75
  "vcs": {
76
76
  "clientKind": "git",
77
+ "enabled": true,
77
78
  "defaultBranch": "main",
78
79
  "useIgnoreFile": true
79
80
  }
package/package.json CHANGED
@@ -3,16 +3,16 @@
3
3
  "license": "MIT",
4
4
  "name": "@dvashim/biome-config",
5
5
  "type": "module",
6
- "version": "1.3.2",
6
+ "version": "1.3.4",
7
7
  "author": {
8
8
  "email": "aleksei@dvashim.dev",
9
9
  "name": "Aleksei Reznichenko"
10
10
  },
11
11
  "devDependencies": {
12
- "@biomejs/biome": "^2.4.6",
12
+ "@biomejs/biome": "^2.4.8",
13
13
  "@changesets/changelog-github": "^0.6.0",
14
14
  "@changesets/cli": "^2.30.0",
15
- "validate-package-exports": "^0.19.1"
15
+ "validate-package-exports": "^0.22.0"
16
16
  },
17
17
  "exports": {
18
18
  ".": "./dist/biome.recommended.jsonc",