@io-arc/webpack-loaders-pug-linter
A webpack loader that handles Pug's Lint.
#
Usageindex.ts
#
FunctionsPugLintLoader(regex, loader[, linter])
#
Return: webpack.RuleSetRule
Setting Pug lint loader.
Parameters
params | type | default | description |
---|---|---|---|
regex | RegExp | - | Target regular expression |
loader | string | - | Specify the Pug Lint loader to use |
linter | object | (*) | Lint settings |
(*) Lint default