Skip to content

Instantly share code, notes, and snippets.

@dslounge
Created May 13, 2019 18:31
Show Gist options
  • Save dslounge/f442310272bb52776a9874d180945975 to your computer and use it in GitHub Desktop.
Save dslounge/f442310272bb52776a9874d180945975 to your computer and use it in GitHub Desktop.
eslint the javascript files changed on your branch
git diff master... --name-only | grep -E '.js$' | xargs ./node_modules/eslint/bin/eslint.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment