Command line tool to lint Pug templates in Vue single file components.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin add basic implementation Nov 17, 2016
lib Add htmlparser2 and remove htmlparser Apr 10, 2017
.editorconfig add editorconfig Jan 24, 2017
.eslintrc setup eslint Jan 27, 2017
.gitignore ignore debug log Nov 17, 2016
.travis.yml fix travis slack notifications Jan 27, 2017
license.md add license file Jan 23, 2017
package.json bump version number Apr 18, 2017
readme.md add travis-ci badge Jan 27, 2017
yarn.lock Add htmlparser2 and remove htmlparser Apr 10, 2017

readme.md

pug-lint-vue

npm npm downloads Build Status js-standard-style

Command line tool to lint Pug templates in Vue single file components. It uses pug-lint under the hood.

Installation

$ npm install pug-lint-vue

Usage

$ 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 assets