Skip to content

Commit 77e1a85

Browse files
joyeecheungaduh95
authored andcommitted
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 <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
1 parent 984f7ef commit 77e1a85

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)