commitizen / commitizen/cz-cli

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

Offen
#961 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
17.5k
Forks
566
Ø Merge
8 Std. 16 Min.
Gemergte PRs (30 T.)
1

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.