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
I followed the issue template, but, see the last section for a quick look.
Tell us about your environment
Linting a front-end with difference .vue and .js files with help of SublimeLinter plugin for Sublime Text 3.
.vue
.js
Please show your full configuration:
{ ... "rules": { "linebreak-style": [ "error", "unix" ], "quotes": [ "error", "single" ], "semi": [ "error", "always" ], "vue/script-indent": [ "error", "tab", {"baseIndent": 1} ], } ... }
What did you do? Please include the actual source code causing the issue.
Umm, I wrote code? I mean it happened when I tried to use vue/script-indent.
vue/script-indent
<script type="text/javascript"> export default { ... destroyed: function() { ... }, methods: { moment: moment.utc, shorten, summarize, }, // This is line 101 ... }; </script>
What did you expect to happen?
I expected no lint issues to be reported.
What actually happened? Please include the actual, raw output from ESLint.
From terminal:
101:1 error Expected indentation of 4 tabs but found 2 tabs vue/script-indent
Also it's not this only specific case, it happens everywhere in my files. I was able to capture this pattern:
ifs like this make the line unrelated to the if statement required to be indented to if's block level too.
if
The text was updated successfully, but these errors were encountered:
Thank you for the report. I confirmed that I can reproduce it: Oneline demo
Sorry, something went wrong.
script-indent
mysticatea
No branches or pull requests
Tell us about your environment
Linting a front-end with difference
.vue
and.js
files with help of SublimeLinter plugin for Sublime Text 3.Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
Umm, I wrote code? I mean it happened when I tried to use
vue/script-indent
.What did you expect to happen?
I expected no lint issues to be reported.
What actually happened? Please include the actual, raw output from ESLint.
From terminal:
Also it's not this only specific case, it happens everywhere in my files. I was able to capture this pattern:
if
s like this make the line unrelated to theif
statement required to be indented toif
's block level too.The text was updated successfully, but these errors were encountered: