We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
typescript@latest @commitlint/[email protected] [email protected]
When Installing @commitlint/[email protected] @commitlint/[email protected] is also installed
@commitlint/[email protected]
https://github.com/conventional-changelog/commitlint/blob/master/%40commitlint/cli/package.json#L55C6-L55C23
Which breaks typing when [email protected] is installed.
[email protected]
typescript will complain about commit parser having no exported member 'CommitParser' import { CommitParser } from "conventional-commits-parser";
https://github.com/conventional-changelog/conventional-changelog/blob/d3b8aaa16337993bbad4d91db1ffac5a7568756b/packages/conventional-commits-parser/src/CommitParser.ts#L42
Installing @commitlint/cli & conventional-commits-parser should result in the correct typings
@commitlint/cli
conventional-commits-parser
No response
2.41.0
22.4.0
The text was updated successfully, but these errors were encountered:
The workaround I'm using is to add the below entry to the tsconfig file
"paths": { "conventional-commits-parser": [ "node_modules/conventional-commits-parser/dist" ] },
Sorry, something went wrong.
The PR to support v6 is still open: #4064 Happy for help
No branches or pull requests
Steps to Reproduce
Current Behavior
When Installing
@commitlint/[email protected]
@commitlint/[email protected]
is also installedhttps://github.com/conventional-changelog/commitlint/blob/master/%40commitlint/cli/package.json#L55C6-L55C23
Which breaks typing when
[email protected]
is installed.https://github.com/conventional-changelog/conventional-changelog/blob/d3b8aaa16337993bbad4d91db1ffac5a7568756b/packages/conventional-commits-parser/src/CommitParser.ts#L42
Expected Behavior
Installing
@commitlint/cli
&conventional-commits-parser
should result in the correct typingsAffected packages
Possible Solution
No response
Context
No response
commitlint --version
@commitlint/[email protected]
git --version
2.41.0
node --version
22.4.0
The text was updated successfully, but these errors were encountered: