@zalari/stylint-checkstyle-reporter

0.0.1 • Public • Published

@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();

Dependents (0)

Package Sidebar

Install

npm i @zalari/stylint-checkstyle-reporter

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

8.34 kB

Total Files

7

Last publish

Collaborators

  • albreax
  • davidenke
  • christianulbrich