Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
docs: clarify subject-case [resolves conventional-changelog#3638] (co…
…nventional-changelog#3640)

* docs(subject-case): standard 'condition' language

* docs(subject-case): standard lower-case example
  • Loading branch information
olets authored Aug 16, 2023
commit a6989b2899c3b9fed43a7fa70ae0f12b4bc2b366
4 changes: 2 additions & 2 deletions docs/reference-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ Infinity

#### subject-case

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

Expand All @@ -290,7 +290,7 @@ Infinity

```js
[
'lower-case', // default
'lower-case', // lower case
'upper-case', // UPPERCASE
'camel-case', // camelCase
'kebab-case', // kebab-case
Expand Down