A CLI tool that lints Pug (formerly Jade) templates inside Vue single-file components (.vue). It wraps the pug-lint library and scans template tags with 'lang="pug"' attribute. This is the only package that specifically targets Pug templates in Vue files, as opposed to generic Pug or Vue linting tools. The current stable version is 0.4.0, though the project appears unmaintained since 2018, with no recent releases or activity. It requires pug-lint as a peer dependency. For CI or pre-commit hooks on Vue + Pug projects, it may still function but lacks active support.
npm install pug-lint-vueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs both packages, configures basic pug-lint rules, and runs the CLI against a directory of .vue files.
Consider migrating to other tooling that supports Vue 3 + Pug, e.g., eslint-plugin-vue-pug (if available) or manually lint Pug templates.
For Vue 3 projects, use a different linting approach such as custom ESLint rules or regex-based checks.
Install pug-lint explicitly: npm install pug-lint
Always install pug-lint separately.
npm install pug-lint
Run via npx or install globally: npm install -g pug-lint-vue
Install a specific version of pug-lint that works, e.g., npm install pug-lint@2.6.0
Ensure your .vue template <template> tag explicitly has lang="pug". Remove or ignore other templates.