Skip to content

Commit fb0e8c1

Browse files
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

File tree

lib/rebuild.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
async function rebuild (gyp, argv) {
44
gyp.todo.push(
5-
{ name: 'clean', args: [] }
6-
, { name: 'configure', args: argv }
7-
, { name: 'build', args: [] }
5+
{ name: 'clean', args: [] },
6+
{ name: 'configure', args: argv },
7+
{ name: 'build', args: [] }
88
)
99
}
1010

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
"@commitlint/config-conventional": "^21.0.2",
4242
"bindings": "^1.5.0",
4343
"cross-env": "^10.1.0",
44-
"eslint": "^9.39.1",
44+
"eslint": "^10.11.0",
4545
"mocha": "^11.7.5",
4646
"nan": "^2.23.1",
47-
"neostandard": "^0.13.0",
47+
"neostandard": "^0.14.0-next.1",
4848
"require-inject": "^1.4.4"
4949
},
5050
"scripts": {

0 commit comments

Comments
 (0)