Skip to content

Commit

Permalink
docs(customization): fix yaml example
Browse files Browse the repository at this point in the history
  • Loading branch information
mvhirsch authored and Lee-W committed Feb 1, 2025
1 parent 95e7d5a commit 5d6369e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ The equivalent example for a json config file:
}
```

And the correspondent example for a yaml json file:
And the correspondent example for a yaml file:

```yaml
commitizen:
Expand All @@ -115,8 +115,8 @@ commitizen:
schema: "<type>: <body>"
schema_pattern: "(feature|bug fix):(\\s.*)"
bump_pattern: "^(break|new|fix|hotfix)"
commit_parser: "^(?P<change_type>feature|bug fix):\\s(?P<message>.*)?",
changelog_pattern: "^(feature|bug fix)?(!)?",
commit_parser: "^(?P<change_type>feature|bug fix):\\s(?P<message>.*)?"
changelog_pattern: "^(feature|bug fix)?(!)?"
change_type_map:
feature: Feat
bug fix: Fix
Expand All @@ -139,10 +139,10 @@ commitizen:
message: Select the type of change you are committing
- type: input
name: message
message: Body.
message: 'Body.'
- type: confirm
name: show_message
message: Do you want to add body message in commit?
message: 'Do you want to add body message in commit?'
```
### Customize configuration
Expand Down

0 comments on commit 5d6369e

Please sign in to comment.