{"id":26125,"library":"puglint-stylish","title":"puglint-stylish","description":"A stylish reporter for pug-lint, heavily inspired by jshint-stylish. Provides colorized, formatted output for lint results when using pug-lint >=1.2 <3.0.0. Version 1.1.0 is the latest stable release; the package is stable but sees infrequent updates. Unlike the default pug-lint reporter, puglint-stylish offers a cleaner, more readable presentation of errors and warnings, making it easier to scan large numbers of lint results.","status":"active","version":"1.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/aranasoft/puglint-stylish","tags":["javascript","pug-lint","puglint","pug","jade","reporter","format","formatter","validate"],"install":[{"cmd":"npm install puglint-stylish","lang":"bash","label":"npm"},{"cmd":"yarn add puglint-stylish","lang":"bash","label":"yarn"},{"cmd":"pnpm add puglint-stylish","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency; the reporter is used with pug-lint CLI, supporting versions >=1.2 <3.0.0","package":"pug-lint","optional":false}],"imports":[{"note":"Package does not export a named reporter; use default import. CommonJS works via default interop.","wrong":"const reporter = require('puglint-stylish')","symbol":"default","correct":"import reporter from 'puglint-stylish'"}],"quickstart":{"code":"// Install: npm install --save-dev pug-lint puglint-stylish\n// Run on the command line:\n// pug-lint --reporter node_modules/puglint-stylish *.pug\n// Example .pug file to lint:\n// file.pug:\n// doctype html\n// html\n//   head\n//     title Test\n//   body\n//     h1 Hello\n// Run: pug-lint --reporter node_modules/puglint-stylish file.pug\n// Output will be styled with colored error/warning counts.","lang":"javascript","description":"Shows how to install puglint-stylish and use it with pug-lint CLI to get styled output."},"warnings":[{"fix":"Use --reporter node_modules/puglint-stylish instead of --reporter puglint-stylish.","message":"Reporter must be specified with full path to node_modules/puglint-stylish, not just the package name.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Downgrade pug-lint to 2.x or use a different reporter.","message":"Requires pug-lint version >=1.2 and <3.0.0. Incompatible with pug-lint 3.x and above.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run: npm install --save-dev puglint-stylish","cause":"The reporter is not installed or not found in node_modules.","error":"Error: Cannot find module 'puglint-stylish'"},{"fix":"Use: --reporter node_modules/puglint-stylish","cause":"The --reporter flag is given just the package name, not the full path.","error":"pug-lint: Unknown reporter 'puglint-stylish'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}