From 2a2fc4228b98f42a4b6dc549b0d4ee0dee57f1d4 Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Fri, 15 Nov 2024 21:20:01 +0100 Subject: [PATCH] ci(pre-commit): Do not spellcheck past commit messages --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 14873e9..ecfb4ed 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,6 +25,8 @@ repos: args: [ --ignore-words=.codespellignore ] + # We cannot fix spelling errors in past commit message without force-push. + exclude: ^CHANGELOG.md$ - repo: https://github.com/doublify/pre-commit-rust rev: v1.0 hooks: