Skip to content

Commit

Permalink
feat: Accept revert, ci, and build semantic types by default
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Dec 31, 2024
1 parent ebdd438 commit f7dc753
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/committed/src/config.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
static DEFAULT_TYPES: &[&str] = &[
"fix", "feat", "chore", "docs", "style", "refactor", "perf", "test",
"fix", "feat", "chore", "docs", "style", "refactor", "perf", "test", "revert", "ci", "build",
];

#[derive(
Expand Down
2 changes: 1 addition & 1 deletion docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Configuration is read from the following (in precedence order)
| no_fixup | \- | bool | true | Disallow fixup commits |
| no_wip | \- | bool | true | Disallow WIP commits |
| style | \- | none, [conventional] | none | Commit style convention |
| allowed_types | \- | list of strings | fix, feat, chore, docs, style, refactor, perf, test | _(Conventional)_ Accepted commit types |
| allowed_types | \- | list of strings | fix, feat, chore, docs, style, refactor, perf, test, revert, ci, build | _(Conventional)_ Accepted commit types |
| allowed_scopes | \- | list of strings | none (all scopes allowed) | _(Conventional)_ Accepted commit scopes |
| merge_commit | --no-merge-commit | \- | true | Disallow merge commits. Argument is recommended over config file since there are times when merge-commits are wanted. |

Expand Down

0 comments on commit f7dc753

Please sign in to comment.