Skip to content

Commit c0c34e2

Browse files
authored
Merge pull request #10 from ministryofjustice/feat/devsecops-hooks-9-spellcheck
feat(devsecops-9): add spellcheck
2 parents c59ab63 + d10b662 commit c0c34e2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Pre-commit configuration file for DevSecOps security hooks
2-
#
2+
#
33
# This configuration integrates the Ministry of Justice DevSecOps hooks
44
# to perform security baseline checks before commits are allowed.
55
#
@@ -20,3 +20,12 @@ repos:
2020
rev: a5bd873c96a914b5be53d35085f8f554ff9c4720
2121
hooks:
2222
- id: baseline
23+
name: MoJ baseline security hook
24+
25+
- repo: local
26+
hooks:
27+
- id: spellcheck
28+
name: Spell check in British English
29+
entry: npm run spellcheck
30+
language: system
31+
pass_filenames: false

0 commit comments

Comments
 (0)