-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
62 lines (61 loc) · 1.62 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
57
58
59
60
61
62
---
fail_fast: false
ci:
autoupdate_schedule: weekly
skip:
- check-symlinks
- fish_indent
- fish_syntax
- hadolint
- shellcheck
- shfmt
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
# - id: detect-aws-credentials
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
- id: forbid-new-submodules
- id: mixed-line-ending
- id: no-commit-to-branch
args: [--branch, main]
- id: trailing-whitespace
- repo: https://github.com/Kuniwak/vint
rev: v0.4a3
hooks:
- id: vint
args: [--enable-neovim]
exclude: tilde/.config/nvim/autoload/plug.vim
- repo: https://github.com/hugoh/pre-commit-fish.git
rev: v1.2
hooks:
- id: fish_syntax
- id: fish_indent
- repo: https://github.com/hadolint/hadolint
rev: v2.13.1-beta
hooks:
- id: hadolint
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: git-check
- id: shellcheck
- id: shfmt
# - repo: https://github.com/lunarmodules/luacheck
# rev: c795cbec5cbf022f2eb52f42cd1861c32d2b180f
# hooks:
# - id: luacheck
# args: [--globals, --ignore 'accessing undefined variable', --filename]
# - repo: https://github.com/JohnnyMorganz/StyLua
# rev: v0.11.3
# hooks:
# - id: stylua-system
# args: [--indent-type, Spaces]