lppedd / idea-conventional-commit-commitlint

Provides additional commit types and scopes via Commitlint rules.
https://plugins.jetbrains.com/plugin/14046-commitlint-conventional-commit
MIT License
28 stars 1 forks source link

Try to get tokens from package.json if .commitlintrc.json is missing #1

Open lppedd opened 4 years ago

IGassmann commented 4 years ago

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.

lppedd commented 4 years ago

@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.

IGassmann commented 4 years ago

I understand. That's unfortunate, we use .js config files in our projects including for commitlint.

lppedd commented 4 years ago

@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 😄