chore(mobile): Apply stricter linting rules for Flutter and known issues (#30373)

This commit is contained in:
Adam Gastineau 2026-07-30 12:15:35 -07:00 committed by GitHub
parent 9a143f0047
commit 858aeadce8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 50 additions and 32 deletions

View file

@ -29,7 +29,6 @@ linter:
# Formatting
avoid_print: true
unawaited_futures: true
use_build_context_synchronously: false
require_trailing_commas: true
unrelated_type_equality_checks: true
prefer_const_constructors: true
@ -51,6 +50,18 @@ linter:
avoid_multiple_declarations_per_line: true
unnecessary_breaks: true
# Known issues
avoid_slow_async_io: true
avoid_type_to_string: true
# Flutter specific
use_build_context_synchronously: false
sized_box_for_whitespace: true
use_colored_box: true
use_decorated_box: true
avoid_unnecessary_containers: true
use_full_hex_values_for_flutter_colors: true
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
analyzer: