mirror of
https://github.com/agresdominik/cheat_sheet.git
synced 2026-04-21 18:05:51 +00:00
Pre commit to check json validity
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
hooks:
|
||||
- id: check-json
|
||||
name: Check if JSON is valid
|
||||
files: ^data/.*\.json$
|
||||
|
||||
Reference in New Issue
Block a user