mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
---
|
|
# 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
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
args:
|
|
- --markdown-linebreak-ext=md # ignore markdown's line break
|
|
- id: end-of-file-fixer
|
|
- id: check-json
|
|
- id: check-yaml
|
|
args: [--allow-multiple-documents]
|
|
- id: check-added-large-files
|
|
- repo: https://github.com/markdownlint/markdownlint
|
|
rev: v0.12.0
|
|
hooks:
|
|
- id: markdownlint
|
|
args:
|
|
- -r "~MD013" # ignore line-length rule
|
|
# - repo: https://github.com/ansible-community/ansible-lint
|
|
# # FIXME: need to figure this out, too many stupid issues.
|
|
# # Using `ansible-lint -v ansible` for the time being.
|
|
# rev: v6.15.0
|
|
# hooks:
|
|
# - id: ansible-lint
|
|
# exclude: .*
|
|
# files: ansible/
|
|
- repo: https://github.com/hadolint/hadolint
|
|
rev: v2.12.1-beta
|
|
hooks:
|
|
- id: hadolint
|