Skip to content

Commit 1ebe4ed

Browse files
brmnclaude
andauthored
chore: add quality gates (P1) (#7)
* chore: add quality gates — coverage thresholds, publint/attw, biome, renovate Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: update biome.json for v2.4 compatibility + auto-fix lint Schema 2.0.6→2.4.5, organizeImports→assist, include→includes. Applied biome auto-fixes (import sorting, formatting). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: restore reconnecting property removed by biome unsafe fix Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: use conditional exports for proper CJS/ESM type resolution Fixes FalseCJS error from @arethetypeswrong/cli. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1939b7d commit 1ebe4ed

39 files changed

Lines changed: 1786 additions & 1160 deletions

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@ jobs:
2020
cache: npm
2121
- run: npm ci
2222
- run: npm run typecheck
23+
- run: npm run lint
2324
- run: npm run test:unit
2425
- run: npm run build
26+
- run: npx publint
27+
- run: npx @arethetypeswrong/cli --pack .

biome.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.4.5/schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"useIgnoreFile": true
7+
},
8+
"assist": {
9+
"actions": {
10+
"source": {
11+
"organizeImports": "on"
12+
}
13+
}
14+
},
15+
"linter": {
16+
"enabled": true,
17+
"rules": {
18+
"recommended": true,
19+
"correctness": {
20+
"noUnusedImports": "warn",
21+
"noUnusedVariables": "warn"
22+
},
23+
"style": {
24+
"noDefaultExport": "warn"
25+
}
26+
}
27+
},
28+
"formatter": {
29+
"enabled": true,
30+
"indentStyle": "space",
31+
"indentWidth": 2,
32+
"lineWidth": 120
33+
},
34+
"files": {
35+
"includes": ["src/**/*.ts", "test/**/*.ts"]
36+
}
37+
}

0 commit comments

Comments
 (0)