Created
June 2, 2017 22:54
-
-
Save pianosnake/af8b04f9db7987f55832ca2394b74ae0 to your computer and use it in GitHub Desktop.
Find out who wrote the bad JavaScript!! Use `git blame` on each line output by ESLINT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eslint "**/**.js" -f unix | perl -n -l -e '/(.*\.js):(\d*):/ && print "$1 $2"' | xargs -n 2 sh -c 'git blame $0 -L$1,$1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment