Skip to content

Commit 9f62721

Browse files
committed
A couple of custom corrections
1 parent b63372a commit 9f62721

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
ci:
2-
# pre-commit.ci will open PRs updating our hooks once a month
32
autoupdate_schedule: monthly
4-
# skip any check that needs internet access
53
autofix_prs: true
64

75
repos:
@@ -11,5 +9,9 @@ repos:
119
hooks:
1210
- id: codespell
1311
name: Spell Check with Codespell
14-
args: ['--write-changes', '--ignore-words-list=cppp,normale']
12+
args:
13+
- '--write-changes'
14+
- '--ignore-words-list=cppp,normale'
15+
- '--dictionary=static/custom_corrections.txt'
16+
# Exclude package-lock.json and all .svg files
1517
exclude: 'package-lock\.json|\.svg$'

static/custom_corrections.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
organisation->organization
2+
colour->color

0 commit comments

Comments
 (0)