Skip to content

Commit 4c2179f

Browse files
authored
Pre-commit checks (#19)
1 parent 999fb73 commit 4c2179f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.pre-commit-config.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,16 @@ repos:
55
rev: v5.0.0
66
hooks:
77
- id: check-added-large-files
8+
- id: check-executables-have-shebangs
9+
- id: check-json
10+
exclude: '.+/tsconfig.json'
11+
- id: check-shebang-scripts-are-executable
12+
exclude: '.+\.rs' # would be triggered by #![some_attribute]
13+
- id: check-symlinks
814
- id: check-toml
915
- id: check-yaml
16+
args: [ --allow-multiple-documents ]
17+
- id: destroyed-symlinks
1018
- id: end-of-file-fixer
1119
- id: mixed-line-ending
1220
args: [ --fix=lf ]

justfile

100644100755
File mode changed.

0 commit comments

Comments
 (0)