-
-
Notifications
You must be signed in to change notification settings - Fork 682
vue/script-indent false positive on switch case in methods #459
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
Labels
Comments
Similar issue here:
.eslintrc config:
|
I'm closing it in favour of #441 |
@evenfrost adding |
@KaelWD thanks, but with |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tell us about your environment
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
When using
switch
case in methods with configuredvue/script-indent
param, eslint-plugin-vue falsely reports wrong indentation inside it as seen here:However, when changing indentation to that considered proper one by
vue/script-indent
(which is actually wrong), 'native'indent
ESLint rule comes in:The text was updated successfully, but these errors were encountered: