summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.clang-tidy17
1 files changed, 17 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 000000000..b86487175
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,17 @@
+Checks: '-*,readability-identifier-naming'
+CheckOptions:
+- key: readability-identifier-naming.PrivateMemberPrefix
+ value: 'm_'
+- key: readability-identifier-naming.ClassConstantCase
+ value: aNy_CasE
+# an empty *Prefix needs a *Case to work
+- key: readability-identifier-naming.ClassConstantPrefix
+ value: ''
+#- key: readability-identifier-naming.PrivateMemberCase
+# value: CamelCase
+#- key: readability-identifier-naming.FunctionCase
+# value: CamelCase
+#- key: readability-identifier-naming.EnumCase
+# value: camelBack
+WarningsAsErrors: '*'
+HeaderFilterRegex: '/cuberite/src/\.?[^\.]'