From d4d9b9607076f66a8b323debbec2dcd8fe9aad36 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 27 Sep 2020 16:52:37 +0200 Subject: Strengthen lint target --- .clang-tidy | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .clang-tidy (limited to '.clang-tidy') diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000..49a21f2 --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,16 @@ +Checks: > + *, + -*-magic-numbers, + -*-narrowing-conversions, + -*-uppercase-literal-suffix, + -bugprone-branch-clone, + -bugprone-suspicious-string-compare, + -cert-err34-c, + -clang-analyzer-unix.Malloc, + -cppcoreguidelines-init-variables, + -hicpp-signed-bitwise, + -llvm-header-guard, + -readability-else-after-return, +WarningsAsErrors: '*' +HeaderFilterRegex: '.*' +FormatStyle: file -- cgit v1.2.1