From 4a959d4bdd3c24d01c1cc23a73f206e61f56a6d9 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Tue, 25 Mar 2025 13:54:35 +0100 Subject: [PATCH] .pre-commit-config.yaml: Also run cspell That cuaght me a few times... I think it's reasonable to ask devs to install cspell locally if they want to use the pre-commit hook. --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9d5cad837..53e879d09 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,3 +15,9 @@ repos: pass_filenames: false types: [file, rust] language: system + - id: cspell + name: Code spell checker (cspell) + description: Run cspell to check for spelling errors. + entry: cspell -- + pass_filenames: true + language: system