Skip to content

Instantly share code, notes, and snippets.

@lili21
Created April 24, 2017 06:03
Show Gist options
  • 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