Closed Kequc closed 7 years ago
Hello,
I'm trying this template with vue-cli and have everything running relatively without any issue however .vue files seem to allow any formatting.
vue-cli
.vue
My indent rule for example is not being adhered to it seems no rules apply.
indent
// .eslintrc { "extends": "standard", "rules": { "indent": ["error", 4], "comma-dangle": ["error", "never"] }, "plugins": [ "html" ], "env": { "jasmine": true } }
I'm using visual studio code which reports no Eslint loading errors. Regular .js files are being linted correctly. Please tell me what I am doing wrong?
Eslint
.js
I chose all defaults during scaffolding.
Sorry. I forgot I opened this issue. The Vetur plugin needs to be added to VSCode to fix the issue.
Vetur
Hello,
I'm trying this template with
vue-cli
and have everything running relatively without any issue however.vue
files seem to allow any formatting.My
indent
rule for example is not being adhered to it seems no rules apply.I'm using visual studio code which reports no
Eslint
loading errors. Regular.js
files are being linted correctly. Please tell me what I am doing wrong?I chose all defaults during scaffolding.