fly-pug-lint is a plugin for the Fly task runner (version 0.0.11) that integrates pug-lint for linting Pug (formerly Jade) templates. It allows developers to lint Pug files using Fly's streaming API, supporting both async/await and generator function syntax. The plugin delegates to pug-lint for configuration, typically using a .pug-lintrc.js file. It requires Fly ^1.3.1 as a peer dependency. Compared to standalone pug-lint, it offers seamless integration with Fly workflows but is limited by Fly's maintenance status.
npm install fly-pug-lintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to lint Pug files using fly-pug-lint with custom options in an async task.
Migrate to another task runner like Gulp or use standalone pug-lint.
Use import { puglint } from 'fly-pug-lint' or require('fly-pug-lint').puglint.Use require('fly-pug-lint').puglint or import { puglint } from 'fly-pug-lint'.Ensure Fly version is >=1.3.1.
Ensure fly-pug-lint is installed (npm install -D fly-pug-lint) and import { puglint } from 'fly-pug-lint' in your Flyfile.Install pug-lint: npm install -D pug-lint
Install Fly: npm install -D fly@^1.3.1