Last active
May 7, 2017 08:48
-
-
Save DanielMSchmidt/ad56d9817506fe385786be5d919054b2 to your computer and use it in GitHub Desktop.
Prettier CI Check
This file contains hidden or 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
./node_modules/.bin/prettier --write ./**/*.js # insert your prettier command here | |
if [ "$(git status --porcelain | wc -l)" != "0" ]; then exit 1 ; fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment