Commit f342370
Address PR review nits: drop dead printGlobResults, enforce lint
Two small fixes from the code review:
1. printGlobResults gulpfile helper called globby.sync(...), but globby
dropped the .sync property in 14.x (we ship 16.2). The function had
no callers — debug-only and silently broken. Deleted. With it gone,
the only direct use of globby is removed, so the direct dep is
pruned too (del still pulls its own nested globby@14, untouched).
2. The lint task previously called done() unconditionally, swallowing
eslint's non-zero exit code "to match legacy gulp-tslint behavior."
That was a sensible default while the rule set was inherited and
undisciplined; now that the rule set is curated in this PR and the
codebase is lint-clean, propagate the exit code so a future lint
regression actually fails the build (and CI). Same pattern the
tsc task uses.
Verified: npm run build still clean (0 lint errors, 8.5s end-to-end),
npm audit still 0.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent eef980a commit f342370
3 files changed
Lines changed: 2 additions & 60 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 44 | | |
53 | 45 | | |
54 | 46 | | |
| |||
155 | 147 | | |
156 | 148 | | |
157 | 149 | | |
158 | | - | |
159 | | - | |
160 | | - | |
| 150 | + | |
| 151 | + | |
161 | 152 | | |
162 | 153 | | |
163 | 154 | | |
| |||
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 | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
0 commit comments