Commit 015031d
Run lint locally before tests; fix parameter-property lint error (#250)
CI runs `npm run lint` but the local `npm test` did not, so lint
failures (like the eslint parameter-property warning in malloySQL.ts)
only showed up at publish time. Add `pretest`/`pretest-silent` hooks so
lint gates the local test run, and fix the existing violation by
collapsing the VirtualURIFileHandler constructor into a parameter
property.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 94fe16d commit 015031d
2 files changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 23 | + | |
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
| |||
0 commit comments