commitizen / commitizen/cz-cli

Can not write sentence case in when writing short description for change.

Ouverte
#961 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
17.5k
Forks
566
Merge moyen
8 h 16 min
PR mergées (30 j)
1

Description

I configured the `subject-case` rule in `.commitlintrc.cjs` for using sentence case subject case like this:

```js
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'subject-case': [2, 'never', ['upper-case']],
},
}
```

and then I run the cz command to write a short description for change like this:

```text
Omit
```

but when I confirm to commit, cz command will change it to lower-case, it is unreasonable.

However, I commit it by using `git commit -m` command can pass the commitlint check, so the problem is not on the configuration.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.