Skip to content

Commit 0aafd0a

Browse files
committed
Add config for pre-commit CI
1 parent c4d1ff4 commit 0aafd0a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v4.2.0
6+
hooks:
7+
- id: end-of-file-fixer
8+
- id: mixed-line-ending
9+
args: [--fix=lf]
10+
- id: trailing-whitespace

0 commit comments

Comments
 (0)