aboutsummaryrefslogtreecommitdiffstats
path: root/test/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to 'test/.clang-tidy')
-rw-r--r--test/.clang-tidy21
1 files changed, 5 insertions, 16 deletions
diff --git a/test/.clang-tidy b/test/.clang-tidy
index ca868be..f6fe1d6 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -2,25 +2,14 @@
# SPDX-License-Identifier: 0BSD OR ISC
Checks: >
- *,
-*-else-after-return,
- -*-magic-numbers,
- -altera-*,
-bugprone-easily-swappable-parameters,
- -bugprone-macro-parentheses,
-bugprone-suspicious-include,
- -llvm-header-guard,
+ -cert-err33-c,
+ -clang-diagnostic-unused-parameter,
+ -cppcoreguidelines-avoid-non-const-global-variables,
-llvmlibc-implementation-in-namespace,
- -llvmlibc-restrict-system-libc-headers,
+ -misc-unused-parameters,
-modernize-use-trailing-return-type,
- -performance-no-int-to-ptr,
-readability-function-cognitive-complexity,
- -readability-identifier-length,
-WarningsAsErrors: '*'
-HeaderFilterRegex: '.*'
-FormatStyle: file
-CheckOptions:
- - key: hicpp-uppercase-literal-suffix.NewSuffixes
- value: L;U;f
- - key: readability-uppercase-literal-suffix.NewSuffixes
- value: L;U;f
+InheritParentConfig: true