mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
626 B
27 lines
626 B
include: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
exclude:
|
|
- lib/src/data.g.dart
|
|
language:
|
|
strict-casts: true
|
|
strict-inference: true
|
|
strict-raw-types: true
|
|
|
|
linter:
|
|
rules:
|
|
avoid_types_on_closure_parameters: true
|
|
avoid_void_async: true
|
|
cancel_subscriptions: true
|
|
close_sinks: true
|
|
directives_ordering: true
|
|
package_prefixed_library_names: true
|
|
prefer_final_in_for_each: true
|
|
prefer_single_quotes: true
|
|
test_types_in_equals: true
|
|
throw_in_finally: true
|
|
unawaited_futures: true
|
|
unnecessary_statements: true
|
|
use_enums: true
|
|
use_super_parameters: true
|