summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorDoan Luu Duc Tai <doan@luuduct.ai>2026-09-08 14:46:47 -0500
committerDoan Luu Duc Tai <doan@luuduct.ai>2026-09-08 14:46:47 -0500
commitf34fb5042d40c186583f9e3009d8a1dd71d07d43 (patch)
tree3f494f3723ebe9f173d0702a97509794f0ef85a5 /.clang-tidy
Initial commitmain
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy37
1 files changed, 37 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000..2ab7431
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,37 @@
+---
+Checks: >
+ -*,
+ clang-analyzer-*,
+ clang-analyzer-security.*,
+ bugprone-*,
+ performance-*,
+ portability-*,
+ readability-*,
+ cert-*,
+ misc-*,
+ google-*,
+ cppcoreguidelines-*,
+ modernize-*,
+ -misc-include-cleaner,
+ -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling
+
+CheckOptions:
+ - key: readability-identifier-naming.VariableCase
+ value: lower_case
+ - key: readability-identifier-naming.FunctionCase
+ value: lower_case
+ - key: readability-identifier-naming.GlobalConstantCase
+ value: UPPER_CASE
+ - key: readability-identifier-naming.StructCase
+ value: CamelCase
+ - key: readability-identifier-naming.UnionCase
+ value: CamelCase
+ - key: readability-identifier-naming.EnumCase
+ value: CamelCase
+ - key: readability-identifier-naming.EnumConstantCase
+ value: UPPER_CASE
+ - key: readability-identifier-naming.MacroDefinitionCase
+ value: UPPER_CASE
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+...