We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41003ee commit e5560cdCopy full SHA for e5560cd
.pre-commit-config.yaml
@@ -30,6 +30,29 @@ repos:
30
entry: clang-format
31
types: [ c ]
32
33
+- repo: https://github.com/python-jsonschema/check-jsonschema
34
+ rev: 0.30.0
35
+ hooks:
36
+ - id: check-jsonschema
37
+ name: check doc JSON schemas
38
+ args: ["--schemafile", "doc/rpc-schema-draft.json"]
39
+ files: ^doc/schemas/.*\.json$
40
+ types: [ json ]
41
+
42
+ - id: check-metaschema
43
+ name: check doc JSON metaschemas
44
+ args: ["--verbose"]
45
46
47
48
+- repo: https://github.com/pre-commit/pre-commit-hooks
49
+ rev: v5.0.0
50
51
+ - id: pretty-format-json
52
+ args: [ "--indent", "2", "--no-sort-keys" ]
53
54
55
56
- repo: https://github.com/codespell-project/codespell
57
rev: v2.3.0
58
hooks:
0 commit comments