We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e1f40ff + 3c29c77 commit de68c27Copy full SHA for de68c27
.pre-commit-config.yaml
@@ -37,7 +37,7 @@ repos:
37
language: system
38
- id: cspell
39
name: Code spell checker (cspell)
40
- description: Run cspell to check for spelling errors.
41
- entry: cspell --no-must-find-files --
+ description: Run cspell to check for spelling errors (if available).
+ entry: bash -c 'if command -v cspell >/dev/null 2>&1; then cspell --no-must-find-files -- "$@"; else echo "cspell not found, skipping spell check"; exit 0; fi' --
42
pass_filenames: true
43
0 commit comments