Skip to content

Command line tool to lint Pug templates in Vue single file components.

License

Notifications You must be signed in to change notification settings

okTurtles/pug-lint-vue

 
 

Repository files navigation

⚠️ Deprecated: This project is not actively maintained anymore. Use it at your own risk. Here are some helpful ressources:

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

About

Command line tool to lint Pug templates in Vue single file components.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.1%
  • Dockerfile 3.9%