commitizen / commitizen/cz-cli

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

Đang mở
#961 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
17.5k
Fork
566
Merge trung bình
8 giờ 16 phút
Pull request đã merge (30 ngày)
1

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.