Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ format-check:

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

typing:
pnpm run typecheck
Expand Down
6 changes: 4 additions & 2 deletions scripts/templates/biome.generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"root": false,
"$schema": "../../node_modules/@biomejs/biome/configuration_schema.json",
"files": {
"ignoreUnknown": true
"ignoreUnknown": true,
"experimentalScannerIgnores": ["**/dist/**"]
},
"linter": {
"enabled": true,
Expand All @@ -17,7 +18,8 @@
"noDefaultExport": "off"
},
"suspicious": {
"noShadowRestrictedNames": "off"
"noShadowRestrictedNames": "off",
"noEmptyInterface": "off"
},
"performance": {
"noAccumulatingSpread": "off"
Expand Down