Skip to content

Commit c15b818

Browse files
authored
Add some meta pre-commit hooks (#1297)
1 parent 2defceb commit c15b818

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
minimum_pre_commit_version: "2.9.0"
22
exclude: /vendor/
33
repos:
4+
- repo: meta
5+
hooks:
6+
- id: check-hooks-apply
7+
- id: check-useless-excludes
8+
- repo: local
9+
hooks:
10+
- id: forbid-symlinks
11+
name: Forbid symlinks
12+
entry: Forbid symlinks
13+
language: fail
14+
types: [symlink]
415
- repo: https://github.com/pre-commit/pre-commit-hooks
516
rev: v4.4.0
617
hooks:
@@ -9,7 +20,6 @@ repos:
920
- id: check-executables-have-shebangs
1021
- id: check-merge-conflict
1122
- id: check-shebang-scripts-are-executable
12-
- id: check-symlinks
1323
- id: destroyed-symlinks
1424
- id: detect-private-key
1525
- id: end-of-file-fixer

0 commit comments

Comments
 (0)