Skip to content

Commit

Permalink
Add format script
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Mar 5, 2021
1 parent dca2af7 commit 73901ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions format.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
echo "This relies on you having prettier installed globally"
echo "If you don't, run: npm i -g prettier"
echo

prettier --write "**/*.{less,md,json,js,ts,jsx,tsx,yml}"

0 comments on commit 73901ae

Please sign in to comment.