fly-pug-lint
Install
This plugin requires Fly .
npm i -D fly-pug-lint
Usage
By default, fly-pug-lint
uses .pug-lintrc.js
in your project directory as pug-lint
config.
Async/Await flavored:
{ await this source'src/*.pug' /* or pass your custom options to pug-lint * .puglint({ * extends: '.pug-lintrc.js', * disallowIdAttributeWithStaticValue: true, * disallowSpacesInsideAttributeBrackets: null * }) */}
Generator function flavored:
exports { this source'src/*.pug' /* or pass your custom options to pug-lint * .puglint({ * extends: '.pug-lintrc.js', * disallowIdAttributeWithStaticValue: true, * disallowSpacesInsideAttributeBrackets: null * }) */}
Check out Pug-lint documentation for available options.