File tree Expand file tree Collapse file tree 2 files changed +46
-2
lines changed Expand file tree Collapse file tree 2 files changed +46
-2
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ format-check:
1616
1717format-generated :
1818 pnpm install
19- # Format and organize imports for generated TS without linting
20- pnpm biome check --write --linter-enabled=false packages_generated/
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/
2121
2222typing :
2323 pnpm run typecheck
Original file line number Diff line number Diff line change 1+ {
2+ "root" : false ,
3+ "$schema" : " ../../node_modules/@biomejs/biome/configuration_schema.json" ,
4+ "files" : {
5+ "ignoreUnknown" : true
6+ },
7+ "linter" : {
8+ "enabled" : true ,
9+ "rules" : {
10+ "recommended" : false ,
11+ "correctness" : {
12+ "noUnusedVariables" : " error" ,
13+ "noUnusedImports" : " error"
14+ },
15+ "style" : {
16+ "useNamingConvention" : " off" ,
17+ "noDefaultExport" : " off"
18+ },
19+ "suspicious" : {
20+ "noShadowRestrictedNames" : " off"
21+ },
22+ "performance" : {
23+ "noAccumulatingSpread" : " off"
24+ },
25+ "complexity" : {
26+ "noExcessiveCognitiveComplexity" : " off" ,
27+ "noStaticOnlyClass" : " off" ,
28+ "noBannedTypes" : " off"
29+ }
30+ }
31+ },
32+ "formatter" : {
33+ "enabled" : true
34+ },
35+ "javascript" : {
36+ "formatter" : {
37+ "quoteStyle" : " single" ,
38+ "trailingCommas" : " all" ,
39+ "semicolons" : " asNeeded"
40+ }
41+ }
42+ }
43+
44+
You can’t perform that action at this time.
0 commit comments