aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy (renamed from include/.clang-tidy)0
-rw-r--r--examples/.clang-tidy9
-rw-r--r--src/.clang-tidy9
-rw-r--r--test/.clang-tidy9
4 files changed, 3 insertions, 24 deletions
diff --git a/include/.clang-tidy b/.clang-tidy
index 0a4ae44..0a4ae44 100644
--- a/include/.clang-tidy
+++ b/.clang-tidy
diff --git a/examples/.clang-tidy b/examples/.clang-tidy
index f18400c..bf9899a 100644
--- a/examples/.clang-tidy
+++ b/examples/.clang-tidy
@@ -1,11 +1,7 @@
Checks: >
- *,
-*-named-parameter,
-*-non-private-member-variables-in-classes,
-*avoid-c-arrays,
- -*magic-numbers,
- -*uppercase-literal-suffix,
- -altera*,
-android-cloexec-fopen,
-bugprone-easily-swappable-parameters,
-bugprone-macro-parentheses,
@@ -32,12 +28,9 @@ Checks: >
-hicpp-signed-bitwise,
-hicpp-vararg,
-llvm-header-guard,
- -llvmlibc-*,
-misc-misplaced-const,
-modernize-use-trailing-return-type,
-performance-no-int-to-ptr,
-readability-function-cognitive-complexity,
- -readability-identifier-length,
-readability-implicit-bool-conversion,
-FormatStyle: file
-HeaderFilterRegex: 'pugl/.*|test/.*|examples/.*'
+InheritParentConfig: true
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 7a3b28c..4415bd2 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -1,14 +1,7 @@
Checks: >
- *,
- -*-uppercase-literal-suffix,
- -*magic-numbers,
- -altera*,
-bugprone-easily-swappable-parameters,
-hicpp-multiway-paths-covered,
-hicpp-signed-bitwise,
-llvm-header-guard,
- -llvmlibc-*,
-readability-function-cognitive-complexity,
- -readability-identifier-length,
-FormatStyle: file
-HeaderFilterRegex: 'pugl/.*'
+InheritParentConfig: true
diff --git a/test/.clang-tidy b/test/.clang-tidy
index 6be68df..c018d1f 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -1,17 +1,10 @@
Checks: >
- *,
- -*-magic-numbers,
- -*-uppercase-literal-suffix,
- -altera*,
-bugprone-suspicious-include,
-cert-err33-c,
-google-runtime-references,
-hicpp-multiway-paths-covered,
-hicpp-signed-bitwise,
-llvm-header-guard,
- -llvmlibc-*,
-modernize-use-trailing-return-type,
-readability-function-cognitive-complexity,
- -readability-identifier-length,
-FormatStyle: file
-HeaderFilterRegex: 'pugl/.*|test/.*'
+InheritParentConfig: true