diff --git a/.clang-tidy b/.clang-tidy index fe6d3fcfd359f..0089977b0f702 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1 +1,8 @@ Checks: 'google-*' + +# Only warnings treated as errors are reported +# in the "ci/lint.sh" script and pre-push git hook. +# Add checks when all warnings are fixed +# to prevent new warnings from being introduced. +# https://github.com/flutter/flutter/issues/93279 +WarningsAsErrors: 'clang-analyzer-osx.*'