From 90595b5afa57447b1eba377bdfbedf2cad0859eb Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Tue, 3 Oct 2023 16:06:09 -0600 Subject: [PATCH] Opt out `flutter/third_party/**` from clang-tidy checks explicitly. (flutter/engine#46514) See https://github.com/flutter/flutter/issues/134969. /cc @zanderso --- engine/src/flutter/ci/licenses_golden/excluded_files | 1 + engine/src/flutter/third_party/.clang-tidy | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 engine/src/flutter/third_party/.clang-tidy diff --git a/engine/src/flutter/ci/licenses_golden/excluded_files b/engine/src/flutter/ci/licenses_golden/excluded_files index 4867cbe9134..44865d3cf14 100644 --- a/engine/src/flutter/ci/licenses_golden/excluded_files +++ b/engine/src/flutter/ci/licenses_golden/excluded_files @@ -389,6 +389,7 @@ ../../../flutter/sky/tools/install_framework_headers.py ../../../flutter/sky/tools/objcopy.py ../../../flutter/testing +../../../flutter/third_party/.clang-tidy ../../../flutter/third_party/accessibility/README.md ../../../flutter/third_party/accessibility/ax/ax_enum_util_unittest.cc ../../../flutter/third_party/accessibility/ax/ax_event_generator_unittest.cc diff --git a/engine/src/flutter/third_party/.clang-tidy b/engine/src/flutter/third_party/.clang-tidy new file mode 100644 index 00000000000..ef7500e1a85 --- /dev/null +++ b/engine/src/flutter/third_party/.clang-tidy @@ -0,0 +1,4 @@ +# Disable all checks in this folder. +# +# We cannot ask third_party code to conform to our lints. +Checks: "-*"