1.0.0 • Published 4 years ago

stylelint-formatter-markdown v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

stylelint-formatter-markdown

Format your stylelint results as Markdown tables with helpful links!

Example output

rulepathtext
color-no-invalid-hextest.cssUnexpected 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.