Created
December 25, 2017 13:43
-
-
Save tusharmath/4068bee52c23c848a35a7af09922c8c4 to your computer and use it in GitHub Desktop.
prettier.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
git ls-files | \ | |
grep -E '.*(css|ts|graphql)$' | \ | |
xargs prettier --print-width 80 --single-quote --no-semi --no-bracket-spacing --write |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment