Skip to content

Commit

Permalink
feat: Add a .clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsergio committed Nov 2, 2024
1 parent 604a8d6 commit 37b54c5
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
Checks: '*, -google-*, -objc-*, -llvmlibc-*, -zircon-*,
-altera-*,
-hicpp-braces-around-statements,
-hicpp-named-parameter,
-hicpp-use-auto,
-hicpp-avoid-c-arrays,modernize-avoid-c-arrays,
-hicpp-no-array-decay,
-hicpp-signed-bitwise,
-hicpp-use-equals-default,
-hicpp-use-emplace,
-hicpp-special-member-functions,
-readability-braces-around-statements,
-readability-identifier-length,
-readability-implicit-bool-conversion,
-readability-named-parameter,
-readability-qualified-auto,
-readability-magic-numbers,
-readability-convert-member-functions-to-static,
-readability-function-cognitive-complexity,
-readability-use-anyofallof,
-readability-misleading-indentation,
-readability-make-member-function-const,
-modernize-use-trailing-return-type,
-modernize-use-auto,
-modernize-use-nodiscard,
-modernize-return-braced-init-list,
-modernize-macro-to-enum,
-modernize-use-using,
-modernize-use-emplace,
-modernize-use-equals-default,
-modernize-avoid-c-arrays,
-llvm-namespace-comment,
-llvm-qualified-auto,
-llvm-include-order,
-llvm-else-after-return,
-fuchsia-*,
-readability-inconsistent-declaration-parameter-name,
-readability-else-after-return,
-misc-const-correctness,
-misc-non-private-member-variables-in-classes,
-misc-no-recursion,
-misc-use-anonymous-namespace,
-misc-include-cleaner,
-cppcoreguidelines-pro-type-const-cast,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-type-static-cast-downcast,
-cppcoreguidelines-avoid-const-or-ref-data-members,
-cppcoreguidelines-special-member-functions,
-performance-unnecessary-value-param,
-clang-analyzer-cplusplus.NewDelete,
-clang-analyzer-cplusplus.NewDeleteLeaks,
-cert-err58-cpp,
-bugprone-suspicious-include,
-bugprone-branch-clone
'

0 comments on commit 37b54c5

Please sign in to comment.