-
-
Notifications
You must be signed in to change notification settings - Fork 678
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
rules vue/script-indent unexpected error report while force using semicolon #443
Comments
I am also experiencing this issue (similar one) Versions:
Image below has error:
This image has the error:
My
|
by the way, this issue was not only got false positive error report with semicolon, also with trailing comma <script>
Promise.all([
Promise.resolve()
.then(() => {
}), // Expected indentation of 4 spaces but found 6 spaces vue/script-indent
])
</script> and if remove that comma indent was fine but with missing trailing comma if trailing comma rule was set to always |
Yeah, I confirmed it, seems that this line is causing that: c6d25af#r27776203 |
I'm closing it in favour of #441 |
code


when using semicolon, it reports invalid indentation.
while remove the semi, indentation is valid, but it reports semi missing.
minimal reproduce repo https://github.com/noe132/eslint-plugin-vue-test
Tell us about your environment
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
What did you expect to happen?
linting good with no error
What actually happened? Please include the actual, raw output from ESLint.
The text was updated successfully, but these errors were encountered: