Skip to content
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

Commitlint config loading not working #129

Open
ldiego08 opened this issue Aug 13, 2020 · 0 comments
Open

Commitlint config loading not working #129

ldiego08 opened this issue Aug 13, 2020 · 0 comments

Comments

@ldiego08
Copy link

I've been debugging cz-conventional-changelog trying to determine why is it not grabbing my commitling.config.js settings. After changing index.js#L45 to log errors to the console, I saw this message: TypeError: commitlintLoad is not a function. Turns out @commitlint/load is not working correctly. Changing index.js#L31 to require(@commitlint/load).default, solves the issue. Seems like something changed in the way the @commitlint/load library is being compiled to JS.

It's an easy fix but wanted to confirm if I'm in the right track.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant