conventional-changelog/commitlint
在 GitHub 查看prompt-cli does not work with custom config file paths
Open
#340 创建于 2018年5月9日
featurehelp wanted
仓库指标
- Star
- (15,497 star)
- PR 合并指标
- (平均合并 12小时 56分钟) (30 天内合并 52 个 PR)
描述
Following #100, there is no way to run prompt-cli with a specific config file path. It just assumes the default which is commitlint.config.js under the repository's root.
Expected Behavior
Either:
npm run commit --config </path/to/config.js>COMMITLINT_CONFIG=/path/to/config.js npm run commit{ config: { '@commitlint/prompt-cli': { config: '/path/to/config.js' } } }in package.json
Current Behavior
prompt-cli runs with no customizations in place (no type/scope enums loaded etc.)
Affected packages
- cli
- core
- prompt
- config-angular
Your Environment
| Executable | Version |
|---|---|
commitlint --version |
6.2.0 |
git --version |
2.17.0 |
node --version |
8.9.0 |