From e3655c4513c37b7b1a7a2e9adef2f3ac3063f45b Mon Sep 17 00:00:00 2001 From: Neeraj Gupta Date: Thu, 7 Mar 2024 13:11:42 +0530 Subject: [PATCH] [auth] Add linter rule for missing await (#732) ## Description ## Tests --- auth/analysis_options.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/auth/analysis_options.yaml b/auth/analysis_options.yaml index 59ff504e8..de5533ba1 100644 --- a/auth/analysis_options.yaml +++ b/auth/analysis_options.yaml @@ -27,6 +27,7 @@ linter: - use_rethrow_when_possible - directives_ordering - always_use_package_imports + - unawaited_futures analyzer: errors: @@ -45,6 +46,8 @@ analyzer: prefer_const_declarations: warning prefer_const_constructors_in_immutables: ignore # too many warnings + unawaited_futures: warning # convert to warning after fixing existing issues + avoid_renaming_method_parameters: ignore # incorrect warnings for `equals` overrides exclude: