diff options
| author | Colin Wilk <colin.wilk@tum.de> | 2023-05-26 19:59:24 +0200 |
|---|---|---|
| committer | Colin Wilk <colin.wilk@tum.de> | 2023-05-26 19:59:24 +0200 |
| commit | 9db96602063e6ceb3cb8e819a8e942f28061bb42 (patch) | |
| tree | 2dd4703f368a28e1d41dd9fd279c9bb475d12697 /.pre-commit-config.yaml | |
| download | ansible-role-prometheus-target-9db96602063e6ceb3cb8e819a8e942f28061bb42.tar.gz ansible-role-prometheus-target-9db96602063e6ceb3cb8e819a8e942f28061bb42.zip | |
init
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
Diffstat (limited to '.pre-commit-config.yaml')
| -rw-r--r-- | .pre-commit-config.yaml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..0204c17 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,23 @@ +--- +default_stages: [commit, push] + +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.0.1 + hooks: + - id: check-added-large-files + - id: check-yaml + - id: trailing-whitespace + - id: double-quote-string-fixer + - id: end-of-file-fixer + + - repo: https://github.com/ansible-community/ansible-lint.git + rev: v6.15.0 + hooks: + - id: ansible-lint + files: \.(yaml|yml)$ + + - repo: https://github.com/markdownlint/markdownlint + rev: v0.12.0 + hooks: + - id: markdownlint |