Skip to content

Commit

Permalink
Adding suggestion: a pre-commit hook test for deb-get
Browse files Browse the repository at this point in the history
  • Loading branch information
seefood committed Sep 14, 2023
1 parent 5b095a0 commit 2fa4d22
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
---
# fail_fast: true
minimum_pre_commit_version: 1.18.1
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: trailing-whitespace
exclude: ".(md|rst)$"
- id: end-of-file-fixer
- id: check-merge-conflict
- id: mixed-line-ending
- id: check-added-large-files
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 2.1.5
hooks:
- id: git-check # Configure in .gitattributes
- id: shellcheck
args: ["--severity=warning"]
exclude: ".bats$"
- id: shfmt
args: ['-i', '4']
exclude: ".bats$"
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.7
hooks:
# - id: forbid-crlf
- id: remove-crlf
exclude: ".bat$"

0 comments on commit 2fa4d22

Please sign in to comment.