Skip to content

Commit

Permalink
Merge pull request #2 from marketplacer/clement/feat/upgrade-husky
Browse files Browse the repository at this point in the history
feat: upgrade husky
  • Loading branch information
prashanth-cpaul authored Feb 4, 2022
2 parents 04f2c9f + 8eb7898 commit c2bd943
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 120 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no -- commitlint --edit "$1"
122 changes: 4 additions & 118 deletions package-lock.json

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"test": "echo \"Error: no test specified\" && exit 1",
"lint:code": "eslint --ignore-path .gitignore .",
"compile": "tsc",
"lint:commits:branch": "commitlint --from origin/HEAD --to HEAD --verbose"
"lint:commits:branch": "commitlint --from origin/HEAD --to HEAD --verbose",
"prepare": "husky install"
},
"author": "Marketplacer <[email protected]>",
"license": "MIT",
Expand All @@ -25,7 +26,7 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-standard": "^5.0.0",
"husky": "^4.3.8",
"husky": "^7.0.4",
"typescript": "^4.5.5"
},
"dependencies": {
Expand Down

0 comments on commit c2bd943

Please sign in to comment.