-
Notifications
You must be signed in to change notification settings - Fork 37
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
feat: Add support for ESLint v9 #356
Conversation
Unfortunately this is a duplicate of #353. Please leave this PR open so I can keep both in sync (in the future, instead of opening a duplicate PR, please comment with a link to commits on the existing one, and I can pull them in) |
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.
I don't see any tests here.
Can you rebase these changes on top of #353 and ensure there's adequate passing tests?
|
||
You'll probably also need to add `--ext .js, .cjs, .mjs` if you're working with one of the new Javascript filename extensions in your project. | ||
|
||
<u>**Note:**</u> ESLint v9 support requires a recent version of Node.JS: `^18.18.0 || ^20.9.0 || >=21.1.0`, as mentionned in the [ESLint documentation](https://eslint.org/docs/latest/use/migrate-to-9.0.0#-nodejs--v1818-v19-are-no-longer-supported). |
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.
<u>**Note:**</u> ESLint v9 support requires a recent version of Node.JS: `^18.18.0 || ^20.9.0 || >=21.1.0`, as mentionned in the [ESLint documentation](https://eslint.org/docs/latest/use/migrate-to-9.0.0#-nodejs--v1818-v19-are-no-longer-supported). | |
<u>**Note:**</u> ESLint v9 support requires a recent version of Node.JS: `^18.18.0 || ^20.9.0 || >=21.1.0`, as mentioned in the [ESLint documentation](https://eslint.org/docs/latest/use/migrate-to-9.0.0#-nodejs--v1818-v19-are-no-longer-supported). |
@@ -49,8 +49,9 @@ | |||
"codecov": "^2.3.1", | |||
"commitizen": "^2.10.1", | |||
"create-require": "^1.1.1", | |||
"cross-env": "^7.0.3", |
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.
unfortunately we support 10.12, and cross-env 7 requires 10.14. we can use v6 tho.
"cross-env": "^7.0.3", | |
"cross-env": "^6.0.3", |
I believe this is now obviated by #353. |
Description
Continuing the flat config support in v9 #351
LegacyESLint
class when it is defined^18.18.0 || ^20.9.0 || >=21.1.0
.eslintignore
byignorePatterns
at the root level of the project to remove warning message in the tests