1.0.2 • Published 9 years ago
eslintblame v1.0.2
eslintblame
Bash script, Fish Shell function, and npm package to parse eslint output into git-blame to unveil the offenders.

Install
Using npm
npm -g install eslintblameOr on a project:
npm install --save-dev eslintblameAnd use it in your scripts:
{
"scripts": {
"blame": "eslint . | eslintblame"
}
}NOTES: won't work on windows (unless you're using Bash on Windows).
Using Fish Shell
Recomended
Use fisherman:
fisher install stefanmaric/eslintblameManual
curl -Lo ~/.config/fish/functions/eslintblame.fish --create-dirs git.io/eslintblameShell script as binary file
Download the bash script, copy in somewhere available in your $PATH and give it execution permissions with chmod.
Use
Pipe eslint output to eslintblame
eslint . | eslintblameUsing standard cli?
Use snazzy to format output:
standard | snazzy | eslintblameOr replace the command entirely:
snazzy | eslintblameNotes
eslintblame expects eslint's default stylish format.
Contribute
Just open a Pull Request
License
MIT ♥ — See LICENSE