Skip to content

Instantly share code, notes, and snippets.

@fud
Created March 8, 2017 00:12
Show Gist options
  • Select an option

  • Save fud/b476ffdc574df68f1888ad7a59c94d3b to your computer and use it in GitHub Desktop.

Select an option

Save fud/b476ffdc574df68f1888ad7a59c94d3b to your computer and use it in GitHub Desktop.
Run jshint on files modified in a branch.
git diff --name-only master | xargs jshint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment