@dvashim/biome-config 1.8.0 → 1.9.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.14/schema.json`
146
+ `https://biomejs.dev/schemas/2.4.15/schema.json`
147
147
 
148
148
  ### Formatter
149
149
 
@@ -245,17 +245,18 @@ 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** (97 rules) — Opts into all experimental rules. Highlights include:
248
+ - **nursery** (100 rules) — Opts into all experimental rules. Highlights include:
249
249
  - **Errors:** `noJsxPropsBind`, `noLeakedRender`, `noMisusedPromises`, `noMultiAssign`, `noMultiStr`, `noParametersOnlyUsedInRecursion`
250
250
  - **Complexity:** `noExcessiveClassesPerFile`, `noExcessiveLinesPerFile`, `noExcessiveNestedCallbacks`
251
251
  - **Promises:** `noFloatingPromises`, `noNestedPromises`, `useAwaitThenable`
252
252
  - **TypeScript:** `useConsistentEnumValueType`, `useConsistentMethodSignatures`, `useExhaustiveSwitchCases`, `useExplicitReturnType`, `noMisleadingReturnType`, `noUselessTypeConversion`, `useNullishCoalescing`, `useReduceTypeParameter`
253
+ - **Object/class hygiene:** `noBaseToString` (catches accidental `"[object Object]"` stringification), `useThisInClassMethods`
253
254
  - **Resource management:** `useDisposables` (enforces `using` for `Disposable`/`AsyncDisposable`)
254
255
  - **Regex:** `useNamedCaptureGroup`, `useUnicodeRegex`, `useRegexpExec`, `useRegexpTest`
255
256
  - **DOM:** `useDomNodeTextContent`, `useDomQuerySelector`
256
257
  - **Math:** `useMathMinMax`
257
258
  - **Styling:** `noDuplicateSelectors`, `noInlineStyles`, `noExcessiveSelectorClasses`
258
- - **Testing:** `useConsistentTestIt`, `useExpect`, `noConditionalExpect`, `noIdenticalTestTitle`, `useTestHooksOnTop`
259
+ - **Testing:** `useConsistentTestIt`, `useExpect`, `noConditionalExpect`, `noIdenticalTestTitle`, `useTestHooksInOrder`, `useTestHooksOnTop`
259
260
  - **Playwright:** Full suite of 11 Playwright rules
260
261
  - **Drizzle:** `noDrizzleDeleteWithoutWhere`, `noDrizzleUpdateWithoutWhere`
261
262
  - **Tailwind:** `useSortedClasses`, `noFloatingClasses`
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.15/schema.json",
3
3
 
4
4
  "assist": {
5
5
  "actions": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.15/schema.json",
3
3
 
4
4
  "assist": {
5
5
  "actions": {
@@ -103,6 +103,7 @@
103
103
  },
104
104
  "nursery": {
105
105
  "noAmbiguousAnchorText": "warn",
106
+ "noBaseToString": "warn",
106
107
  "noComponentHookFactories": "warn",
107
108
  "noConditionalExpect": "warn",
108
109
  "noContinue": "info",
@@ -195,7 +196,9 @@
195
196
  "useSortedClasses": "warn",
196
197
  "useSpread": "warn",
197
198
  "useStringStartsEndsWith": "warn",
199
+ "useTestHooksInOrder": "warn",
198
200
  "useTestHooksOnTop": "warn",
201
+ "useThisInClassMethods": "warn",
199
202
  "useUnicodeRegex": "warn",
200
203
  "useVarsOnTop": "warn",
201
204
  "noIncrementDecrement": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.15/schema.json",
3
3
 
4
4
  "assist": {
5
5
  "actions": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.15/schema.json",
3
3
 
4
4
  "assist": {
5
5
  "actions": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.15/schema.json",
3
3
 
4
4
  "assist": {
5
5
  "actions": {
@@ -98,6 +98,7 @@
98
98
  },
99
99
  "nursery": {
100
100
  "noAmbiguousAnchorText": "warn",
101
+ "noBaseToString": "warn",
101
102
  "noComponentHookFactories": "warn",
102
103
  "noConditionalExpect": "warn",
103
104
  "noContinue": "warn",
@@ -191,7 +192,9 @@
191
192
  "useSortedClasses": "warn",
192
193
  "useSpread": "warn",
193
194
  "useStringStartsEndsWith": "warn",
195
+ "useTestHooksInOrder": "warn",
194
196
  "useTestHooksOnTop": "warn",
197
+ "useThisInClassMethods": "warn",
195
198
  "useUnicodeRegex": "warn",
196
199
  "useVarsOnTop": "warn"
197
200
  },
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.15/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.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "Shared Biome Configurations",
5
5
  "keywords": [
6
6
  "biome",
@@ -46,10 +46,10 @@
46
46
  "dist"
47
47
  ],
48
48
  "devDependencies": {
49
- "@biomejs/biome": "^2.4.14",
50
- "@changesets/changelog-github": "^0.6.0",
49
+ "@biomejs/biome": "^2.4.15",
50
+ "@changesets/changelog-github": "^0.7.0",
51
51
  "@changesets/cli": "^2.31.0",
52
- "validate-package-exports": "^0.24.0"
52
+ "validate-package-exports": "^0.25.0"
53
53
  },
54
54
  "engines": {
55
55
  "node": ">=24"
@@ -61,6 +61,8 @@
61
61
  "changeset": "changeset",
62
62
  "check": "pnpm run \"/^check:.*/\"",
63
63
  "check:exports": "validate-package-exports --check",
64
- "check:format": "biome format"
64
+ "check:format": "biome format",
65
+ "check:sync-stable": "node scripts/sync-stable.mjs --check",
66
+ "sync-stable": "node scripts/sync-stable.mjs"
65
67
  }
66
68
  }