1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
Files
samples/analysis_options.yaml
Parker Lougheed 7e11b89445 Move to using analyzer strict modes instead of deprecated strong mode (#1531)
The strong mode options were already deprecated and are being removed in Dart 3.
2022-12-15 18:54:24 -06:00

22 lines
507 B
YAML

include: package:flutter_lints/flutter.yaml
analyzer:
language:
strict-casts: true
strict-inference: true
linter:
rules:
avoid_types_on_closure_parameters: true
avoid_void_async: true
cancel_subscriptions: true
close_sinks: true
directives_ordering: true
package_api_docs: true
package_prefixed_library_names: true
test_types_in_equals: true
throw_in_finally: true
unawaited_futures: true
unnecessary_statements: true
use_super_parameters: true