JSPM

@zalari/stylint-checkstyle-reporter

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q27405F
  • License MIT

Checkstyle reporter for Stylint

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