From bdd02cf2fa20f6ce251717974d5e1dbcc0052d94 Mon Sep 17 00:00:00 2001 From: jo Date: Sat, 19 Nov 2022 17:10:10 +0100 Subject: [PATCH] chore: add codespell pre-commit hook --- .codespellignore | 0 .pre-commit-config.yaml | 6 ++++++ 2 files changed, 6 insertions(+) create mode 100644 .codespellignore diff --git a/.codespellignore b/.codespellignore new file mode 100644 index 000000000..e69de29bb diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a0a0440c5..c8eeef468 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,3 +51,9 @@ repos: hooks: - id: prettier files: \.(md|yml|yaml|json)$ + + - repo: https://github.com/codespell-project/codespell + rev: v2.2.2 + hooks: + - id: codespell + additional_dependencies: [tomli]