2.0.2 • Published 2 months ago

stylint-stylish v2.0.2

Weekly downloads
5,812
License
MIT
Repository
github
Last release
2 months ago

stylint-stylish

Stylish formatter for Stylint

NPM Version Build Status Coverage Status

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

2.0.2

2 months ago

2.0.0

6 years ago

1.4.1

6 years ago

1.4.0

8 years ago

1.3.3

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago