idea-conventional-commit-commitlint
idea-conventional-commit-commitlint copied to clipboard
Try to get tokens from package.json if .commitlintrc.json is missing
Commitlint uses https://github.com/davidtheclark/cosmiconfig. So configuration files such as .commitlintrc.js are also valid. It would be nice to also support them.
@IGassmann hi! Heh, I have no idea if a plugin is able to communicate with a Node module and then retrieve a possbible "result". Natively supporting JS files is impossible since there might be functions.
I understand. That's unfortunate, we use .js config files in our projects including for commitlint.
@IGassmann the idea is good tho, so I'll keep the issue open. I can't give any estimate unfortunately. Need a pause from all the work I've done on Conventional Commit first 😄