Commit 9e57b44
bgagent
chore(ci): harden dead-code ratchet + comment accuracy (#282 review nits)
Non-blocking follow-ups from krokoko's review:
- Pin knip exactly (6.20.0, drop caret) and make the ratchet fail loud
instead of open: if a future knip reshapes its JSON so `issues` is not
an array, countIssues now exits 2 rather than silently counting 0 and
reporting a passing build (which would disable the gate). Needed before
the gate flips to blocking.
- COUNTED_KEYS comment: note the list is complete for the pinned knip and
that nsExports/nsTypes/classMembers are not part of its schema.
- validation.ts: attribute the `void` to tsconfig noUnusedLocals
specifically (no-unused-vars already exempts the ^_ binding).1 parent 68df6c8 commit 9e57b44
4 files changed
Lines changed: 24 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
294 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
295 | 296 | | |
296 | 297 | | |
297 | 298 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
51 | 57 | | |
52 | 58 | | |
53 | 59 | | |
| |||
87 | 93 | | |
88 | 94 | | |
89 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
90 | 108 | | |
91 | | - | |
| 109 | + | |
92 | 110 | | |
93 | 111 | | |
94 | 112 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments