-
-
Notifications
You must be signed in to change notification settings - Fork 29
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: preparing for eslint v9 #400
Conversation
d06e514
to
d42b905
Compare
a79f7a5
to
bf29cc7
Compare
as the node is required to use the new `sourceCode.getScope(node)` API.
it set the coverage threshold to 95% for branches, 99% for lines.
bf29cc7
to
0faa4e6
Compare
.nycrc
Outdated
@@ -0,0 +1,6 @@ | |||
{ | |||
"branches": 94, |
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.
adding the config as the check coverage fails (<99%). but I think it's covered tho:
- sourceCode.xxx was covered when running eslint v8.
- context.xxx was covered when running eslint v7.
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.
Looks good pending the one comment to be fixed.
It's too bad that there's so much work and so many additional checks required for this.
refs: https://eslint.org/blog/2023/09/preparing-custom-rules-eslint-v9/