-
Notifications
You must be signed in to change notification settings - Fork 943
Closed
Description
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)
npx commit
- type
chore
as type - type
:skip
as scope - 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 |
Metadata
Metadata
Assignees
Labels
No labels