Skip to content

Commit e05756f

Browse files
authored
tools: revert to use @stylistic/eslint-plugin-js v3
@stylistic/eslint-plugin-js v4 has been updated to ship ESM-only, which needs require(esm) support due to the monkey-patching we do in our eslint.config.mjs. The node-test-linter job in Jenkins still runs Node.js v20 which has not yet released unflagging of require(esm). Revert to use v3 for now until we upgrade the Node.js version used in the CI. PR-URL: #57314 Refs: #57261 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]>
1 parent db00f94 commit e05756f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tools/eslint/package-lock.json

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/eslint/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"@babel/eslint-parser": "^7.26.8",
88
"@babel/plugin-syntax-import-attributes": "^7.26.0",
99
"@babel/plugin-syntax-import-source": "^7.25.9",
10-
"@stylistic/eslint-plugin-js": "^4.1.0",
10+
"@stylistic/eslint-plugin-js": "^3.0.1",
1111
"eslint": "^9.21.0",
1212
"eslint-formatter-tap": "^8.40.0",
1313
"eslint-plugin-jsdoc": "^50.6.3",

0 commit comments

Comments
 (0)