Skip to content

Commit 439eb55

Browse files
authored
chore: 🧑‍💻 add typos as a pre-commit hook (#76)
## Description Closes #74 <!-- Select quick/in-depth as necessary --> This PR needs a quick review.
1 parent 67cc817 commit 439eb55

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,11 @@ repos:
1515
rev: v4.7.2
1616
hooks:
1717
- id: commitizen
18+
19+
# Use the mirror since the main `typos` repo has tags for different
20+
# sub-packages, which confuses pre-commit when it tries to find the latest
21+
# version
22+
- repo: https://github.com/adhtruong/mirrors-typos
23+
rev: v1.32.0
24+
hooks:
25+
- id: typos

0 commit comments

Comments
 (0)