pug-lint-config-migration-v2
v1.0.2
Published
pug-lint configuration to help migrate to Pug v2.
Downloads
28
Readme
pug-lint-config-migration-v2
pug-lint configuration for migration to Pug 2.
How to use
First, install pug-lint and this configuration package:
$ npm i --save-dev pug-lint pug-lint-config-migration-v2
Next, add a .pug-lintrc.json
file in your project root:
{
"extends": "migration-v2"
}
And now, you can run the linter as
$ ./node_modules/.bin/pug-lint .
You should see a list of errors that might prevent your app from working properly in Pug 2.
License
MIT