diff --git a/@commitlint/config-conventional/README.md b/@commitlint/config-conventional/README.md index c0dbebeb95..adb5db6286 100644 --- a/@commitlint/config-conventional/README.md +++ b/@commitlint/config-conventional/README.md @@ -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 diff --git a/docs/reference-rules.md b/docs/reference-rules.md index 15ab72ca03..b7ac2302e1 100644 --- a/docs/reference-rules.md +++ b/docs/reference-rules.md @@ -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**