Skip to content

Commit ffda3b1

Browse files
committed
Expand clang-tidy checks and refine exclusions
Update `.clang-tidy` to use broader check groups (`bugprone-*`, `clang-analyzer-*`, `portability-*`, `modernize-*`, and `readability-*`) instead of the previous narrow list. The config now disables a few noisy modernize/readability rules and enables `misc-unused-include`, shifting the lint profile toward wider static analysis coverage with targeted opt-outs.
1 parent b2066a8 commit ffda3b1

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)