Skip to content

Commit

Permalink
add precommit formating (#1026)
Browse files Browse the repository at this point in the history
  • Loading branch information
Derstilon authored May 22, 2023
1 parent 545e328 commit 377581d
Show file tree
Hide file tree
Showing 7 changed files with 887 additions and 35 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
12 changes: 4 additions & 8 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@ public/libs
node_modules/

#ignore auto generated config files
package.json
package-lock.json
tsconfig.json
dockerRun.ps1
dockerBuild.ps1
.github/
.notebook/
.prettierrc
.vscode/
README.md

.devcontainer/
.gitpod.yml
README.md
Loading

0 comments on commit 377581d

Please sign in to comment.