$ npm install @linthtml/linthtml @linthtml/linthtml-pug --save-dev
# or
$ yarn add @linthtml/linthtml @linthtml/linthtml-pug -D
Note: @linthtml/linthtml-pug
requires @linthtml/linthtml>=0.7.0
To use @linthtml/linthtml-pug
, "@linthtml/linthtml-pug" must be specified as the parser in your LintHTML configuration file (see here for more detailed information).
.linthtmlrc.js
module.exports = {
parser: "@linthtml/linthtml-pug"
};