-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
40 lines (40 loc) · 1.08 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
repos:
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.4
hooks:
- id: remove-crlf
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: mixed-line-ending
- id: end-of-file-fixer
- id: trailing-whitespace
# - repo: https://github.com/terraform-docs/terraform-docs
# rev: "v0.16.0"
# hooks:
# - id: terraform-docs-go
# args: ["markdown", "table", "--output-file", "README.md", "./"]
# - repo: local
# hooks:
# - id: markdown-tables
# name: markdown-tables
# entry: markdown-table-formatter README.md
# language: system
- repo: https://github.com/anderseknert/pre-commit-opa
rev: v1.5.1
hooks:
- id: opa-fmt
args: [policies, -w]
- id: opa-check
args: [policies, -b]
- repo: https://github.com/oxsecurity/megalinter
rev: v7.5.0
hooks:
- id: megalinter-incremental
stages:
- commit
#- id: megalinter-full
# stages:
# - commit