Gulp plugin for linting Pug (formerly Jade) template files using pug-lint. Stable version 1.5.0 (2021-02-06), no longer actively maintained (last release 2021). It wraps pug-lint with Gulp streams, supporting custom reporters, fail-after-error mode, and silence-on-success. Key differentiators: no-frills wrapper that works with existing pug-lint configuration files (.pug-lintrc, .pug-lint.json, package.json). Requires Node >=10.x. Alternatives: direct pug-lint CLI or other Gulp linters.
npm install gulp-pug-linterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Gulp task to lint all .pug files using default reporter and fail on errors.
Upgrade Node.js to version 10 or higher.
Use options object, e.g., pugLinter({ reporter: 'default', failAfterError: true }).Migrate to new options object API: pugLinter({ reporter: 'default', failAfterError: true }).Always provide a reporter (e.g., 'default') when using failAfterError.
Ensure reporter value is valid: 'default', a string name, or a reporter function.
Run 'npm install gulp-pug-linter --save-dev'
Use 'const pugLinter = require('gulp-pug-linter');' instead of import or destructuring.Create a .pug-lintrc.json file with pug-lint rules, e.g., { "extends": "clockwork" }