Skip to content

Commit d0391b2

Browse files
committed
Add 6 official pre-commit hooks
1 parent e8d3ce1 commit d0391b2

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,3 +32,13 @@ 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

0 commit comments

Comments
 (0)