feat: Do you want to be able to specify the path of the configuration file when using it
Expected Behavior
In my work, there are many projects under development, and each project requires configuration. The system provides a configuration file path that can be specified to facilitate unified management by developers. Thank you
@commitlint/prompt-cli @commitlint/prompt
Current Behavior
No response
Affected packages
- [x] cli
- [ ] core
- [x] prompt
- [ ] config-angular
Possible Solution
No response
Context
No response
No sure if I understood you right. Are you looking for this?:
-g, --config path to the config file; result code 9 if config is missing
https://commitlint.js.org/reference/cli.html
@escapedcat Thank you for your reply. I tried using this configuration, but only @commitlint/cli will take effect. @ commitlint/prompt cli and @Commitlint/prompt has no effect
Prompt is not in a good state anymore.
Maybe this works better: https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/cz-commitlint