# jshint-stylish-ex

> Stylish reporter for JSHint with styling options

Latest version **0.2.0** (published 2013-11-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install jshint-stylish-ex
pnpm add jshint-stylish-ex
yarn add jshint-stylish-ex
bun add jshint-stylish-ex
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2013-11-17 |
| First published | 2013-11-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.8.0 |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Karl-Johan Sjögren |
| Maintainers | karl.sjogren |
| Keywords | jshint, reporter, lint, validate, stylish, elegant, stylish-ex |

## Links

- npm: https://www.npmjs.com/package/jshint-stylish-ex
- Repository: https://github.com/karl-sjogren/jshint-stylish-ex
- Issues: https://github.com/karl-sjogren/jshint-stylish-ex/issues
- npm.io page: https://npm.io/package/jshint-stylish-ex

## Dependencies (3)

- [chalk](https://npm.io/package/chalk.md) ~0.2.1
- [text-table](https://npm.io/package/text-table.md) ~0.2.0
- [util-extend](https://npm.io/package/util-extend.md) ~1.0.1

## 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
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2013-11-17

## README

# jshint-stylish [![Build Status](https://secure.travis-ci.org/karl-sjogren/jshint-stylish-ex.png?branch=master)](http://travis-ci.org/sindresorhus/jshint-stylish)

> Stylish reporter for [JSHint](https://github.com/jshint/jshint)

![screenshot](screenshot.png)

Compared to the default reporter:

![default reporter](screenshot-default-formatter.png)


## Install

Install with [npm](https://npmjs.org/package/jshint-stylish): `npm install --save-dev jshint-stylish-ex`


## Getting started

Use it with:

#### JSHint CLI

```
jshint --reporter node_modules/jshint-stylish-ex/stylish.js file.js
```

#### [grunt-contrib-jshint](https://github.com/gruntjs/grunt-contrib-jshint)

```js
grunt.initConfig({
	jshint: {
		options: {
			reporter: require('jshint-stylish-ex')
		},
		target: ['file.js']
	}
});

grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('default', ['jshint']);
```

## Configuring colors

In this ex edition you can put an optional `.stylishcolors`-file in the root of your project to modify the output colors of the reporter.

```js
{
    "meta": "gray",
    "reason": "blue",
    "verbose": "gray",
    "error": "red",
    "noproblem": "green"
}
```

The colors available are those from [chalk](https://github.com/sindresorhus/chalk), specificly `black`, `red`, `green`, `yellow`, `blue`, `magenta`, `cyan`, `white` and `gray`. There is no support for backgroundcolors or chaning underlines etc.

## License

MIT © [Sindre Sorhus](http://sindresorhus.com), ex-edition by Karl-Johan Sjögren

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