-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
30 lines (29 loc) · 789 Bytes
/
.pre-commit-config.yaml
File metadata and controls
30 lines (29 loc) · 789 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
ci:
autofix_prs: true
autoupdate_schedule: weekly
autofix_commit_msg: 'fix(pre_commit): 🎨 auto format pre-commit hooks'
autoupdate_commit_msg: 'chore(pre_commit): ⬆ pre_commit autoupdate'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: end-of-file-fixer
exclude: |
(?x)^(
(\.idea/.*)|
(.+/\.idea/.*)|
patches/.*
)$
- id: trailing-whitespace
exclude: ^patches/
- id: check-executables-have-shebangs
- id: check-toml
- id: check-case-conflict
- id: check-added-large-files
args: [--maxkb=4096]
exclude: ^logo/
- id: detect-private-key
- id: forbid-new-submodules
- id: pretty-format-json
args: [--autofix, --no-sort-keys, --indent=4]
- id: mixed-line-ending