aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-09-27 18:09:29 +0200
committerDavid Robillard <d@drobilla.net>2020-09-27 18:09:29 +0200
commit4d4222c583f6169159bb9d02868488ea03569aad (patch)
tree9aa51b68af4c859f61e38251f017473aca5c29bc /.clang-tidy
parent7550f8ed8eb0a48ae677c944d4d36923f2e73022 (diff)
downloadlv2-4d4222c583f6169159bb9d02868488ea03569aad.tar.xz
Strengthen lint target
Diffstat (limited to '.clang-tidy')
-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 0000000..c147b83
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,17 @@
+Checks: >
+ *,
+ -*-magic-numbers,
+ -*-narrowing-conversions,
+ -*-uppercase-literal-suffix,
+ -bugprone-macro-parentheses,
+ -clang-analyzer-valist.Unterminated,
+ -clang-diagnostic-empty-translation-unit,
+ -clang-diagnostic-unused-function,
+ -clang-diagnostic-unused-macros,
+ -cppcoreguidelines-init-variables,
+ -hicpp-signed-bitwise,
+ -llvm-header-guard,
+ -readability-else-after-return,
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file