mirror of
https://github.com/espressif/openthread.git
synced 2025-08-06 14:52:18 +08:00
[clang-tidy] move config to .clang-tidy
file (#9308)
This commit is contained in:
22
.clang-tidy
Normal file
22
.clang-tidy
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
Checks: >
|
||||
-*,
|
||||
bugprone-argument-comment,
|
||||
google-explicit-constructor,
|
||||
google-readability-casting,
|
||||
misc-unused-using-decls,
|
||||
modernize-loop-convert,
|
||||
modernize-use-bool-literals,
|
||||
modernize-use-equals-default,
|
||||
modernize-use-equals-delete,
|
||||
modernize-use-nullptr,
|
||||
readability-avoid-const-params-in-decls,
|
||||
readability-else-after-return,
|
||||
readability-inconsistent-declaration-parameter-name,
|
||||
readability-make-member-function-const,
|
||||
readability-redundant-control-flow,
|
||||
readability-redundant-member-init,
|
||||
readability-simplify-boolean-expr,
|
||||
readability-static-accessed-through-instance
|
||||
WarningsAsErrors: '*'
|
||||
HeaderFilterRegex: '(examples|include|src).*(?<!third_party.*repo)'
|
Reference in New Issue
Block a user