Skip to content

Commit 2fa4d22

Browse files
committed
Adding suggestion: a pre-commit hook test for deb-get
1 parent 5b095a0 commit 2fa4d22

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.pre-commit-config.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
---
4+
# fail_fast: true
5+
minimum_pre_commit_version: 1.18.1
6+
repos:
7+
- repo: https://github.com/pre-commit/pre-commit-hooks
8+
rev: v2.3.0
9+
hooks:
10+
- id: trailing-whitespace
11+
exclude: ".(md|rst)$"
12+
- id: end-of-file-fixer
13+
- id: check-merge-conflict
14+
- id: mixed-line-ending
15+
- id: check-added-large-files
16+
- repo: https://github.com/jumanjihouse/pre-commit-hooks
17+
rev: 2.1.5
18+
hooks:
19+
- id: git-check # Configure in .gitattributes
20+
- id: shellcheck
21+
args: ["--severity=warning"]
22+
exclude: ".bats$"
23+
- id: shfmt
24+
args: ['-i', '4']
25+
exclude: ".bats$"
26+
- repo: https://github.com/Lucas-C/pre-commit-hooks
27+
rev: v1.1.7
28+
hooks:
29+
# - id: forbid-crlf
30+
- id: remove-crlf
31+
exclude: ".bat$"

0 commit comments

Comments
 (0)