Skip to content

Commit 92f014e

Browse files
committed
Expand clang-tidy checks and refine ignores
Broadened the lint profile from a small, hand-picked set to full groups (`bugprone-*`, `clang-analyzer-*`, `portability-*`, `modernize-*`, `readability-*`) for wider static analysis coverage. Also adjusted exclusions to suppress high-noise rules (`convert-member-functions-to-static`, `avoid-c-arrays`, `loop-convert`, trailing return types) while enabling `misc-unused-include` to catch unnecessary includes.
1 parent 65a28bb commit 92f014e

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

.clang-tidy

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
Checks: >
22
google-*,
3-
readability-identifier-naming,
4-
modernize-redundant-void-arg,
5-
modernize-concat-nested-namespaces,
6-
modernize-use-nullptr,
7-
modernize-use-default-member-init,
8-
modernize-use-override,
9-
-google-runtime-references,
10-
-clang-analyzer-*,
11-
-misc-unused-include
3+
bugprone-*,
4+
clang-analyzer-*,
5+
portability-*,
6+
modernize-*,
7+
readability-*,
8+
-readability-convert-member-functions-to-static,
9+
-modernize-avoid-c-arrays,
10+
-modernize-loop-convert,
11+
-modernize-use-trailing-return-type,
12+
misc-unused-include
1213
1314
CheckOptions:
1415
- key: readability-identifier-naming.ClassCase

0 commit comments

Comments
 (0)