Skip to content

Commit 15accfe

Browse files
authored
Merge pull request #2330 from jbampton/more-pre-commit
Add 6 official pre-commit hooks
2 parents e456655 + de3c6f1 commit 15accfe

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ repos:
3232
name: run codespell
3333
description: Check spelling with codespell
3434
args: [--ignore-words=.github/linters/codespell.txt]
35+
- repo: https://github.com/pre-commit/pre-commit-hooks
36+
rev: v6.0.0
37+
hooks:
38+
- id: check-illegal-windows-names
39+
- id: check-merge-conflict
40+
- id: check-vcs-permalinks
41+
- id: detect-aws-credentials
42+
args: [--allow-missing-credentials]
43+
- id: detect-private-key
44+
- id: forbid-submodules
3545
- repo: https://github.com/adrienverge/yamllint
3646
rev: v1.37.1
3747
hooks:

0 commit comments

Comments
 (0)