File tree Expand file tree Collapse file tree 2 files changed +46
-3
lines changed Expand file tree Collapse file tree 2 files changed +46
-3
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- pnpm eslint --config eslint.config. generated.mjs --fix ' packages_generated/**/*.ts '
20- pnpm biome format --write 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
2626 pnpm run lint
2727
2828test :
29- pnpm turbo test
29+ pnpm run test
3030
3131test-coverage :
3232 pnpm run test:coverage
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+ "noEmptyInterface" : " off"
22+ },
23+ "performance" : {
24+ "noAccumulatingSpread" : " off"
25+ },
26+ "complexity" : {
27+ "noExcessiveCognitiveComplexity" : " off" ,
28+ "noStaticOnlyClass" : " off" ,
29+ "noBannedTypes" : " off"
30+ }
31+ }
32+ },
33+ "formatter" : {
34+ "enabled" : true
35+ },
36+ "javascript" : {
37+ "formatter" : {
38+ "quoteStyle" : " single" ,
39+ "trailingCommas" : " all" ,
40+ "semicolons" : " asNeeded"
41+ }
42+ }
43+ }
You can’t perform that action at this time.
0 commit comments