diff --git a/mobile/analysis_options.yaml b/mobile/analysis_options.yaml index bef051bff2..6355af18d8 100644 --- a/mobile/analysis_options.yaml +++ b/mobile/analysis_options.yaml @@ -17,7 +17,7 @@ linter: # section below to disable rules from the `package:flutter_lints/flutter.yaml` # included above or to enable additional rules. A list of all available lints # and their documentation is published at - # https://dart-lang.github.io/linter/lints/index.html. + # https://dart.dev/tools/linter-rules # # Instead of disabling a lint rule for the entire project in the # section below, it can also be suppressed for a single line of code @@ -28,6 +28,7 @@ linter: rules: # avoid_print: false # Uncomment to disable the `avoid_print` rule # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule + unawaited_futures: true use_build_context_synchronously: false require_trailing_commas: true unrelated_type_equality_checks: true @@ -45,6 +46,9 @@ analyzer: plugins: - custom_lint + + errors: + unawaited_futures: warning custom_lint: debug: true