Skip to content

Commit 063e0bd

Browse files
committed
chore: add .pre-commit-config.yaml
1 parent 9f43d05 commit 063e0bd

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.pre-commit-config.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v5.0.0
4+
hooks:
5+
- id: check-added-large-files
6+
args: ["--maxkb=1024"]
7+
- id: check-merge-conflict
8+
- id: end-of-file-fixer
9+
- id: trailing-whitespace
10+
args: [--markdown-linebreak-ext=md]
11+
- id: check-merge-conflict
12+
- id: check-executables-have-shebangs
13+
- id: check-case-conflict
14+
- id: mixed-line-ending
15+
- id: detect-private-key

config/private_dot_config/nvim/lazyvim.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
"NEWS.md": "10960"
1818
},
1919
"version": 7
20-
}
20+
}
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
indent_type = "Spaces"
22
indent_width = 2
3-
column_width = 120
3+
column_width = 120

0 commit comments

Comments
 (0)