-
-
Notifications
You must be signed in to change notification settings - Fork 696
Docs: update README.md #393
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
Conversation
README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this sounds a bit more natural:
Why doesn't it work on .vue file?
README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extracts the content from <script> tags, but ...
in order to distinguish template and script in single file components
README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps: Make sure your tool is set to lint .vue files.
README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
autoFix
is not necessary I guess :)
It's enought to just add another language to array, like so:
"eslint.validate": [
"javascript",
"javascriptreact",
"vue",
"vue-html"
],
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's necessary because vscode-eslint
does not fix code on additional file types by default. (microsoft/vscode-eslint#185)
Thank you for the correction! I updated this PR.
* Docs: update README.md * fix grammer
This adds two things and removes one thing:
eslint --fix
andbabel-eslint
.eslint-plugin-html
.vue/script-indent
.