-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
55 lines (55 loc) · 1.44 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# 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: check-added-large-files
args: ["--maxkb=1024"]
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: check-yaml
- id: destroyed-symlinks
- id: end-of-file-fixer
- id: mixed-line-ending
- id: no-commit-to-branch
- id: trailing-whitespace
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.23.0
hooks:
- id: check-gitlab-ci
- repo: local
hooks:
- id: autoupdate
name: Auto Update
entry: pre-commit
args:
- autoupdate
language: system
pass_filenames: false
- id: shellcheck
name: ShellCheck
entry: shellcheck
args:
- --external-sources
language: system
types: [shell]
- id: ansible-lint
name: Ansible Lint
entry: go-task
args:
- ans:lint
language: system
types: [yaml]
pass_filenames: false
- id: yamllint
name: Yaml Lint
entry: yamllint -f parsable
language: system
types: [yaml]