Skip to content

Commit eb5d0fa

Browse files
authored
Merge pull request #188 from eerovaher/pre-commit
Configure basic `pre-commit` hooks
2 parents 6ad7ee3 + e08c384 commit eb5d0fa

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.pre-commit-config.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
ci:
2+
autofix_prs: false
3+
autoupdate_schedule: 'monthly'
4+
5+
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v6.0.0
8+
hooks:
9+
- id: check-added-large-files
10+
args: ["--enforce-all", "--maxkb=100"]
11+
- id: check-case-conflict
12+
- id: check-merge-conflict
13+
- id: check-symlinks
14+
- id: check-toml
15+
- id: check-yaml
16+
- id: detect-private-key
17+
- id: end-of-file-fixer
18+
- id: trailing-whitespace

0 commit comments

Comments
 (0)