aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-05 12:50:18 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-05 12:50:18 +0200
commit071db248789bf57ae0b489610b2574da816e649a (patch)
treeb425476732a057b6bc1c108bc90e99dd3c0028fd
parent9af10c2b7851e74f0f67fbbbcb2c299f566285f9 (diff)
WIP clang-tidy configuration
-rw-r--r--.clang-tidy9
-rw-r--r--.editorconfig8
2 files changed, 17 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000..47e256e
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,9 @@
+Checks: '-*,readability-identifier-naming'
+CheckOptions:
+ - { key: readability-identifier-naming.NamespaceCase, value: lower_case }
+ - { 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.GlobalConstantCase, value: UPPER_CASE }
+
+# vim: ft=yaml
diff --git a/.editorconfig b/.editorconfig
index a54d21c..a9383e8 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,3 +1,11 @@
+root = true
+
[*]
indent_style = tab
indent_size = 4
+end_of_line = lf
+insert_final_newline = true
+
+[*.md]
+indent_style = space
+indent_size = 2