-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
46 lines (46 loc) · 1.37 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
# 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
- id: check-merge-conflict
- id: check-symlinks
- id: check-json
- id: pretty-format-json
args: [--autofix, --indent, "2", --no-ensure-ascii, --no-sort-keys]
exclude: |
(?x)(
.jshintrc$|
\@infrastructure/.*$
)
- id: check-vcs-permalinks
- id: debug-statements
- id: detect-private-key
- id: trailing-whitespace
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending # force UNIX file endings for consistency
args: [--fix=lf]
- id: check-executables-have-shebangs
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.30.0
hooks:
- id: yamllint
- repo: https://github.com/martyzz1/pre-commit-hooks
rev: v1.8
hooks:
- id: prepend-branch-name
- id: circleci-config-validate
- id: circleci-orb-pack-validation
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: shellcheck
- repo: https://github.com/Lucas-C/pre-commit-hooks-markup
rev: v1.0.1
hooks:
- id: rst-linter
args: [--allow-raw]