Skip to content

Commit

Permalink
Add prettier to project and run it on all files
Browse files Browse the repository at this point in the history
  • Loading branch information
david-yz-liu committed Aug 22, 2023
1 parent 2bbc2bd commit 79a6387
Show file tree
Hide file tree
Showing 30 changed files with 1,781 additions and 713 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Ignore artifacts
coverage
dist
1 change: 0 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"semi": false,
"tabWidth": 4,
"trailingComma": "es5"
}
Loading

0 comments on commit 79a6387

Please sign in to comment.