-
Notifications
You must be signed in to change notification settings - Fork 934
Support commitlint.config.ts with TypeScript #2652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I feel like this was mentioned already but I can't find a related issue or PR. |
Somehow documentation already mentions using TypeScript for configuration, yet it's unclear how to use it. |
Any update for this feature? Maybe check for the existence of |
@songhn233 happy for a PR if you want to try |
@songhn233 If someone accidentally used Common resolution strategy is
|
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.ts
commitlint.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 --version
git --version
node --version
The text was updated successfully, but these errors were encountered: