pug-lint configuration for migration to Pug 2.
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.
MIT