vue-style-lint v1.0.3
vue-style-lint 
A cli style-linter for Vue using the rules and recommendations in the Vue Style Guide. Right now it only checks the order of a component's options as outlined in Priority C Rules: Recommended - Component/instance options order. Each file must be a single-file component and the element order must be <template> - <script> - <style>. If a component has no template of its own, <script> - <style> will also work.
Install
You can install globally:
npm i -g vue-style-lintor locally:
npm i -D vue-style-lintUsage
If you install globally, the vsl command is ready to go. It takes one argument: a single-file component (.vue file) or a folder of them:
If you install locally, you will need something like globally-installed npx to run the vsl command:
Alternatively, you can run the vsl command from your package.json scripts object:
You would then run:
npm run lint:style
Output
One of the following messages logged to the console:
- the component's options are already in order
- the recommended order
- an error message
Author/Maintainer
License
MIT © james south