# gulp-jscs-stylish

> Stylish reporter for gulp-jscs

Latest version **1.4.0** (published 2016-04-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-jscs-stylish
pnpm add gulp-jscs-stylish
yarn add gulp-jscs-stylish
bun add gulp-jscs-stylish
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.0 |
| Published | 2016-04-18 |
| First published | 2015-01-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Author | Christoph Werner |
| Maintainers | gonsfx |
| Keywords | gulpplugin, jscs, reporter, code style, formatter, lint, linter, style guide, validate, stylish, elegant |

## Links

- npm: https://www.npmjs.com/package/gulp-jscs-stylish
- Repository: https://github.com/gonsfx/gulp-jscs-stylish
- Homepage: https://github.com/gonsfx/gulp-jscs-stylish#readme
- Issues: https://github.com/gonsfx/gulp-jscs-stylish/issues
- npm.io page: https://npm.io/package/gulp-jscs-stylish

## Dependencies (2)

- [gulp-tap](https://npm.io/package/gulp-tap.md) ^0.1.3
- [jshint-stylish](https://npm.io/package/jshint-stylish.md) ^2.0.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 1.4.0 (latest) — 2016-04-18
- 1.3.0 — 2015-11-30
- 1.2.1 — 2015-09-25
- 1.2.0 — 2015-09-24
- 1.1.2 — 2015-08-13
- 1.1.1 — 2015-07-29
- 1.1.0 — 2015-04-02
- 1.0.2 — 2015-03-08
- 1.0.1 — 2015-01-29
- 1.0.0 — 2015-01-21

## README

# gulp-jscs-stylish

Stylish reporter for [gulp-jscs](https://github.com/jscs-dev/gulp-jscs), uses [jshint-stylish](https://github.com/sindresorhus/jshint-stylish) to do the actual reporting:

![screenshot](screenshot.png)

Compared to the default output:

![screenshot](screenshot2.png)

## Install

```sh
$ npm i --save-dev gulp-jscs-stylish
```


## Usage

```js
var jscs = require('gulp-jscs');
var noop = function () {};
var stylish = require('gulp-jscs-stylish');

gulp.task('default', function () {
	gulp.src([ 'file.js' ])
		.pipe(jscs())      // enforce style guide
		.pipe(stylish());  // log style errors
});
```


## Combine results with those of JSHint

```js
var jscs = require('gulp-jscs');
var jshint = require('gulp-jshint');
var noop = function () {};
var stylish = require('gulp-jscs-stylish');

gulp.task('default', function () {
	gulp.src([ 'file.js' ])
		.pipe(jshint())                           // hint (optional)
		.pipe(jscs())                             // enforce style guide
		.pipe(stylish.combineWithHintResults())   // combine with jshint results
		.pipe(jshint.reporter('jshint-stylish')); // use any jshint reporter to log hint
		                                          // and style guide errors
});
````
using `.pipe(jshint())` is optional. you may very well use the reporter without running jshint

## License

MIT © [Christoph Werner](http://twitter.com/gonsfx)

---
_Source: https://npm.io/package/gulp-jscs-stylish · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
