Skip to content

Commit

Permalink
chore(package): run lint:prettier in test script
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Jan 9, 2024
1 parent 79fd2c2 commit 02cac7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lint:prettier && npm run lint:licenses && npm test
npm run lint:licenses && npm test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"lint:prettier": "prettier . -c -u",
"lint:prettier:fix": "prettier . -w -u",
"prepare": "husky install",
"test": "npm run lint && npm run jest"
"test": "npm run lint && npm run lint:prettier && npm run jest"
},
"commitlint": {
"extends": [
Expand Down

0 comments on commit 02cac7f

Please sign in to comment.