mirror of
https://www.github.com/b3vis/borg-server
synced 2026-08-05 16:12:46 +02:00
Add pre-commit configuration file
This commit is contained in:
@@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
repos:
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v3.2.0
|
||||||
|
hooks:
|
||||||
|
- id: trailing-whitespace
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
- id: check-yaml
|
||||||
|
- id: check-added-large-files
|
||||||
|
- id: check-case-conflict
|
||||||
|
- id: check-executables-have-shebangs
|
||||||
|
- id: check-json
|
||||||
|
- id: pretty-format-json
|
||||||
|
- id: detect-private-key
|
||||||
|
- repo: https://github.com/hadolint/hadolint
|
||||||
|
rev: v2.8.0
|
||||||
|
hooks:
|
||||||
|
- id: hadolint
|
||||||
|
- repo: https://github.com/gruntwork-io/pre-commit
|
||||||
|
rev: v0.1.16
|
||||||
|
hooks:
|
||||||
|
- id: shellcheck
|
||||||
|
exclude: ^(files/manifests/|templates/)
|
||||||
Reference in New Issue
Block a user