Skip to content

Instantly share code, notes, and snippets.

@lili21
Created April 24, 2017 06:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lili21/9ef7e116eab9a1730e3265f6e7575b90 to your computer and use it in GitHub Desktop.
Save lili21/9ef7e116eab9a1730e3265f6e7575b90 to your computer and use it in GitHub Desktop.
git diff --name-only --cached --relative | grep '\\.js$' | xargs eslint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment