forked from Slicer/ExtensionsIndex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
43 lines (40 loc) · 1.19 KB
/
.pre-commit-config.yaml
File metadata and controls
43 lines (40 loc) · 1.19 KB
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
37
38
39
40
41
42
43
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
args: ["--maxkb=1024"]
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.5.3"
hooks:
- id: prettier
types_or: [yaml, javascript, json]
additional_dependencies:
- "prettier@3.5.3"
- "prettier-plugin-multiline-arrays@4.0.3"
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: forbid-tabs
- id: remove-tabs
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: "0.33.0"
hooks:
- id: check-jsonschema
files: ^[^/]*\.json$
args:
# Using local schema file to avoid caching issues with remote URLs
[
"--schemafile",
"schemas/slicer-extension-catalog-entry-schema-v1.0.2.json",
]
- id: check-dependabot
- id: check-github-workflows