@dvashim/biome-config 1.5.7 → 1.5.9
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/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -106,7 +106,7 @@ All configurations share the same base defaults.
|
|
|
106
106
|
|
|
107
107
|
### Schema
|
|
108
108
|
|
|
109
|
-
`https://biomejs.dev/schemas/2.4.
|
|
109
|
+
`https://biomejs.dev/schemas/2.4.10/schema.json`
|
|
110
110
|
|
|
111
111
|
### Formatter
|
|
112
112
|
|
|
@@ -208,7 +208,7 @@ The most opinionated configuration. Enables all recommended rules plus **180+ op
|
|
|
208
208
|
|
|
209
209
|
- **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.
|
|
210
210
|
|
|
211
|
-
- **nursery** (
|
|
211
|
+
- **nursery** (73 rules) — Opts into all experimental rules. Highlights include:
|
|
212
212
|
- **Errors:** `noJsxPropsBind`, `noLeakedRender`, `noMisusedPromises`, `noMultiAssign`, `noParametersOnlyUsedInRecursion`
|
|
213
213
|
- **Promises:** `noFloatingPromises`, `noNestedPromises`, `useAwaitThenable`
|
|
214
214
|
- **TypeScript:** `useConsistentEnumValueType`, `useConsistentMethodSignatures`, `useExhaustiveSwitchCases`, `useNullishCoalescing`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/2.4.
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
|
|
3
3
|
|
|
4
4
|
// MARK: assist
|
|
5
5
|
"assist": {
|
|
@@ -131,6 +131,7 @@
|
|
|
131
131
|
"noFloatingClasses": "warn",
|
|
132
132
|
"noFloatingPromises": "warn",
|
|
133
133
|
"noForIn": "warn",
|
|
134
|
+
"noImpliedEval": "warn",
|
|
134
135
|
"noInlineStyles": "warn",
|
|
135
136
|
"noJsxPropsBind": "error",
|
|
136
137
|
"noLeakedRender": "error",
|
|
@@ -160,6 +161,7 @@
|
|
|
160
161
|
"noUndeclaredEnvVars": "warn",
|
|
161
162
|
"noUnknownAttribute": "warn",
|
|
162
163
|
"noUnnecessaryConditions": "warn",
|
|
164
|
+
"noUnsafePlusOperands": "warn",
|
|
163
165
|
"noUntrustedLicenses": "warn",
|
|
164
166
|
"noUselessReturn": "info",
|
|
165
167
|
"useArraySome": "warn",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/2.4.
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
|
|
3
3
|
|
|
4
4
|
// MARK: assist
|
|
5
5
|
"assist": {
|
|
@@ -126,6 +126,7 @@
|
|
|
126
126
|
"noFloatingClasses": "warn",
|
|
127
127
|
"noFloatingPromises": "warn",
|
|
128
128
|
"noForIn": "warn",
|
|
129
|
+
"noImpliedEval": "warn",
|
|
129
130
|
"noIncrementDecrement": "warn",
|
|
130
131
|
"noInlineStyles": "warn",
|
|
131
132
|
"noJsxPropsBind": "error",
|
|
@@ -156,6 +157,7 @@
|
|
|
156
157
|
"noUndeclaredEnvVars": "warn",
|
|
157
158
|
"noUnknownAttribute": "warn",
|
|
158
159
|
"noUnnecessaryConditions": "warn",
|
|
160
|
+
"noUnsafePlusOperands": "warn",
|
|
159
161
|
"noUntrustedLicenses": "warn",
|
|
160
162
|
"noUselessReturn": "warn",
|
|
161
163
|
"useArraySome": "warn",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dvashim/biome-config",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.9",
|
|
4
4
|
"description": "Shared Biome Configurations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"biome",
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
"formatter",
|
|
9
9
|
"lint"
|
|
10
10
|
],
|
|
11
|
+
"homepage": "https://github.com/dvashim/biome-config#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/dvashim/biome-config/issues"
|
|
14
|
+
},
|
|
11
15
|
"repository": {
|
|
12
16
|
"type": "git",
|
|
13
17
|
"url": "https://github.com/dvashim/biome-config.git"
|
|
@@ -32,7 +36,7 @@
|
|
|
32
36
|
"dist"
|
|
33
37
|
],
|
|
34
38
|
"devDependencies": {
|
|
35
|
-
"@biomejs/biome": "^2.4.
|
|
39
|
+
"@biomejs/biome": "^2.4.10",
|
|
36
40
|
"@changesets/changelog-github": "^0.6.0",
|
|
37
41
|
"@changesets/cli": "^2.30.0",
|
|
38
42
|
"validate-package-exports": "^0.23.0"
|