Repository navigation
Commit e38258a
committed
file-safety spec: wrap the added rows and end the file with a newline so the pinned prettier accepts them
The compile job runs pnpm format:check as its first step (.github/workflows/code-qa.yml:107), and that leg
installs the version this head locks - prettier 3.9.10 per pnpm-lock.yaml:7381 - while this machine
installs 3.8.4 from the trunk checkout, so the local leg through pnpm is not the leg CI runs.
Over the parent blob of this file (a8ea1b4) the pinned 3.9.10 reports "All matched files use Prettier
code style!". Over the pushed blob (79c25fe) it flags this file: the rows added last round wrote
conditionalIt(...) and expect(safeWriteText(...)) calls on single lines longer than the 120-column print
width in .prettierrc.json, and the appended block ended without a final newline. Both are inside the
region those rows added; the formatter touched nothing outside it (4 hunks, all between lines 2275 and
2352 of a 2,340-line file). The whole-tree check with 3.9.10 now reports 0 files and exit 0; the leg
rerun prints Test Files 2 passed (2) / Tests 100 passed (100); knip still prints 30 lines with exit 1 and
check-types still prints 176 error lines with exit 2, neither naming a file this unit touched. The per-file
eslint leg still exits 2 without linting anything (the head eslint config imports @eslint/js, which this
host never installed), so it is reported as not run.1 parent 79c25fe commit e38258a
1 file changed
Lines changed: 31 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2272 | 2272 | | |
2273 | 2273 | | |
2274 | 2274 | | |
2275 | | - | |
2276 | | - | |
2277 | | - | |
2278 | | - | |
2279 | | - | |
2280 | | - | |
2281 | | - | |
2282 | | - | |
2283 | | - | |
2284 | | - | |
2285 | | - | |
2286 | | - | |
2287 | | - | |
2288 | | - | |
2289 | | - | |
2290 | | - | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
2291 | 2299 | | |
2292 | 2300 | | |
2293 | 2301 | | |
| |||
2329 | 2337 | | |
2330 | 2338 | | |
2331 | 2339 | | |
2332 | | - | |
| 2340 | + | |
| 2341 | + | |
| 2342 | + | |
2333 | 2343 | | |
2334 | 2344 | | |
2335 | 2345 | | |
2336 | 2346 | | |
2337 | | - | |
| 2347 | + | |
| 2348 | + | |
| 2349 | + | |
2338 | 2350 | | |
2339 | 2351 | | |
2340 | | - | |
| 2352 | + | |
0 commit comments