stylelint-actions-formatters

16.3.1 • Public • Published

stylelint-actions-formatters

CI CodeQL npm version

These are copies of the built-in Stylelint formatters with modified file paths so that Checks Annotations can be created on GitHub Actions when your package.json is not in the root of the repository. This package should be used with the stylelint-problem-matcher action.

To help with compatibility the version of this package matches the version of StyleLint that the formatters came from. It also has a peer dependency on that version.

Usage

String formatter

 stylelint "scss/**/*.scss" --custom-formatter=node_modules/stylelint-actions-formatters

Verbose formatter

 stylelint "scss/**/*.scss" --custom-formatter=node_modules/stylelint-actions-formatters/src/verboseFormatter.mjs

Note: If you're not running on GitHub Actions then these reporters will function the same as the ones that ship with Stylelint.

Package Sidebar

Install

npm i stylelint-actions-formatters

Weekly Downloads

1,260

Version

16.3.1

License

MIT

Unpacked Size

60.5 kB

Total Files

15

Last publish

Collaborators

  • xt0rted