Skip to content

Commit a7678b0

Browse files
committed
Configure codespell hook
1 parent 73beb88 commit a7678b0

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.pre-commit-config.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
ci:
2+
# pre-commit.ci will open PRs updating our hooks once a month
3+
autoupdate_schedule: monthly
4+
# skip any check that needs internet access
5+
autofix_prs: true
6+
7+
repos:
8+
# Codespell hook configuration
9+
- repo: https://github.com/codespell-project/codespell
10+
rev: v2.3.0
11+
hooks:
12+
- id: codespell
13+
name: Spell Check with Codespell
14+
args: ['--ignore-words-list=hte,nd']
15+
files: '\\.(tsx|md)$'
16+
exclude: ''

0 commit comments

Comments
 (0)