mirror of
https://github.com/orhun/git-cliff.git
synced 2024-12-01 21:23:20 +03:00
revert(config): use postprocessors for checking the typos
This reverts commit 764e858a1e
.
Until https://github.com/crate-ci/typos/issues/914 is fixed
This commit is contained in:
parent
95e32f1856
commit
5212cc9446
@ -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]
|
||||
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user