Format JSON with clang-format

We do not activate support for JavaScript at this time since most of our
JavaScript code is in BTest files to test zeekjs, but these files also
contain other languages which leads to largely misformated files.
This commit is contained in:
Benjamin Bannier 2023-10-10 21:30:14 +02:00
parent 26d04fd9fc
commit e6256446dd
3 changed files with 88 additions and 85 deletions

View file

@ -141,4 +141,6 @@ StatementMacros:
- STANDARD_OPERATOR_1
TabWidth: 4
UseTab: Never
---
Language: Json
...

View file

@ -9,6 +9,7 @@ repos:
types_or:
- "c"
- "c++"
- "json"
- repo: https://github.com/maxwinterstein/shfmt-py
rev: v3.7.0.1