1.0.0 • Published 4 years ago
stylelint-formatter-markdown v1.0.0
stylelint-formatter-markdown
Format your stylelint results as Markdown tables with helpful links!
Example output
rule | path | text |
---|---|---|
color-no-invalid-hex | test.css | Unexpected invalid hex color "#asldfkjas" (color-no-invalid-hex) |
Install
npm install -D stylelint-formatter-markdown
Usage
You've got two options:
- Run the
stylelint
CLI with--custom-formatter=node_modules/stylelint-formatter-markdown
. Create your own
formatter.js
that looks like this:// markdown-formatter.js module.exports = require('stylelint-formatter-markdown')
And then run the
stylelint
CLI with--custom-formatter=markdown-formatter.js
.