pug-lint-vue

Command line tool to lint Pug templates in Vue single file components.
28,896
Install
npm install pug-lint-vue
Latest Version:0.4.0
License:MIT
Last Updated:Apr 24, 2020
Links: npm
Maintainer: krns

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

Development

Build the docker container via:

$ docker build . -t pug-lint-vue

Use docker compose to work on the files:

$ docker-compose up
$ docker-compose exec app bash

Related Packages

sass-lint-vue

Command line tool to lint Sass styles in Vue single file components.

12,901
requirejs-vue

An AMD loader for Vue components 🤘🏽. Pug 🐶 supported.

2,437 42
@neomanex/vitepress-docs-lint

Lint VitePress markdown for frontmatter YAML errors and unclosed elements, repor...

0 0
nuxt-layerscope

Linter for Nuxt layer boundaries that sees auto-imports

2,773 4
vue-cli-plugin-pug

Vue CLI 3 plugin to add pug templating to your components and compilation of .pu...

183,888 44

Version History

Version Released License
0.4.0 MIT
0.3.0 MIT
0.2.0 MIT
0.1.3 MIT
0.1.2 MIT