Skip to content

Instantly share code, notes, and snippets.

@waghcwb
Last active March 26, 2019 13:57
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 waghcwb/6dd6d0d41159dcff96806ceb2b7fb837 to your computer and use it in GitHub Desktop.
Save waghcwb/6dd6d0d41159dcff96806ceb2b7fb837 to your computer and use it in GitHub Desktop.
# runs prettier only in modified files on git
git diff --name-only | xargs prettier --config ./prettier.config.js --write
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment