Skip to content

Commit

Permalink
Merge pull request #429 from kawalcovid19/replace-commitizen-with-com…
Browse files Browse the repository at this point in the history
…mitlint

chore: replace commitizen with commitlint
  • Loading branch information
mazipan authored Jul 25, 2021
2 parents 699cafe + f22b7b9 commit 55df148
Show file tree
Hide file tree
Showing 5 changed files with 283 additions and 326 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
4 changes: 0 additions & 4 deletions .husky/prepare-commit-msg

This file was deleted.

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: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
"@babel/eslint-plugin": "7.14.5",
"@babel/preset-react": "7.14.5",
"@babel/preset-typescript": "7.14.5",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@jackfranklin/test-data-bot": "1.3.0",
"@netlify/plugin-lighthouse": "2.1.2",
"@next/bundle-analyzer": "^11.0.1",
Expand All @@ -62,11 +64,9 @@
"autoprefixer": "10.3.0",
"chalk": "^4.1.1",
"cloudinary-build-url": "^0.2.1",
"commitizen": "^4.2.4",
"critters": "^0.0.10",
"cross-env": "^7.0.3",
"cypress": "^7.7.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.30.0",
"eslint-config-kentcdodds": "^19.1.0",
"eslint-config-next": "11.0.1",
Expand Down
Loading

0 comments on commit 55df148

Please sign in to comment.