summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2018-05-06 19:07:34 +0200
committerpeterbell10 <peterbell10@live.co.uk>2018-05-06 19:07:34 +0200
commitb9fdaf8a942ea2f79e48e3f735ba8916f3364e70 (patch)
tree41c6f10550a4e606d33ac84fe3968b69875aa1d4 /.clang-tidy
parentGenerate cacti and sugarcane with different heights (#4137) (diff)
downloadcuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar
cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar.gz
cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar.bz2
cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar.lz
cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar.xz
cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar.zst
cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.zip
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/\.?[^\.]'