Skip to content

Commit 95f6b7c

Browse files
authoredMay 15, 2022
docs: align subject case rule in readme #3159 (#3179)
Update the scope-case rule in docs/reference-rules and config-conventional/README to be same.
1 parent 0f86cbf commit 95f6b7c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎@commitlint/config-conventional/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ echo "fix(scope): some message" # passes
9292
#### subject-case
9393

9494
- **condition**: `subject` is in one of the cases `['sentence-case', 'start-case', 'pascal-case', 'upper-case']`
95-
- **rule**: `never`
95+
- **rule**: `always`
9696
- **level**: `error`
9797

9898
```sh

‎docs/reference-rules.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,12 @@ Infinity
278278

279279
#### subject-case
280280

281-
- **condition**: `subject` is in case `value`
281+
- **condition**: `subject` is in one of the cases `['sentence-case', 'start-case', 'pascal-case', 'upper-case']`
282282
- **rule**: `always`
283283
- **value**
284284

285285
```
286-
'lower-case'
286+
['sentence-case', 'start-case', 'pascal-case', 'upper-case']
287287
```
288288

289289
- **possible values**

0 commit comments

Comments
 (0)
Please sign in to comment.