Package Exports
- stylelint-actions-formatters
- stylelint-actions-formatters/src/stringFormatter.mjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stylelint-actions-formatters) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.