Commit fb0e8c1
committed
build(deps-dev): bump eslint to 10 and neostandard to 0.14.0-next.1
eslint 10 cannot be bumped on its own: neostandard 0.13.0 declares
`peer eslint@^9.0.0`, so bumping eslint alone makes `npm install` fail
with ERESOLVE and takes down every CI job, including ones unrelated to
linting. That is what happens in #3371, which this replaces.
neostandard 0.14.0-next.1 widens the peer range to `^9.22.0 || ^10.0.0`.
It is still a prerelease, but the blast radius is limited to the lint
job, and the caret range picks up the stable 0.14.0 once it ships.
The resulting rule set is unchanged: 154 active rules before and after,
the only difference being @stylistic/func-call-spacing renamed to
@stylistic/function-call-spacing. The single new violation is the
comma-first style in lib/rebuild.js, fixed here via `eslint --fix`.
Worth doing now rather than later: the whole eslint 9.x line is marked
deprecated on npm.1 parent 03c7b3b commit fb0e8c1
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments