We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Checklist
Tell us about your environment
Please show your full configuration:
module.exports = { extends: [ 'plugin:vue/recommended', ], plugins: ['vue'], rules: { 'vue/script-indent': ['warn', 4, { baseIndent: 1, switchCase: 1, }], }, };
What did you do?
<script lang="ts"> import { computed, defineComponent, PropType, ref, watch, } from '@vue/composition-api';
What did you expect to happen? Nothing
What actually happened? 15:1 warning Expected indentation of 8 spaces but found 4 spaces vue/script-indent
15:1 warning Expected indentation of 8 spaces but found 4 spaces vue/script-indent
Temporary workaround - add 'ImportDeclaration' to ignores option of vue/script-indent rule.
ignores
vue/script-indent
The text was updated successfully, but these errors were encountered:
Looks like this was broken in #1520, because 7.11.1 works good in this case
Sorry, something went wrong.
Wow. That was fast! Thanks
Thanks for reporting this bug! I fixed and released it. https://github.com/vuejs/eslint-plugin-vue/releases/tag/v7.12.1
Successfully merging a pull request may close this issue.
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
Nothing
What actually happened?
15:1 warning Expected indentation of 8 spaces but found 4 spaces vue/script-indent
Temporary workaround - add 'ImportDeclaration' to
ignores
option ofvue/script-indent
rule.The text was updated successfully, but these errors were encountered: