1
1
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:
Orhun Parmaksız 2024-02-17 14:52:34 +03:00
parent 95e32f1856
commit 5212cc9446
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90

View File

@ -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 = [