Created
May 18, 2012 19:14
-
-
Save rhowardiv/2727118 to your computer and use it in GitHub Desktop.
jshint all the files I've touched
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
| git log --name-status | gawk '/Richard Howard/{c = 1} /^commit/{c = 0} /^M |^A /{ if (c == 1) print $2 }' | grep '.js$\|.html$' | uniq | while read F; do if [ -f "$F" ]; then jshint "$F" --config=~/.jshintrc; fi; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment