-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
31 lines (31 loc) · 943 Bytes
/
.pre-commit-config.yaml
File metadata and controls
31 lines (31 loc) · 943 Bytes
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
---
repos:
- repo: local
hooks:
- id: shfmt-posix
name: shfmt (POSIX)
language: system
entry: shfmt --case-indent --indent 2 --posix --write
types: [shell]
exclude: ^(bash|hooks/|zsh)
- id: shfmt-auto
name: shfmt (auto)
language: system
entry: shfmt --case-indent --indent 2 --language-dialect auto --write
files: ^(aliases$|bash|hooks/|tag-workstation/zlogin$|zsh)
exclude: ^zsh/functions/prompt_koronen_setup$
- id: shellcheck
name: shellcheck
language: system
entry: shellcheck
types: [shell]
- id: shellcheck-extra
name: shellcheck (extra)
language: system
entry: shellcheck
files: ^(aliases|bash_profile|bashrc|tag-workstation/zlogin|zshenv|zshrc)$
- id: yamllint
name: yamllint
language: system
entry: yamllint
types: [yaml]