@nesvet/biome-config 2.0.0 → 2.0.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
@@ -32,7 +32,7 @@ Monorepo package:
32
32
  }
33
33
  ```
34
34
 
35
- Override anything in your own `biome.json`.
35
+ Override anything in your own `biome.json`. Files matching `*.config.ts` / `*.config.js` (and `.mjs`, `.cjs`, `.mts`, `.cts`) may use a default export: `noDefaultExport` is off there so tool configs still format and lint.
36
36
 
37
37
  ## Contributing
38
38
 
package/biome.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.5.9/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.10/schema.json",
3
3
  "files": {
4
4
  "ignoreUnknown": true
5
5
  },
@@ -197,6 +197,16 @@
197
197
  "enabled": true
198
198
  }
199
199
  }
200
+ },
201
+ {
202
+ "includes": ["**/*.config.{ts,js,mjs,cjs,mts,cts}"],
203
+ "linter": {
204
+ "rules": {
205
+ "style": {
206
+ "noDefaultExport": "off"
207
+ }
208
+ }
209
+ }
200
210
  }
201
211
  ]
202
212
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nesvet/biome-config",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Shareable Biome config: formatter, linter, import organization, type-aware rules",
5
5
  "keywords": [
6
6
  "biome",
@@ -46,7 +46,7 @@
46
46
  "@biomejs/biome": "^2.5.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@biomejs/biome": "^2.5.9"
49
+ "@biomejs/biome": "^2.5.10"
50
50
  },
51
51
  "packageManager": "bun@1.4.0"
52
52
  }
package/presets/node.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.5.9/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.10/schema.json",
3
3
  "extends": ["../biome.json"],
4
4
  "linter": {
5
5
  "rules": {