You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cz-commitlint): support select scope with radio list by setting disableMultipleScopes (#2911)
* feat(cz-commitlint): support select scope with radio list by setting disableMultipleScopes
* feat(cz-commitlint): enableMultipleScopes default to false
BREAKING CHANGE: users who is using multiple scopes need to set enableMultipleScopes to true
#2782
Copy file name to clipboardExpand all lines: docs/reference-prompt.md
+21-19
Original file line number
Diff line number
Diff line change
@@ -8,35 +8,36 @@ There are three fields: `settings`, `messages` and `questions`
8
8
9
9
Set optional options.
10
10
11
-
- scopeEnumSeparator: Commitlint supports [multiple scopes](./concepts-commit-conventions.md?id=multiple-scopes), you can specify the delimiter.
11
+
-`enableMultipleScopes`: `(boolean)` Enable multiple scopes, select scope with a radio list, disabled by default.
12
+
-`scopeEnumSeparator`: `(string)` Commitlint supports [multiple scopes](./concepts-commit-conventions.md?id=multiple-scopes), you can specify the delimiter.It is applied when `enableMultipleScopes` set true.
12
13
13
14
## `messages`
14
15
15
16
Set hint contents, you can configure it to support localization.
16
17
17
-
- skip: The field can be skip by enter
18
-
- max: Maximum number of characters
19
-
- min: Minimum number of characters
20
-
- emptyWarning: The field can not be empty
21
-
- upperLimitWarning: The characters limit is exceeded
22
-
- lowerLimitWarning: The characters is less than lower limit
18
+
-`skip`: The field can be skip by enter
19
+
-`max`: Maximum number of characters
20
+
-`min`: Minimum number of characters
21
+
-`emptyWarning`: The field can not be empty
22
+
-`upperLimitWarning`: The characters limit is exceeded
23
+
-`lowerLimitWarning`: The characters is less than lower limit
23
24
24
25
## `questions`
25
26
26
27
Specify the interactive steps, Steps can only be configure in
0 commit comments