forked from voxpupuli/puppet-openvmtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
56 lines (55 loc) · 1.67 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
56
---
repos:
- repo: 'https://github.com/adrienverge/yamllint'
rev: v1.15.0
hooks:
- id: 'yamllint'
- repo: 'https://github.com/jumanjihouse/pre-commit-hooks'
rev: 1.11.0
hooks:
- id: 'bundler-audit'
- id: 'forbid-binary'
- id: 'git-check' # See .gitattributes
- id: 'git-dirty' # See .gitignore
- id: 'markdownlint' # See .mdlrc
exclude: '^CHANGELOG\.md$'
- id: 'reek'
- id: 'rubocop' # See .rubocop.yml
- id: 'script-must-have-extension'
- id: 'script-must-not-have-extension'
- id: 'shellcheck'
- repo: 'https://github.com/Lucas-C/pre-commit-hooks'
rev: v1.1.6
hooks:
- id: 'forbid-crlf'
- id: 'forbid-tabs'
- repo: 'https://github.com/chriskuehl/puppet-pre-commit-hooks'
rev: v2.1.0
hooks:
- id: 'epp-validate'
- id: 'erb-validate'
- id: 'g10k-validate'
- id: 'puppet-validate'
- id: 'ruby-validate'
- repo: https://github.com/pre-commit/mirrors-puppet-lint
rev: v2.3.6-1
hooks:
- id: 'puppet-lint' # See .puppet-lint.rc
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
rev: v2.2.3
hooks:
- id: 'check-added-large-files'
- id: 'check-executables-have-shebangs'
- id: 'check-json'
- id: 'check-merge-conflict'
- id: 'check-symlinks'
- id: 'check-xml'
- id: 'check-yaml'
- id: 'detect-private-key'
- id: 'end-of-file-fixer'
- id: 'mixed-line-ending'
- id: 'pretty-format-json'
args:
- '--autofix'
- id: 'sort-simple-yaml'
- id: 'trailing-whitespace'