Eslint-plugin-jsdoc: Enable commitizen config in this repo

Created on 2 Dec 2019  路  5Comments  路  Source: gajus/eslint-plugin-jsdoc

Since this repo seems to use angular style commit messages may I suggest adding a script called "commit" which uses commitizen.

It'd allow new users to easily use the same commit message format as you're expecting. It can also be integrated with husky in the pre-commit stage.

chore

All 5 comments

If added to husky, what would happen for GUI Git apps? Maybe we could have it only auto-apply after the message is attempted and it fails validation?

@gajus : Are you open to my setting this up? It looks like it just adds a couple devDeps.

It looks like commitlint might also be helpful for those not using the interactive commitizen so as to ensure the message format is checked. (one can apparently do so on prepush, so one can rush a local commit with poorly formed messages until one is ready to revise them properly: https://github.com/conventional-changelog/commitlint/issues/361 ).

@OmgImAlexis : If you still want this, can you maybe prepare a PR, including commitlint ideally, so we would just need to review?

I can鈥檛 promise a timeframe but sure. 馃槉

Closing as haven't heard back, but feel free to submit a PR if you wish.

Was this page helpful?
0 / 5 - 0 ratings