Command line tool to lint Pug templates in Vue single file components. It uses pug-lint under the hood.
$ npm install pug-lint-vue
$ pug-lint-vue [options] <file ...>
-h, --help
: output usage information-V, --version
: output the version number-c, --config <path>
: configuration file path (see pug-lint for more information)
The following example scans the assets
directory for .vue
files and outputs lint errors in <template>
tags with the attribute lang="pug"
set.
$ pug-lint-vue assets