Socket
Book a DemoInstallSign in
Socket

eslintblame

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslintblame

Parse eslint output into git-blame to unveil the offenders

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

eslintblame

Bash script, Fish Shell function, and npm package to parse eslint output into git-blame to unveil the offenders.

eslintblame

Install

Using npm

npm -g install eslintblame

Or on a project:

npm install --save-dev eslintblame

And 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/eslintblame

Manual

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

Shell 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 . | eslintblame

Using standard cli?

Use snazzy to format output:

standard | snazzy | eslintblame

Or replace the command entirely:

snazzy | eslintblame

Notes

eslintblame expects eslint's default stylish format.

Contribute

Just open a Pull Request

License

MIT ♥ — See LICENSE

Keywords

eslint

FAQs

Package last updated on 26 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts