@io-arc/webpack-loaders-pug-linter
A webpack loader that handles Pug's Lint.
See the documents.
Install
$ npm i @io-arc/webpack-loaders-pug-linter
Usage
import PugLintLoader from '@io-arc/webpack-loaders-pug-linter'
import lint from './.pug-lintrc.json'
export default {
// (abbreviation)
module: {
rules: [PugLintLoader(/^(?!_).*\.pug$/, 'pug-lint-loader', lint)]
}
}