stylelint-actions-formatters
v16.3.1
Published
These are copies of the built-in formatters with modified file paths so that Checks Annotations can be created on GitHub Actions. This package should be used with the `xt0rted/stylelint-problem-matcher` action.
Downloads
7,809
Maintainers
Readme
stylelint-actions-formatters
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.