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
Error: Recieved 'GIT_PARAMS' as value for -E | --env, but environment variable 'GIT_PARAMS' is not available globally
at getEditValue (path/to/project/node_modules/@commitlint/cli/lib/cli.js:204:10)
Affected packages
cli
core
prompt
config-angular
Possible Solution
I found a comment from your code:
and I change GIT_PARAMS to HUSKY_GIT_PARAMS in husky's config
Uh oh!
There was an error while loading. Please reload this page.
Expected Behavior
Work well with husky.
Current Behavior
I config my husky with README below,:

But I got a error during commiting:
Affected packages
Possible Solution
I found a comment from your code:

and I change GIT_PARAMS to HUSKY_GIT_PARAMS in husky's config
Steps to Reproduce (for bugs)
.huskyrc.yml
```yaml --- hooks: pre-commit: pretty-quick --staged commit-msg: commitlint -E GIT_PARAMS ```Context
There should be a info/tip in README to help people resolve this problem.
Your Environment
commitlint --version
git --version
node --version
The text was updated successfully, but these errors were encountered: