2021-01-25 12:19:56 +01:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-05-06 23:49:05 +02:00
|
|
|
rev: v4.6.0
|
2021-01-25 12:19:56 +01:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
2023-08-25 20:06:04 +02:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
2024-05-06 23:49:05 +02:00
|
|
|
rev: v4.0.0-alpha.8
|
2021-01-25 12:19:56 +01:00
|
|
|
hooks:
|
|
|
|
- id: prettier
|
|
|
|
- repo: https://github.com/ansible/ansible-lint.git
|
2024-05-06 23:49:05 +02:00
|
|
|
rev: v24.2.3
|
2021-01-25 12:19:56 +01:00
|
|
|
hooks:
|
|
|
|
- id: ansible-lint
|
2024-05-07 13:43:25 +02:00
|
|
|
files: ^.*(defaults|handlers|tasks).*\.(yaml|yml)$
|