-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
36 lines (35 loc) · 975 Bytes
/
.pre-commit-config.yaml
File metadata and controls
36 lines (35 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# SPDX-FileCopyrightText: 2025 Håkon Løvdal <kode@denkule.no>
#
# SPDX-License-Identifier: MIT
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-executables-have-shebangs
- id: check-json
exclude: |
(?x)^(
\.vscode/.*\.json$|
tsconfig.*\.json$
)$
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-yaml
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: |
(?x)^(
supabase/.branches/_current_branch$|
supabase/.temp/cli-latest$
)$
- repo: https://gitlab.com/bmares/check-json5
rev: v1.0.0
hooks:
- id: check-json5
files: |
(?x)^(
\.vscode/.*\.json$|
tsconfig.*\.json$
)$