@zalari/stylint-checkstyle-reporter
v0.0.1
Published
Checkstyle reporter for Stylint
Downloads
7
Readme
@zalari/stylint-checkstyle-reporter
Checkstyle reporter for Stylint
Install
To install for a local project:
npm install --save-dev @zalari/stylint-checkstyle-reporter
Or install as global package:
npm install --global @zalari/stylint-checkstyle-reporter
Usage
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();