Skip to content

Instantly share code, notes, and snippets.

@DanielMSchmidt
Last active May 7, 2017 08:48
Show Gist options
  • Save DanielMSchmidt/ad56d9817506fe385786be5d919054b2 to your computer and use it in GitHub Desktop.
Save DanielMSchmidt/ad56d9817506fe385786be5d919054b2 to your computer and use it in GitHub Desktop.
Prettier CI Check
./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