@dvashim/biome-config 1.4.0 → 1.5.1

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.8/schema.json`
90
+ `https://biomejs.dev/schemas/2.4.9/schema.json`
91
91
 
92
92
  ### Formatter
93
93
 
@@ -188,14 +188,16 @@ The most opinionated configuration. Enables all recommended rules plus **180+ op
188
188
 
189
189
  - **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.
190
190
 
191
- - **nursery** (68 rules) — Opts into all experimental rules. Highlights include:
191
+ - **nursery** (71 rules) — Opts into all experimental rules. Highlights include:
192
192
  - **Errors:** `noJsxPropsBind`, `noLeakedRender`, `noMisusedPromises`, `noMultiAssign`, `noParametersOnlyUsedInRecursion`
193
193
  - **Promises:** `noFloatingPromises`, `noNestedPromises`, `useAwaitThenable`
194
194
  - **TypeScript:** `useConsistentEnumValueType`, `useConsistentMethodSignatures`, `useExhaustiveSwitchCases`, `useNullishCoalescing`
195
195
  - **Regex:** `useNamedCaptureGroup`, `useUnicodeRegex`, `useRegexpExec`
196
+ - **Styling:** `noDuplicateSelectors`, `noInlineStyles`
196
197
  - **Playwright:** Full suite of 10 Playwright rules
197
198
  - **Drizzle:** `noDrizzleDeleteWithoutWhere`, `noDrizzleUpdateWithoutWhere`
198
199
  - **Tailwind:** `useSortedClasses`, `noFloatingClasses`
200
+ - **Dependencies:** `noUntrustedLicenses`
199
201
  - **Disabled:** `noTernary`, `useExplicitType`
200
202
 
201
203
  - **performance** (6 rules) — Warns on `await` in loops, barrel files, `delete`, namespace imports, re-export all, and non-top-level regex.
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.9/schema.json",
3
3
 
4
4
  // MARK: assist
5
5
  "assist": {
@@ -123,6 +123,7 @@
123
123
  "noDuplicatedSpreadProps": "warn",
124
124
  "noDuplicateEnumValueNames": "warn",
125
125
  "noDuplicateEnumValues": "warn",
126
+ "noDuplicateSelectors": "warn",
126
127
  "noEmptyObjectKeys": "warn",
127
128
  "noEqualsToNull": "warn",
128
129
  "noExcessiveClassesPerFile": "warn",
@@ -130,6 +131,7 @@
130
131
  "noFloatingClasses": "warn",
131
132
  "noFloatingPromises": "warn",
132
133
  "noForIn": "warn",
134
+ "noInlineStyles": "warn",
133
135
  "noJsxPropsBind": "error",
134
136
  "noLeakedRender": "error",
135
137
  "noMisusedPromises": "error",
@@ -158,6 +160,7 @@
158
160
  "noUndeclaredEnvVars": "warn",
159
161
  "noUnknownAttribute": "warn",
160
162
  "noUnnecessaryConditions": "warn",
163
+ "noUntrustedLicenses": "warn",
161
164
  "noUselessReturn": "info",
162
165
  "useArraySome": "warn",
163
166
  "useArraySortCompare": "warn",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.9/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.8/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.9/schema.json",
3
3
 
4
4
  // MARK: assist
5
5
  "assist": {
@@ -118,6 +118,7 @@
118
118
  "noDuplicatedSpreadProps": "warn",
119
119
  "noDuplicateEnumValueNames": "warn",
120
120
  "noDuplicateEnumValues": "warn",
121
+ "noDuplicateSelectors": "warn",
121
122
  "noEmptyObjectKeys": "warn",
122
123
  "noEqualsToNull": "warn",
123
124
  "noExcessiveClassesPerFile": "warn",
@@ -126,6 +127,7 @@
126
127
  "noFloatingPromises": "warn",
127
128
  "noForIn": "warn",
128
129
  "noIncrementDecrement": "warn",
130
+ "noInlineStyles": "warn",
129
131
  "noJsxPropsBind": "error",
130
132
  "noLeakedRender": "error",
131
133
  "noMisusedPromises": "error",
@@ -154,6 +156,7 @@
154
156
  "noUndeclaredEnvVars": "warn",
155
157
  "noUnknownAttribute": "warn",
156
158
  "noUnnecessaryConditions": "warn",
159
+ "noUntrustedLicenses": "warn",
157
160
  "noUselessReturn": "warn",
158
161
  "useArraySome": "warn",
159
162
  "useArraySortCompare": "warn",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.9/schema.json",
3
3
 
4
4
  // MARK: assist
5
5
  "assist": {
package/package.json CHANGED
@@ -1,19 +1,23 @@
1
1
  {
2
+ "name": "@dvashim/biome-config",
3
+ "version": "1.5.1",
2
4
  "description": "Shared Biome Configurations",
5
+ "keywords": [
6
+ "biome",
7
+ "config",
8
+ "formatter",
9
+ "lint"
10
+ ],
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/dvashim/biome-config.git"
14
+ },
3
15
  "license": "MIT",
4
- "name": "@dvashim/biome-config",
5
- "type": "module",
6
- "version": "1.4.0",
7
16
  "author": {
8
- "email": "aleksei@dvashim.dev",
9
- "name": "Aleksei Reznichenko"
10
- },
11
- "devDependencies": {
12
- "@biomejs/biome": "^2.4.8",
13
- "@changesets/changelog-github": "^0.6.0",
14
- "@changesets/cli": "^2.30.0",
15
- "validate-package-exports": "^0.22.0"
17
+ "name": "Aleksei Reznichenko",
18
+ "email": "aleksei@dvashim.dev"
16
19
  },
20
+ "type": "module",
17
21
  "exports": {
18
22
  ".": "./dist/biome.recommended.jsonc",
19
23
  "./react-balanced": "./dist/biome.react-balanced.jsonc",
@@ -27,19 +31,15 @@
27
31
  "files": [
28
32
  "dist"
29
33
  ],
30
- "keywords": [
31
- "biome",
32
- "lint",
33
- "formatter",
34
- "config"
35
- ],
34
+ "devDependencies": {
35
+ "@biomejs/biome": "^2.4.9",
36
+ "@changesets/changelog-github": "^0.6.0",
37
+ "@changesets/cli": "^2.30.0",
38
+ "validate-package-exports": "^0.23.0"
39
+ },
36
40
  "publishConfig": {
37
41
  "access": "public"
38
42
  },
39
- "repository": {
40
- "type": "git",
41
- "url": "https://github.com/dvashim/biome-config.git"
42
- },
43
43
  "scripts": {
44
44
  "changeset": "changeset",
45
45
  "check": "pnpm run \"/^check:.*/\"",