-
Notifications
You must be signed in to change notification settings - Fork 909
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
Add support to commitlint.config.mjs and commitlintrc.mjs config file #3611
Labels
Comments
Does this duplicate #2742 ? |
Looks like this feature just landed in cosmiconfig. |
@mrcsmcln thanks for the info. |
Here's a PR but it fails with a jest error: #3623 jest-haste-map: Haste module naming collision: basic
The following files share their name; please adjust your hasteImpl:
* <rootDir>/@commitlint/config-lerna-scopes/fixtures/basic/package.json
* <rootDir>/@commitlint/config-lerna-scopes/fixtures/modules/package.json
jest-haste-map: Haste module naming collision: empty
The following files share their name; please adjust your hasteImpl:
* <rootDir>/@commitlint/config-lerna-scopes/fixtures/empty/package.json
* <rootDir>/@commitlint/config-nx-scopes/fixtures/empty/package.json
jest-haste-map: Haste module naming collision: a
The following files share their name; please adjust your hasteImpl:
* <rootDir>/@commitlint/config-lerna-scopes/fixtures/basic/packages/a/package.json
* <rootDir>/@commitlint/config-lerna-scopes/fixtures/modules/packages/a/package.json
jest-haste-map: Haste module naming collision: @packages/b
The following files share their name; please adjust your hasteImpl:
* <rootDir>/@commitlint/config-lerna-scopes/fixtures/scoped/@packages/b/package.json
* <rootDir>/@commitlint/config-lerna-scopes/fixtures/yarn/@packages/b/package.json
jest-haste-map: Haste module naming collision: @packages/a
The following files share their name; please adjust your hasteImpl:
* <rootDir>/@commitlint/config-lerna-scopes/fixtures/scoped/@packages/a/package.json
* <rootDir>/@commitlint/config-lerna-scopes/fixtures/yarn/@packages/a/package.json
jest-haste-map: Haste module naming collision: b
The following files share their name; please adjust your hasteImpl:
* <rootDir>/@commitlint/config-lerna-scopes/fixtures/basic/packages/b/package.json
* <rootDir>/@commitlint/config-nx-scopes/fixtures/basic/nx/b/package.json |
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
If config file is commitlint.config.mjs or commitlintrc.mjs is expected that works
Current Behavior
Is ignored
Affected packages
@commitlint/load
Possible Solution
No response
Context
No response
The text was updated successfully, but these errors were encountered: