Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upHow to check .vue files? #750
Comments
This comment has been minimized.
This comment has been minimized.
|
This is a tricky one. I think the easiest way to support this is for you (or someone else) to write a tool that extracts the @zeke did something similar with This definitely doesn't belong in the main |
feross
closed this
Jan 19, 2017
This comment has been minimized.
This comment has been minimized.
|
After I wrote |
This comment has been minimized.
This comment has been minimized.
exah
commented
Jan 20, 2017
•
|
Since $ standard --plugin html '**/*.{js,vue}' |
This comment has been minimized.
This comment has been minimized.
|
@exah - Thank you for that hint - how could I integrate it in Webpack 1 configuration? |
This comment has been minimized.
This comment has been minimized.
|
@exah Wow, that is extremely elegant. Looks like
|
This comment has been minimized.
This comment has been minimized.
|
I just sent a PR to include a section in the readme about these plugins. #753 |
This comment has been minimized.
This comment has been minimized.
Indeed! Good to know it's going in the readme.
Yeah.. after using it with vanilla standard for a few days, it became clear that a few of the rules were too restrictive for code samples, so we added a few exceptions: zeke/standard-markdown#2 |
This comment has been minimized.
This comment has been minimized.
|
Yeah, I mention |
This comment has been minimized.
This comment has been minimized.
|
@exah - Okay, solved it with npm run ... - fine now :-) |
This comment has been minimized.
This comment has been minimized.
ArmorDarks
commented
Feb 13, 2018
|
Does On Windows machine standard --plugin html "**/*.{js,vue}"throws
|
This comment has been minimized.
This comment has been minimized.
exah
commented
Feb 14, 2018
|
@ArmorDarks As of today you should use official |
This comment has been minimized.
This comment has been minimized.
ArmorDarks
commented
Feb 14, 2018
|
Oh, I didn't encounter Still, we'd want to use |
This comment has been minimized.
This comment has been minimized.
lqfxz520
commented
Mar 10, 2018
|
In sublime, how do you check files? |
This comment has been minimized.
This comment has been minimized.
timwis
commented
Apr 6, 2018
|
Just wanted to share how I have it working... is there a better way? I use eslint-config-standard with the following {
"extends": [
"plugin:vue/recommended",
"standard"
],
"parserOptions": {
"ecmaVersion": 2017
}
}I would prefer to use the |
This comment has been minimized.
This comment has been minimized.
ArmorDarks
commented
Apr 10, 2018
|
Yeap, it seems to be impossible to specify which |
scriptPilot commentedJan 19, 2017
Hello everybody! Is there any way, to check
.vuefiles?Only the script path should be checked.
After load these files with Vue Webpack loader, the source code isn't standard anymore, so must be checked before.
Documentation: Vue Single File Components
Example code: