Skip to content

Commit dfaa9b8

Browse files
committed
add check
1 parent 90fa898 commit dfaa9b8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@ repos:
66
- id: check-builtin-literals
77
- id: check-case-conflict
88
- id: check-executables-have-shebangs
9+
- id: check-json
10+
- id: check-merge-conflict
911
- id: check-shebang-scripts-are-executable
12+
- id: check-toml
13+
- id: check-yaml
14+
args: ["--allow-multiple-documents"]
1015
- id: debug-statements
1116
- id: end-of-file-fixer
17+
- id: fix-byte-order-marker
1218
- id: mixed-line-ending
1319
args: ["--fix=lf"]
20+
- id: pretty-format-json
21+
args: ["--autofix", "--no-sort-keys"]
22+
files: "$.json"
1423
- id: trailing-whitespace
1524

1625
- repo: https://github.com/astral-sh/ruff-pre-commit

0 commit comments

Comments
 (0)