Skip to content

Commit f30f3d9

Browse files
authored
219 enforce formatting using prettier and husky (#220)
* Install husky, lint-staged, and prettier for dev * Add lint-staged script to format with prettier * Configure husky hook to run prettier on commit All staged files will be auto-formatted using the repo's prettier config file as part of the commit process. package.json is reformatted as a result of this commit -- other files are unmodified. * Remove committed husky.sh file File is included with husky installation in npm prepare script
1 parent 238b120 commit f30f3d9

3 files changed

Lines changed: 688 additions & 63 deletions

File tree

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

0 commit comments

Comments
 (0)