mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
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:
parent
26d04fd9fc
commit
e6256446dd
3 changed files with 88 additions and 85 deletions
|
@ -141,4 +141,6 @@ StatementMacros:
|
||||||
- STANDARD_OPERATOR_1
|
- STANDARD_OPERATOR_1
|
||||||
TabWidth: 4
|
TabWidth: 4
|
||||||
UseTab: Never
|
UseTab: Never
|
||||||
|
---
|
||||||
|
Language: Json
|
||||||
...
|
...
|
||||||
|
|
|
@ -9,6 +9,7 @@ repos:
|
||||||
types_or:
|
types_or:
|
||||||
- "c"
|
- "c"
|
||||||
- "c++"
|
- "c++"
|
||||||
|
- "json"
|
||||||
|
|
||||||
- repo: https://github.com/maxwinterstein/shfmt-py
|
- repo: https://github.com/maxwinterstein/shfmt-py
|
||||||
rev: v3.7.0.1
|
rev: v3.7.0.1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue