Skip to content

Commit

Permalink
build: use commitlint with semantic tags
Browse files Browse the repository at this point in the history
  • Loading branch information
abarmat committed Oct 12, 2021
1 parent 45900af commit 811d21e
Show file tree
Hide file tree
Showing 4 changed files with 542 additions and 67 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-install commitlint --edit ""
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] }
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"ethers": "^5.4.4"
},
"devDependencies": {
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@ethersproject/contracts": "^5.4.1",
"@ethersproject/experimental": "^5.4.0",
"@ethersproject/transactions": "^5.4.0",
Expand Down Expand Up @@ -62,7 +64,7 @@
"hardhat-gas-reporter": "^1.0.4",
"hardhat-storage-layout": "0.1.6",
"hardhat-tracer": "^1.0.0-alpha.6",
"husky": "^4.3.8",
"husky": "^7.0.2",
"inquirer": "^8.0.0",
"ipfs-http-client": "47.0.1",
"isomorphic-fetch": "^3.0.0",
Expand Down
Loading

0 comments on commit 811d21e

Please sign in to comment.