-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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: use eslint v8 #6749
feat: use eslint v8 #6749
Conversation
5041c4a
to
0181075
Compare
@@ -32,6 +32,6 @@ | |||
}, | |||
"peerDependencies": { | |||
"@vue/cli-service": "^3.0.0 || ^4.0.0 || ^5.0.0-0", | |||
"eslint": ">=7.5.0" | |||
"eslint": "^8.0.0" |
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 think this is not necessary now that the plugin is still compatible with ESLint 7.
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 can revert no problem. I was wondering: how to test that there is no issue with eslint v7? Duplicate all tests for v7 and v8? Or do we just assume it works?
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.
For now, it should work, because we didn't touch any code in index.js
or lint.js
.
In the future, yes, a dedicated test setup for ESlint 7 is needed.
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.
All right let's keep >=7.5.0
for now then.
PR updated.
0181075
to
a3e3ac2
Compare
b0b07ab
to
2e85e80
Compare
2e85e80
to
4f05f65
Compare
Updates the dependencies installed by `@vue/cli-plugin-eslint` to use eslint v8. Plugins are alo updated (when possible) to support eslint v8. Tests have been added to check each configuration.
4f05f65
to
50f4594
Compare
Updates the dependencies installed by
@vue/cli-plugin-eslint
to use eslint v8.Plugins are alo updated (when possible) to support eslint v8. Some are not yet updated, and a comment with relevant issue has been added in that case.
Tests have been added to check each configuration, and they all succeed, despite some plugins not yet updated.
Fixes #6740
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
Other information: