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

[prompt-cli] Unable to type subject #2439

Closed
1 of 4 tasks
k3nsei opened this issue Feb 4, 2021 · 2 comments
Closed
1 of 4 tasks

[prompt-cli] Unable to type subject #2439

k3nsei opened this issue Feb 4, 2021 · 2 comments

Comments

@k3nsei
Copy link

k3nsei commented Feb 4, 2021

Expected Behavior

I should be able to type subject

Current Behavior

When typing subject input is ignored

Affected packages

  • cli
  • core
  • prompt
  • config-angular

Possible Solution

Probably minLength and maxLength validation is blocking user input

Steps to Reproduce (for bugs)

  1. npx commit
  2. type chore as type
  3. type :skip as scope
  4. try to type anything
v1 of commitlint.config.js ```js module.exports = { extends: ['@commitlint/config-conventional'], rules: { 'scope-empty': [0, 'always'], 'scope-case': [2, 'always', ['lower-case', 'pascal-case']], 'subject-min-length': [2, 'always', 3], 'subject-max-length': [2, 'always', 100], }, }; ```
v2 of commitlint.config.js ```js module.exports = { extends: ['@commitlint/config-conventional'], rules: { 'scope-empty': [0, 'always'], 'scope-case': [2, 'always', ['lower-case', 'pascal-case']], 'subject-max-length': [2, 'always', 100], }, }; ```

Context

I can't compose commit message

Your Environment

Executable Version
commitlint --version 11.0.0
git --version 2.29.2.windows.2
node --version 14.15.4
@armano2
Copy link
Contributor

armano2 commented Dec 7, 2021

@escapedcat this can be closed as for #2697

@escapedcat
Copy link
Member

Thanks @armano2 , closing

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

No branches or pull requests

3 participants