diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 501ca028f52f..4f0ba7919bd7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,6 +10,11 @@ repos: exclude: ^locale/ - id: trailing-whitespace + - repo: https://github.com/crate-ci/typos + rev: v1.16.23 + hooks: + - id: typos + - repo: local hooks: - id: ruff-lint diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 000000000000..027049fc82ea --- /dev/null +++ b/_typos.toml @@ -0,0 +1,3 @@ +[type.po] +extend-glob = ["*.po"] +check-file = false