summaryrefslogtreecommitdiff
path: root/dwmblocks/.clang-tidy
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-03-08 15:21:28 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-03-08 15:21:28 +0900
commit4437d5b3c3eea76f6e2b0fd4a2ba21c02a098aeb (patch)
treee8dcb20bf144aacf88f93b012dccacdeb08015cd /dwmblocks/.clang-tidy
parentc2b06f0d5795a789f4ddab459179ff89aedfee98 (diff)
updates
Diffstat (limited to 'dwmblocks/.clang-tidy')
-rw-r--r--dwmblocks/.clang-tidy30
1 files changed, 30 insertions, 0 deletions
diff --git a/dwmblocks/.clang-tidy b/dwmblocks/.clang-tidy
new file mode 100644
index 0000000..17ce268
--- /dev/null
+++ b/dwmblocks/.clang-tidy
@@ -0,0 +1,30 @@
+Checks: |
+ -*,
+ abseil-*,
+ bugprone-*,
+ clang-analyzer-*,
+ misc-*,
+ modernize-*,
+ performance-*,
+ portability-*,
+ readability-*,
+ llvm-*,
+ -bugprone-easily-swappable-parameters,
+ -readability-avoid-const-params-in-decls,
+ -readability-identifier-length
+
+CheckOptions:
+ - key: readability-inconsistent-declaration-parameter-name.Strict
+ value: true
+ - key: readability-identifier-naming.StructCase
+ value: lower_case
+ - key: readability-identifier-naming.FunctionCase
+ value: lower_case
+ - key: readability-identifier-naming.VariableCase
+ value: lower_case
+ - key: readability-identifier-naming.EnumConstantCase
+ value: UPPER_CASE
+ - key: readability-identifier-naming.MacroDefinitionCase
+ value: UPPER_CASE
+ - key: readability-function-cognitive-complexity.Threshold
+ value: 15