Socket
Socket
Sign inDemoInstall

@zalari/stylint-checkstyle-reporter

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @zalari/stylint-checkstyle-reporter

Checkstyle reporter for Stylint


Version published
Maintainers
1
Install size
9.29 kB
Created

Readme

Source

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

Keywords

FAQs

Last updated on 26 Jun 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc