npm.io
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:

  1. Run the stylelint CLI with --custom-formatter=node_modules/stylelint-formatter-markdown.

  2. 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.

Keywords