Skip to content

Instantly share code, notes, and snippets.

@dyrkow
Created November 15, 2021 09:29
Show Gist options
  • Save dyrkow/0acac20eff5e93f6e20340c753d9729c to your computer and use it in GitHub Desktop.
Save dyrkow/0acac20eff5e93f6e20340c753d9729c to your computer and use it in GitHub Desktop.
Command for lint only changed files
eslint --fix $(git diff --name-only HEAD | xargs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment