diff --git a/Makefile b/Makefile index 138e246e5..3de064076 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/scripts/templates/biome.generated.json b/scripts/templates/biome.generated.json index 24d928c21..36a1525cf 100644 --- a/scripts/templates/biome.generated.json +++ b/scripts/templates/biome.generated.json @@ -2,7 +2,8 @@ "root": false, "$schema": "../../node_modules/@biomejs/biome/configuration_schema.json", "files": { - "ignoreUnknown": true + "ignoreUnknown": true, + "experimentalScannerIgnores": ["**/dist/**"] }, "linter": { "enabled": true, @@ -17,7 +18,8 @@ "noDefaultExport": "off" }, "suspicious": { - "noShadowRestrictedNames": "off" + "noShadowRestrictedNames": "off", + "noEmptyInterface": "off" }, "performance": { "noAccumulatingSpread": "off"