Skip to content

Commit

Permalink
docs: align subject case rule in readme #3159 (#3179)
Browse files Browse the repository at this point in the history
Update the scope-case rule in docs/reference-rules and config-conventional/README to be same.
  • Loading branch information
lxow456 committed May 15, 2022
1 parent 0f86cbf commit 95f6b7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion @commitlint/config-conventional/README.md
Expand Up @@ -92,7 +92,7 @@ echo "fix(scope): some message" # passes
#### subject-case

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

```sh
Expand Down
4 changes: 2 additions & 2 deletions docs/reference-rules.md
Expand Up @@ -278,12 +278,12 @@ Infinity

#### subject-case

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

```
'lower-case'
['sentence-case', 'start-case', 'pascal-case', 'upper-case']
```

- **possible values**
Expand Down

0 comments on commit 95f6b7c

Please sign in to comment.