Skip to content

Commit

Permalink
chore: lint staged
Browse files Browse the repository at this point in the history
  • Loading branch information
buka4rill committed Jun 9, 2024
1 parent 5ce5388 commit 6702629
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
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
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,8 @@
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
}
}

0 comments on commit 6702629

Please sign in to comment.