Skip to content

Commit

Permalink
revert(config): use postprocessors for checking the typos
Browse files Browse the repository at this point in the history
This reverts commit 764e858.
Until crate-ci/typos#914 is fixed
  • Loading branch information
orhun committed Feb 17, 2024
1 parent 95e32f1 commit 5212cc9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ trim = true
# postprocessors
postprocessors = [
{ pattern = '<REPO>', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL
# Check typos with https://github.com/crate-ci/typos
# If the spelling is incorrect, it will be automatically fixed.
{ pattern = '.*', replace_command = 'typos --write-changes -' },
]

[git]
Expand All @@ -67,8 +64,10 @@ filter_unconventional = true
split_commits = false
# regex for preprocessing the commit messages
commit_preprocessors = [
# replace issue numbers
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))" },
# Check spelling of the commit with https://github.com/crate-ci/typos
# If the spelling is incorrect, it will be automatically fixed.
{ pattern = '.*', replace_command = 'typos --write-changes -' },
]
# regex for parsing and grouping commits
commit_parsers = [
Expand Down

0 comments on commit 5212cc9

Please sign in to comment.