Skip to content
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

Merged
merged 2 commits into from Apr 12, 2024

Conversation

mdjermanovic
Copy link
Member

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 its package.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?

@mdjermanovic mdjermanovic requested a review from a team as a code owner April 12, 2024 08:19
@eslint-github-bot eslint-github-bot bot added the chore This change is not user-facing label Apr 12, 2024
@mdjermanovic mdjermanovic added the accepted There is consensus among the team that this change meets the criteria for inclusion label Apr 12, 2024
Copy link

netlify bot commented Apr 12, 2024

Deploy Preview for docs-eslint canceled.

Name Link
🔨 Latest commit 31129e1
🔍 Latest deploy log https://app.netlify.com/sites/docs-eslint/deploys/661910f437ae100008f3b6da

@@ -68,7 +68,6 @@ const jsConfigs = [js.configs.recommended, {
"no-caller": "error",
"no-confusing-arrow": "error",
"no-console": "error",
"no-constant-binary-expression": "error",
Copy link
Member Author

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.

Copy link
Member

@aladdin-add aladdin-add left a 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.

@mdjermanovic
Copy link
Member Author

Good catch! Fixed in 31129e1

Copy link
Member

@aladdin-add aladdin-add left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@aladdin-add aladdin-add merged commit 32c08cf into main Apr 12, 2024
18 checks passed
@aladdin-add aladdin-add deleted the eslint-config-eslint-v10 branch April 12, 2024 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion chore This change is not user-facing
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

None yet

2 participants