Skip to content

Commit 9e72c52

Browse files
x1101oraNod
andauthored
Adding new pre-commit config (#503)
* Adding new pre-commit config * Applying suggestions from @oraNod * Adding YAML header per @oraNod's suggestion * Update .pre-commit-config.yaml Co-authored-by: Don Naro <dnaro@redhat.com> --------- Co-authored-by: Don Naro <dnaro@redhat.com>
1 parent 8084a15 commit 9e72c52

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
exclude: '.*\.svg$'
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v6.0.0
6+
hooks:
7+
- id: end-of-file-fixer
8+
- id: trailing-whitespace
9+
- id: check-merge-conflict
10+
- id: check-symlinks
11+
- id: check-toml
12+
- id: check-yaml

0 commit comments

Comments
 (0)