A table formatter for Stylelint that outputs lint results in a readable tabular format. Current stable version is 1.0.4 (as of 2023). This is a small utility with no active development; designed for CLI, Webpack, gulp, and grunt integrations. Key differentiator: simple table layout with colorized severity indicators, easier to scan than default JSON or verbose output.
npm install stylelint-formatter-tableNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use the table formatter both via CLI and programmatically with ESM imports.
Use CommonJS require() or set up a bundler that handles CJS. Alternatively, use dynamic import().
Create a declaration file (e.g., 'declare module 'stylelint-formatter-table'' in a .d.ts file).
Check if the formatter meets your current Stylelint version's API. For newer Stylelint (>=14), the formatter API may have changed; test compatibility.
Run 'npm install stylelint-formatter-table --save-dev'.
Use 'import stylelintFormatter from 'stylelint-formatter-table'' or CommonJS require.
Ensure you pass the formatter function directly, not a string path. For CLI use --custom-formatter flag with absolute or relative path.
No dependency data recorded yet.