-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency eslint to v9 - autoclosed #28354
Conversation
|
The main change in ESLint v9 is the move to flat configs, which are
... but none of them yet support the flat configs required in ESLint 9, so I think this will be blocked for a while. |
Let's block Renovate bot from making PRs for ESLint, until that situation improves: I got partway through the migration to a flat config before hitting the issues above. In case it's helpful next time, here's the partially-upgraded config: eslint.config.jsimport globals from "globals";
export default [
{
files: ["**/*.js"],
extends: ["mdcs", "plugin:compat/recommended"],
plugins: ["html", "import"],
settings: {
polyfills: ["WebGL2RenderingContext"],
},
languageOptions: {
ecmaVersion: 2018,
sourceType: "module",
globals: {
...globals.browser,
...globals.node,
__THREE_DEVTOOLS__: "readonly",
potpack: "readonly",
fflate: "readonly",
Stats: "readonly",
XRWebGLBinding: "readonly",
XRWebGLLayer: "readonly",
GPUShaderStage: "readonly",
GPUBufferUsage: "readonly",
GPUTextureUsage: "readonly",
GPUTexture: "readonly",
GPUMapMode: "readonly",
QUnit: "readonly",
Ammo: "readonly",
XRRigidTransform: "readonly",
XRMediaBinding: "readonly",
CodeMirror: "readonly",
esprima: "readonly",
jsonlint: "readonly",
VideoFrame: "readonly",
},
},
rules: {
"no-throw-literal": ["error"],
quotes: ["error", "single"],
"prefer-const": [
"error",
{
destructuring: "any",
ignoreReadBeforeAssign: false,
},
],
},
},
]; |
This PR contains the following updates:
^8.37.0
->^9.0.0
Release Notes
eslint/eslint (eslint)
v9.2.0
Compare Source
v9.1.1
Compare Source
v9.1.0
Compare Source
v9.0.0
Compare Source
Configuration
📅 Schedule: Branch creation - "after 1am and before 7am on monday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.