stylelint-actions-formatters
March 30, 2024 ยท View on GitHub
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=stylelint-actions-formatters
Verbose formatter
stylelint "scss/**/*.scss" --custom-formatter=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.