@dvashim/biome-config 1.3.1 → 1.3.3

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.5/schema.json`
90
+ `https://biomejs.dev/schemas/2.4.7/schema.json`
91
91
 
92
92
  ### Formatter
93
93
 
@@ -181,7 +181,7 @@ The most opinionated configuration. Enables all recommended rules plus **120+ op
181
181
 
182
182
  - **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
183
 
184
- - **nursery** (63 rules) — Opts into all experimental rules. Highlights include:
184
+ - **nursery** (67 rules) — Opts into all experimental rules. Highlights include:
185
185
  - **Errors:** `noJsxPropsBind`, `noLeakedRender`, `noMisusedPromises`, `noMultiAssign`, `noParametersOnlyUsedInRecursion`
186
186
  - **Promises:** `noFloatingPromises`, `noNestedPromises`, `useAwaitThenable`
187
187
  - **TypeScript:** `useConsistentEnumValueType`, `useConsistentMethodSignatures`, `useExhaustiveSwitchCases`, `useNullishCoalescing`
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.5/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.7/schema.json",
3
3
 
4
4
  // MARK: assist
5
5
  "assist": {
@@ -121,6 +121,7 @@
121
121
  "noDuplicatedSpreadProps": "warn",
122
122
  "noDuplicateEnumValueNames": "warn",
123
123
  "noDuplicateEnumValues": "warn",
124
+ "noEmptyObjectKeys": "warn",
124
125
  "noEqualsToNull": "warn",
125
126
  "noExcessiveClassesPerFile": "warn",
126
127
  "noExcessiveLinesPerFile": "warn",
@@ -151,6 +152,7 @@
151
152
  "noShadow": "warn",
152
153
  "noSyncScripts": "warn",
153
154
  "noTernary": "off",
155
+ "noTopLevelLiterals": "warn",
154
156
  "noUndeclaredEnvVars": "warn",
155
157
  "noUnknownAttribute": "warn",
156
158
  "noUnnecessaryConditions": "warn",
@@ -158,6 +160,7 @@
158
160
  "useArraySome": "warn",
159
161
  "useArraySortCompare": "warn",
160
162
  "useAwaitThenable": "warn",
163
+ "useBaseline": "warn",
161
164
  "useConsistentEnumValueType": "warn",
162
165
  "useConsistentMethodSignatures": "warn",
163
166
  "useDestructuring": "warn",
@@ -167,6 +170,7 @@
167
170
  "useExplicitType": "off",
168
171
  "useFind": "warn",
169
172
  "useGlobalThis": "warn",
173
+ "useImportsFirst": "warn",
170
174
  "useNamedCaptureGroup": "warn",
171
175
  "useNullishCoalescing": "warn",
172
176
  "usePlaywrightValidDescribeCallback": "warn",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.5/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.7/schema.json",
3
3
 
4
4
  // MARK: assist
5
5
  "assist": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.5/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.7/schema.json",
3
3
 
4
4
  // MARK: assist
5
5
  "assist": {
@@ -116,6 +116,7 @@
116
116
  "noDuplicatedSpreadProps": "warn",
117
117
  "noDuplicateEnumValueNames": "warn",
118
118
  "noDuplicateEnumValues": "warn",
119
+ "noEmptyObjectKeys": "warn",
119
120
  "noEqualsToNull": "warn",
120
121
  "noExcessiveClassesPerFile": "warn",
121
122
  "noExcessiveLinesPerFile": "warn",
@@ -147,6 +148,7 @@
147
148
  "noShadow": "warn",
148
149
  "noSyncScripts": "warn",
149
150
  "noTernary": "off",
151
+ "noTopLevelLiterals": "warn",
150
152
  "noUndeclaredEnvVars": "warn",
151
153
  "noUnknownAttribute": "warn",
152
154
  "noUnnecessaryConditions": "warn",
@@ -154,6 +156,7 @@
154
156
  "useArraySome": "warn",
155
157
  "useArraySortCompare": "warn",
156
158
  "useAwaitThenable": "warn",
159
+ "useBaseline": "warn",
157
160
  "useConsistentEnumValueType": "warn",
158
161
  "useConsistentMethodSignatures": "warn",
159
162
  "useDestructuring": "warn",
@@ -163,6 +166,7 @@
163
166
  "useExplicitType": "off",
164
167
  "useFind": "warn",
165
168
  "useGlobalThis": "warn",
169
+ "useImportsFirst": "warn",
166
170
  "useNamedCaptureGroup": "warn",
167
171
  "useNullishCoalescing": "warn",
168
172
  "usePlaywrightValidDescribeCallback": "warn",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.5/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.7/schema.json",
3
3
 
4
4
  // MARK: assist
5
5
  "assist": {
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.1",
6
+ "version": "1.3.3",
7
7
  "author": {
8
8
  "email": "aleksei@dvashim.dev",
9
9
  "name": "Aleksei Reznichenko"
10
10
  },
11
11
  "devDependencies": {
12
- "@biomejs/biome": "^2.4.5",
12
+ "@biomejs/biome": "^2.4.7",
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.21.0"
16
16
  },
17
17
  "exports": {
18
18
  ".": "./dist/biome.recommended.jsonc",