0.4.0 • Published 6 years ago
pug-lint-vue v0.4.0
pug-lint-vue
Command line tool to lint Pug templates in Vue single file components. It uses pug-lint under the hood.
Installation
$ npm install pug-lint-vueUsage
$ pug-lint-vue [options] <file ...>Options
-h, --help: output usage information-V, --version: output the version number-c, --config <path>: configuration file path (see pug-lint for more information)
Example
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 assetsDevelopment
Build the docker container via:
$ docker build . -t pug-lint-vueUse docker compose to work on the files:
$ docker-compose up
$ docker-compose exec app bash