shoonyatech / frontend.social

Frontend Social website
https://www.frontend.social
MIT License
11 stars 19 forks source link

Add commitlint to enforce commit message #491

Closed kalpeshsingh closed 4 years ago

kalpeshsingh commented 4 years ago

To address #475

@souvikbasu - It will be helpful if you can create a gist suggesting what is expected commit format and few examples.

We can add the gist link below as this message appears when commit fails.

"gitHooks": {
  "commit-msg": "commitlint -H https://github.com/shoonyatech/frontend.social/ -e $GIT_PARAMS",
  "pre-commit": "lint-staged"
}

Commit lint