From d2bf57c101a2aaa5a4fde311b28a9487192de12e Mon Sep 17 00:00:00 2001
From: Anders Lindh Olsson <anders.lindholsson@ess.eu>
Date: Tue, 12 Apr 2022 15:53:22 +0200
Subject: [PATCH] Lint as C-code

---
 .pre-commit-config.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index d71bf858..7ea4bdec 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -25,6 +25,6 @@ repos:
     rev: v1.3.5
     hooks:
     - id: cppcheck
-      args: ["--enable=all", "--suppress=missingIncludeSystem", "--language=c++"]
+      args: ["--enable=all", "--suppress=missingIncludeSystem", "--language=c"]
     - id: cpplint
       args: ["--verbose", "0", "--filter", "-runtime/int,-build/include_subdir,-runtime/printf"]
-- 
GitLab