@dvashim/biome-config 1.7.0 → 1.8.0

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
@@ -143,7 +143,7 @@ All configurations share the same base defaults.
143
143
 
144
144
  ### Schema
145
145
 
146
- `https://biomejs.dev/schemas/2.4.13/schema.json`
146
+ `https://biomejs.dev/schemas/2.4.14/schema.json`
147
147
 
148
148
  ### Formatter
149
149
 
@@ -245,19 +245,21 @@ The most opinionated configuration. Enables all recommended rules plus **200+ op
245
245
 
246
246
  - **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.
247
247
 
248
- - **nursery** (93 rules) — Opts into all experimental rules. Highlights include:
249
- - **Errors:** `noJsxPropsBind`, `noLeakedRender`, `noMisusedPromises`, `noMultiAssign`, `noParametersOnlyUsedInRecursion`
248
+ - **nursery** (97 rules) — Opts into all experimental rules. Highlights include:
249
+ - **Errors:** `noJsxPropsBind`, `noLeakedRender`, `noMisusedPromises`, `noMultiAssign`, `noMultiStr`, `noParametersOnlyUsedInRecursion`
250
+ - **Complexity:** `noExcessiveClassesPerFile`, `noExcessiveLinesPerFile`, `noExcessiveNestedCallbacks`
250
251
  - **Promises:** `noFloatingPromises`, `noNestedPromises`, `useAwaitThenable`
251
252
  - **TypeScript:** `useConsistentEnumValueType`, `useConsistentMethodSignatures`, `useExhaustiveSwitchCases`, `useExplicitReturnType`, `noMisleadingReturnType`, `noUselessTypeConversion`, `useNullishCoalescing`, `useReduceTypeParameter`
252
253
  - **Resource management:** `useDisposables` (enforces `using` for `Disposable`/`AsyncDisposable`)
253
254
  - **Regex:** `useNamedCaptureGroup`, `useUnicodeRegex`, `useRegexpExec`, `useRegexpTest`
254
255
  - **DOM:** `useDomNodeTextContent`, `useDomQuerySelector`
256
+ - **Math:** `useMathMinMax`
255
257
  - **Styling:** `noDuplicateSelectors`, `noInlineStyles`, `noExcessiveSelectorClasses`
256
- - **Testing:** `useConsistentTestIt`, `useExpect`, `noConditionalExpect`, `noIdenticalTestTitle`
257
- - **Playwright:** Full suite of 10 Playwright rules
258
+ - **Testing:** `useConsistentTestIt`, `useExpect`, `noConditionalExpect`, `noIdenticalTestTitle`, `useTestHooksOnTop`
259
+ - **Playwright:** Full suite of 11 Playwright rules
258
260
  - **Drizzle:** `noDrizzleDeleteWithoutWhere`, `noDrizzleUpdateWithoutWhere`
259
261
  - **Tailwind:** `useSortedClasses`, `noFloatingClasses`
260
- - **React:** `useReactAsyncServerFunction`, `noComponentHookFactories`, `noJsxNamespace`
262
+ - **React:** `useReactAsyncServerFunction`, `noComponentHookFactories`, `noJsxNamespace`, `noReactStringRefs`
261
263
  - **Security:** `useIframeSandbox`
262
264
  - **Dependencies:** `noUntrustedLicenses`
263
265
  - **Disabled:** `noTernary`, `useExplicitType`
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.13/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
3
3
 
