chore(spelling): add codespell pre-commit hook

Fixes spelling mistakes identified by it.
This commit is contained in:
Leroy Hopson 2024-03-29 23:55:53 +13:00
parent 5ae8d6a982
commit 6c2c1ee018
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
11 changed files with 20 additions and 20 deletions

View file

@ -5,11 +5,6 @@ ci:
autoupdate_commit_msg: "chore: autoupdate"
exclude: "^addons/gut/"
repos:
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
args: []
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
@ -23,3 +18,8 @@ repos:
hooks:
- id: gdformat
exclude: "^addons/gut/"
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
exclude: ".*package-lock.json|.*demo.txt|.*fonts.*LICENSE|.*THIRDPARTY_NOTICES.*|.*.svg"