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
chore: drop Node < 18 and use @eslint/js v9 in eslint-config-eslint #18323
Conversation
✅ Deploy Preview for docs-eslint canceled.
|
@@ -68,7 +68,6 @@ const jsConfigs = [js.configs.recommended, { | |||
"no-caller": "error", | |||
"no-confusing-arrow": "error", | |||
"no-console": "error", | |||
"no-constant-binary-expression": "error", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This rule is now in the recommended
config so no need to enable it here again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could also replace no-new-object
=> no-object-constructor
(it has been deprecated in eslint v8.50.0). otherwise LGTM.
Good catch! Fixed in 31129e1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Prerequisites checklist
What is the purpose of this pull request? (put an "X" next to an item)
[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[x] Other, please explain:
Updates
eslint-config-eslint
to use@eslint/js
v9. Also updates itspackage.engines
accordingly.What changes did you make? (Give an overview)
Updated eslint-config-eslint as per the above.
Is there anything you'd like reviewers to focus on?