aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Lohnau <alexander.lohnau@gmx.de>2021-10-24 18:53:20 +0200
committerAlexander Lohnau <alexander.lohnau@gmx.de>2021-10-24 19:37:00 +0200
commit81f70c9639154dcd067d73b0620767d8ba0362cf (patch)
tree1f5552e09f82026a33abe0e0a2dfae7e9e66489f
parent60755c8c38f6645dc33ed7acc345035af26e0045 (diff)
downloadextra-cmake-modules-81f70c9639154dcd067d73b0620767d8ba0362cf.tar.gz
extra-cmake-modules-81f70c9639154dcd067d73b0620767d8ba0362cf.tar.bz2
clang-format.cmake: Disable formatting for json files
This is only supported in the latest clang-format version. Having formatting enabled would cause it to complain about no rules being set for json files.
-rw-r--r--kde-modules/clang-format.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/kde-modules/clang-format.cmake b/kde-modules/clang-format.cmake
index cf5ff2c0..92b55964 100644
--- a/kde-modules/clang-format.cmake
+++ b/kde-modules/clang-format.cmake
@@ -12,6 +12,9 @@
Language: JavaScript
DisableFormat: true
---
+Language: Json
+DisableFormat: true
+---
# Style for C++
Language: Cpp