-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
48 lines (48 loc) · 1.24 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
default_stages: [pre-commit]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
- id: check-executables-have-shebangs
- id: check-json
- id: detect-private-key
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
args: ["--write-changes"]
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
- id: shellcheck
args: ["--exclude=SC1091,SC2181"]
exclude: (zshrc|zsh)$
- repo: https://github.com/hoxbro/prettier-pre-commit
rev: v3.5.1
hooks:
- id: prettier
types_or:
- markdown
- yaml
- repo: https://github.com/hoxbro/taplo-pre-commit
rev: v0.9.3
hooks:
- id: taplo
args:
[
--option,
align_comments=false,
--option,
column_width=100,
--option,
"indent_string= ",
]
- repo: https://github.com/JohnnyMorganz/StyLua
rev: v2.0.2
hooks:
- id: stylua
name: stylua
args: ["--config-path", ".config/nvim/stylua.toml"]