Skip to content

Commit 0c323fa

Browse files
authored
fix: biome generated config (#2581)
1 parent 4ae5b05 commit 0c323fa

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ format-check:
1616

1717
format-generated:
1818
pnpm install
19-
# Cleanup unused imports/variables in generated TS with dedicated config
20-
pnpm biome lint --write --unsafe --config-path scripts/templates/biome.generated.json packages_generated/
19+
pnpm biome lint --write --unsafe --config-path scripts/templates/biome.generated.json --only correctness/noUnusedImports --only correctness/noUnusedVariables packages_generated/
2120

2221
typing:
2322
pnpm run typecheck

scripts/templates/biome.generated.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"root": false,
33
"$schema": "../../node_modules/@biomejs/biome/configuration_schema.json",
44
"files": {
5-
"ignoreUnknown": true
5+
"ignoreUnknown": true,
6+
"experimentalScannerIgnores": ["**/dist/**"]
67
},
78
"linter": {
89
"enabled": true,
@@ -17,7 +18,8 @@
1718
"noDefaultExport": "off"
1819
},
1920
"suspicious": {
20-
"noShadowRestrictedNames": "off"
21+
"noShadowRestrictedNames": "off",
22+
"noEmptyInterface": "off"
2123
},
2224
"performance": {
2325
"noAccumulatingSpread": "off"

0 commit comments

Comments
 (0)