Skip to content

Commit 435624a

Browse files
authored
Merge pull request #77 from ImperialCollegeLondon/sort-dictionary
Add `pre-commit` hook to keep dictionary file sorted
2 parents c4dc92a + 7023e1b commit 435624a

File tree

2 files changed

+165
-163
lines changed

2 files changed

+165
-163
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ repos:
55
- id: check-merge-conflict
66
- id: trailing-whitespace
77
- id: end-of-file-fixer
8+
- id: file-contents-sorter
9+
files: ^\.wordlist\.txt$
10+
args: [--unique]
811
- repo: https://github.com/igorshubovych/markdownlint-cli
912
rev: v0.42.0
1013
hooks:

0 commit comments

Comments
 (0)