From 741183b201f24225e43c8bcce39c89bbc3b024f8 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Sat, 2 Nov 2024 04:10:22 -0400 Subject: [PATCH] feat: use keywords --- conf.json | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/conf.json b/conf.json index a26b5f9..782d8fd 100644 --- a/conf.json +++ b/conf.json @@ -11,17 +11,12 @@ "-c", "clang-tidy-18 --header-filter=.* --quiet -checks=* src/*.cpp" ], - "env": [ - "PATH=/usr/bin:/bin:/usr/local/bin" - ], + "env": ["PATH=/usr/bin:/bin:/usr/local/bin"], "cpuLimit": 10000000000, "memoryLimit": 104857600, "procLimit": 50, "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], + "copyOut": ["stdout", "stderr"], "stdin": { "content": "" }, @@ -41,21 +36,20 @@ "with": { "fullScore": 1000, "minScore": 0, - "files": [ - "stdout" - ], + "files": ["stdout"], "endOnMatch": true, "matches": [ { - "keyword": "[cppcoreguidelines-avoid-non-const-global-variables]", + "keywords": [ + "[cppcoreguidelines-avoid-non-const-global-variables]" + ], "score": 5 }, { - "keyword": "[readability-identifier-length]", - "score": 2 - }, - { - "keyword": "[misc-use-anonymous-namespace]", + "keywords": [ + "[readability-identifier-length]", + "[misc-use-anonymous-namespace]" + ], "score": 2 }, {