Package Exports
- @zalari/stylint-checkstyle-reporter
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 (@zalari/stylint-checkstyle-reporter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@zalari/stylint-checkstyle-reporter
Checkstyle reporter for Stylint
Install
To install for a local project:
npm install --save-dev @zalari/stylint-checkstyle-reporterOr install as global package:
npm install --global @zalari/stylint-checkstyle-reporterUsage
CLI
You need to set reporter to @zalari/stylint-checkstyle-reporter in the .stylintrc config file.
{
"reporter": "@zalari/stylint-checkstyle-reporter",
"blocks": false,
"brackets": "never",
"colons": "always",
"colors": "always",
...
}Non CLI
You need to set reporter to @zalari/stylint-checkstyle-reporter in config object.
const stylint = require('stylint')('path/to/stylus/', {
reporter: "@zalari/stylint-checkstyle-reporter",
brackets: 'always',
namingConvention: 'BEM',
semicolons: 'always',
...
}, callbackFn).create();