@@ -91,23 +91,23 @@ If your project has specific needs, Shared GitHub DangerJS can be configured to
91
91
92
92
**Here is complete list of configurable parameters:**
93
93
94
- | Parameter | CI Variable | Type | Default value |
95
- | ------------------------------------------------------ | -------------------------------------- | ---- | -------------------------------------------------- |
96
- | Enable rule PR Description | ` rule-description` | str | `"true"` (use `"false"` to disable this rule) |
97
- | Enable rule PR Lint Commit Messages | `rule-commit-messages` | str | `"true"` (use `"false"` to disable this rule) |
98
- | Enable rule PR Size (changed lines) | `rule-size-lines` | str | `"true"` (use `"false"` to disable this rule) |
99
- | Enable rule PR Source branch name | `rule-source-branch` | str | `"true"` (use `"false"` to disable this rule) |
100
- | Enable rule PR Target branch name | `rule-target-branch` | str | `"true"` (use `"false"` to disable this rule) |
101
- | Enable rule PR Too Many Commits | `rule-max-commits` | str | `"true"` (use `"false"` to disable this check) |
102
- | Commit message allowed "Type"s | `commit-messages-types` | str | `"change,ci,docs,feat,fix,refactor,remove,revert"` |
103
- | Commit message maximum length "Body" line | `commit-messages-max-body-line-length` | str | `"100"` |
104
- | Commit message maximum length "Summary" | `commit-messages-max-summary-length` | str | `"72"` |
105
- | Commit message minimum length "Summary" | `commit-messages-min-summary-length` | str | `"20"` |
106
- | Ignore sections of PR description when counting length | `description-ignore-sections` | str | `"related,release,breaking"` |
107
- | Maximum changed code lines in PR | `max-size-lines` | str | `"1000"` |
108
- | Maximum commits in PR (soft limit, throw `info`) | `max-commits-info` | str | `"2"` |
109
- | Maximum commits in PR (hard limit, throw `warn`) | `max-commits-warn` | str | `"5"` |
110
- | Minimum length of PR description | `description-min-length` | str | `"50"` |
94
+ | Parameter | CI Variable | Type | Default value |
95
+ | ------------------------------------------------------ | -------------------------------------- | ---- | ------------------------------------------------------- |
96
+ | Enable rule PR Description | ` rule-description` | str | `"true"` (use `"false"` to disable this rule) |
97
+ | Enable rule PR Lint Commit Messages | `rule-commit-messages` | str | `"true"` (use `"false"` to disable this rule) |
98
+ | Enable rule PR Size (changed lines) | `rule-size-lines` | str | `"true"` (use `"false"` to disable this rule) |
99
+ | Enable rule PR Source branch name | `rule-source-branch` | str | `"true"` (use `"false"` to disable this rule) |
100
+ | Enable rule PR Target branch name | `rule-target-branch` | str | `"true"` (use `"false"` to disable this rule) |
101
+ | Enable rule PR Too Many Commits | `rule-max-commits` | str | `"true"` (use `"false"` to disable this check) |
102
+ | Commit message allowed "Type"s | `commit-messages-types` | str | `"change,ci,docs,feat,fix,refactor,remove,revert,test "` |
103
+ | Commit message maximum length "Body" line | `commit-messages-max-body-line-length` | str | `"100"` |
104
+ | Commit message maximum length "Summary" | `commit-messages-max-summary-length` | str | `"72"` |
105
+ | Commit message minimum length "Summary" | `commit-messages-min-summary-length` | str | `"20"` |
106
+ | Ignore sections of PR description when counting length | `description-ignore-sections` | str | `"related,release,breaking"` |
107
+ | Maximum changed code lines in PR | `max-size-lines` | str | `"1000"` |
108
+ | Maximum commits in PR (soft limit, throw `info`) | `max-commits-info` | str | `"2"` |
109
+ | Maximum commits in PR (hard limit, throw `warn`) | `max-commits-warn` | str | `"5"` |
110
+ | Minimum length of PR description | `description-min-length` | str | `"50"` |
111
111
112
112
These values can be defined in your project `DangerJS Pull Request linter` workflow, for example like this :
113
113
0 commit comments