Skip to content
Stylish reporter for Stylint
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
screenshots
.babelrc
.codeclimate.yml
.editorconfig
.eslintignore
.eslintrc
.gitattributes
.gitignore
.hound.yml
.travis.yml
LICENSE
README.md
appveyor.yml
package.json
stylish.js
test.js
yarn.lock

README.md

stylint-stylish

Stylish formatter for Stylint

NPM Version Linux build Status Windows Build Status Coverage Status Codeclimate Status

bitHound Dependencies Dependency Status Dev Dependency Status Peer Dependency Status Greenkeeper badge

Screenshots

This reporter

vs original:

Original reporter

Usage

To use it, just set reporter to stylint-stylish in the config (.stylintrc) or when calling stylint programatically.

{
  "reporter": "stylint-stylish",
  "noImportant": true,
  "semicolons": {
    "expect": "always",
    "error": true
  }
}

Options

To use options, add a reporterOptions-object to the config

{
  "reporter": "stylint-stylish",
  "reporterOptions": {
    "absolutePath": true
  },
  "noImportant": true,
  "semicolons": {
    "expect": "always",
    "error": true
  }
}

verbose

Type: boolean, default: false

When printing out a violation, print the full line with the violation as well.

absolutePath

Type: boolean, default: false

When printing out a filename, print the absolute path instead of a relative one

ruleName

Type: boolean, default: false

When printing out a violation, Include the name of the rule at the end

You can’t perform that action at this time.