# eslintblame

> Parse eslint output into git-blame to unveil the offenders

Latest version **1.0.2** (published 2017-01-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslintblame
pnpm add eslintblame
yarn add eslintblame
bun add eslintblame
```

Provides the command `eslintblame`.

## 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.0.2 |
| Published | 2017-01-26 |
| First published | 2017-01-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13 |
| Author | Stefan Maric |
| Maintainers | stefanmaric |
| Keywords | eslint, standard, snazzy, git, blame, fishshell, bash |

## Links

- npm: https://www.npmjs.com/package/eslintblame
- Repository: https://github.com/stefanmaric/eslintblame
- Homepage: https://github.com/stefanmaric/eslintblame#readme
- Issues: https://github.com/stefanmaric/eslintblame/issues
- npm.io page: https://npm.io/package/eslintblame

## 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

- 1.0.2 (latest) — 2017-01-26
- 1.0.1 — 2017-01-26
- 1.0.0 — 2017-01-26

## README

eslintblame
===========

[Bash script](./bin/eslintblame), [Fish Shell function](./functions/eslintblame.fish), and [npm package](https://www.npmjs.com/package/eslintblame) to parse eslint output into git-blame to unveil the offenders.

![eslintblame](https://i.imgur.com/0l7QyeA.gif)

## Install

### Using npm

```shell
npm -g install eslintblame
```

Or on a project:

```
npm install --save-dev eslintblame
```

And use it in your scripts:

```json
{
  "scripts": {
    "blame": "eslint . | eslintblame"
  }
}
```

**NOTES**: won't work on windows (unless you're using [Bash on Windows](https://msdn.microsoft.com/en-us/commandline/wsl/about)).

### Using [Fish Shell](https://fishshell.com/)

#### Recomended

Use [fisherman](http://fisherman.sh/):

```shell
fisher install stefanmaric/eslintblame
```

#### Manual

```shell
curl -Lo ~/.config/fish/functions/eslintblame.fish --create-dirs git.io/eslintblame
```

### Shell script as binary file

Download the [bash script](./bin/eslint), copy in somewhere available in your `$PATH` and give it execution permissions with `chmod`.

## Use

Pipe eslint output to `eslintblame`

```shell
eslint . | eslintblame
```

### Using [standard cli](http://standardjs.com/)?

Use [`snazzy`](https://www.npmjs.com/package/snazzy) to format output:

```shell
standard | snazzy | eslintblame
```

Or replace the command entirely:

```shell
snazzy | eslintblame
```

## Notes

`eslintblame` expects [eslint's default stylish format](http://eslint.org/docs/user-guide/formatters/#stylish).

## Contribute

Just open a Pull Request

## License

MIT ♥ — See [LICENSE](./LICENSE)

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