Expected Behavior
Commitlint should be able to parse the config file written in TypeScript
Current Behavior
Commitlint asks me to add a config file
> git ls-files --stage -- C:\Users\.....(reducted)......\commitlint.config.ts
⧗ input: Add commitlint and husky
✖ Please add rules to your `commitlint.config.js`
- Getting started guide: https://git.io/fhHij
- Example config: https://git.io/fhHip [empty-rules]
✖ found 1 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
husky - commit-msg hook exited with code 1 (error)
Affected packages
Steps to Reproduce (for bugs)
- Install
- Add
commitlint.config.ts
- Perform an unconventional commit
- See Git log
commitlint.config.ts
export default { extends: ['@commitlint/config-conventional'] };
Context
Well, I want my repo to have only TS files rather than combining with JS files- including config files on my repository and I need Commitlint would also respect this choice.
Your Environment
| Executable |
Version |
commitlint --version |
12.1.4 |
git --version |
2.31.1.windows.1 |
node --version |
v14.16.1 |
Expected Behavior
Commitlint should be able to parse the config file written in TypeScript
Current Behavior
Commitlint asks me to add a config file
Affected packages
Steps to Reproduce (for bugs)
commitlint.config.tscommitlint.config.ts
Context
Well, I want my repo to have only TS files rather than combining with JS files- including config files on my repository and I need Commitlint would also respect this choice.
Your Environment
commitlint --versiongit --versionnode --version