4
4
  "assist": {
5
5
  "actions": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.13/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
3
3
 
4
4
  "assist": {
5
5
  "actions": {
@@ -118,6 +118,7 @@
118
118
  "noEqualsToNull": "warn",
119
119
  "noExcessiveClassesPerFile": "warn",
120
120
  "noExcessiveLinesPerFile": "warn",
121
+ "noExcessiveNestedCallbacks": "warn",
121
122
  "noExcessiveSelectorClasses": "warn",
122
123
  "noFloatingClasses": "warn",
123
124
  "noFloatingPromises": "warn",
@@ -147,6 +148,7 @@
147
148
  "noPlaywrightWaitForSelector": "warn",
148
149
  "noPlaywrightWaitForTimeout": "warn",
149
150
  "noProto": "warn",
151
+ "noReactStringRefs": "warn",
150
152
  "noRedundantDefaultExport": "warn",
151
153
  "noReturnAssign": "warn",
152
154
  "noScriptUrl": "warn",
@@ -182,6 +184,7 @@
182
184
  "useGlobalThis": "warn",
183
185
  "useIframeSandbox": "warn",
184
186
  "useImportsFirst": "warn",
187
+ "useMathMinMax": "warn",
185
188
  "useNamedCaptureGroup": "warn",
186
189
  "useNullishCoalescing": "warn",
187
190
  "usePlaywrightValidDescribeCallback": "warn",
@@ -192,6 +195,7 @@
192
195
  "useSortedClasses": "warn",
193
196
  "useSpread": "warn",
194
197
  "useStringStartsEndsWith": "warn",
198
+ "useTestHooksOnTop": "warn",
195
199
  "useUnicodeRegex": "warn",
196
200
  "useVarsOnTop": "warn",
197
201
  "noIncrementDecrement": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.13/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
3
3
 
4
4
  "assist": {
5
5
  "actions": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.13/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
3
3
 
4
4
  "assist": {
5
5
  "actions": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.13/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
3
3
 
4
4
  "assist": {
5
5
  "actions": {
@@ -113,6 +113,7 @@
113
113
  "noEqualsToNull": "warn",
114
114
  "noExcessiveClassesPerFile": "warn",
115
115
  "noExcessiveLinesPerFile": "warn",
116
+ "noExcessiveNestedCallbacks": "warn",
116
117
  "noExcessiveSelectorClasses": "warn",
117
118
  "noFloatingClasses": "warn",
118
119
  "noFloatingPromises": "warn",
@@ -143,6 +144,7 @@
143
144
  "noPlaywrightWaitForSelector": "warn",
144
145
  "noPlaywrightWaitForTimeout": "warn",
145
146
  "noProto": "warn",
147
+ "noReactStringRefs": "warn",
146
148
  "noRedundantDefaultExport": "warn",
147
149
  "noReturnAssign": "warn",
148
150
  "noScriptUrl": "warn",
@@ -178,6 +180,7 @@
178
180
  "useGlobalThis": "warn",
179
181
  "useIframeSandbox": "warn",
180
182
  "useImportsFirst": "warn",
183
+ "useMathMinMax": "warn",
181
184
  "useNamedCaptureGroup": "warn",
182
185
  "useNullishCoalescing": "warn",
183
186
  "usePlaywrightValidDescribeCallback": "warn",
@@ -188,6 +191,7 @@
188
191
  "useSortedClasses": "warn",
189
192
  "useSpread": "warn",
190
193
  "useStringStartsEndsWith": "warn",
194
+ "useTestHooksOnTop": "warn",
191
195
  "useUnicodeRegex": "warn",
192
196
  "useVarsOnTop": "warn"
193
197
  },
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.13/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
3
3
 
4
4
  "assist": {
5
5
  "actions": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvashim/biome-config",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "Shared Biome Configurations",
5
5
  "keywords": [
6
6
  "biome",
@@ -46,13 +46,13 @@
46
46
  "dist"
47
47
  ],
48
48
  "devDependencies": {
49
- "@biomejs/biome": "^2.4.13",
49
+ "@biomejs/biome": "^2.4.14",
50
50
  "@changesets/changelog-github": "^0.6.0",
51
51
  "@changesets/cli": "^2.31.0",
52
- "validate-package-exports": "^0.23.0"
52
+ "validate-package-exports": "^0.24.0"
53
53
  },
54
54
  "engines": {
55
- "node": ">=18"
55
+ "node": ">=24"
56
56
  },
57
57
  "publishConfig": {
58
58
  "access": "public"