Ajout du validateur json + correctif factory metadata
This commit is contained in:
33
lib/All/json-schema-validator/.pre-commit-config.yaml
Normal file
33
lib/All/json-schema-validator/.pre-commit-config.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
repos:
|
||||
- repo: https://github.com/Takishima/cmake-pre-commit-hooks
|
||||
rev: v1.9.6
|
||||
hooks:
|
||||
- id: clang-format
|
||||
args:
|
||||
- '-i'
|
||||
- id: clang-tidy
|
||||
args:
|
||||
# TODO: Remove when upstream issue is fixed
|
||||
# https://gitlab.kitware.com/cmake/cmake/-/issues/24827
|
||||
# https://github.com/Takishima/cmake-pre-commit-hooks/issues/63
|
||||
- '-Bcmake-build-pre-commit'
|
||||
- '--preset'
|
||||
- 'pre-commit'
|
||||
stages: [ manual ]
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v6.0.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- repo: https://github.com/executablebooks/mdformat
|
||||
rev: 0.7.22
|
||||
hooks:
|
||||
- id: mdformat
|
||||
additional_dependencies:
|
||||
- mdformat-gfm
|
||||
- mdformat-tables
|
||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||
rev: 0.34.0
|
||||
hooks:
|
||||
- id: check-github-workflows
|
||||
Reference in New Issue
Block a user