You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Use @commitlint/config-nx-scopes
2. Follow [filtering projects instructions in docs](https://github.com/conventional-changelog/commitlint/blob/0288c6129200f5e1f469e71babbfd4fd5885f6be/%40commitlint/config-nx-scopes/readme.md#filtering-projects)
Current Behavior
Error at commit time:
require() of ES Module /Users/[...]/node_modules/@commitlint/config-nx-scopes/index.js from /Users/[...]/.commitlintrc.js not supported.
Instead change the require of index.js in /Users/[...]/.commitlintrc.js to a dynamic import() which is available in all CommonJS modules.
Expected Behavior
Commitlint should execute successfully.
Affected packages
cli
core
prompt
config-angular
Possible Solution
Update documentation to indicate proper usage. PR forthcoming...
Steps to Reproduce
1. Use @commitlint/config-nx-scopes 2. Follow [filtering projects instructions in docs](https://github.com/conventional-changelog/commitlint/blob/0288c6129200f5e1f469e71babbfd4fd5885f6be/%40commitlint/config-nx-scopes/readme.md#filtering-projects)
Current Behavior
Error at commit time:
Expected Behavior
Commitlint should execute successfully.
Affected packages
Possible Solution
Update documentation to indicate proper usage. PR forthcoming...
Context
No response
commitlint --version
@commitlint/[email protected]
git --version
v2.39.3
node --version
v18.19.1
The text was updated successfully, but these errors were encountered: