Skip to content

Commit

Permalink
chore:husky updated to the latest version and addapted to the current…
Browse files Browse the repository at this point in the history
… pre commit method
  • Loading branch information
felipe-marques11 committed Oct 15, 2024
1 parent df9cffa commit a6a0de9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 163 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
163 changes: 7 additions & 156 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,8 @@
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
"test:e2e": "jest --config ./test/jest-e2e.json",
"prepare": "husky"
},
"lint-staged": {
"**/*.ts": [
Expand Down Expand Up @@ -56,7 +52,7 @@
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^4.3.8",
"husky": "^9.1.6",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^3.3.3",
Expand Down

0 comments on commit a6a0de9

Please sign in to comment.