1.0.0 • Published 7 years ago
stylelint-formatter-markdown
Licence
MIT
Version
1.0.0
Deps
1
Size
4 kB
Vulns
0
Weekly
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
stylelintCLI with--custom-formatter=node_modules/stylelint-formatter-markdown.Create your own
formatter.jsthat looks like this:// markdown-formatter.js module.exports = require('stylelint-formatter-markdown')And then run the
stylelintCLI with--custom-formatter=markdown-formatter.js.