mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
chore(mobile): Apply stricter linting rules for Flutter and known issues (#30373)
This commit is contained in:
parent
9a143f0047
commit
858aeadce8
29 changed files with 50 additions and 32 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue