mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
## Pre-launch Checklist - [x] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I read the [Contributors Guide]. - [x] I updated/added relevant documentation (doc comments with `///`). - [ ] All existing and new tests are passing. --------- Co-authored-by: David Iglesias <ditman@gmail.com> Co-authored-by: Mark Thompson <2554588+MarkTechson@users.noreply.github.com> Co-authored-by: John Ryan <ryjohn@google.com>
23 lines
536 B
YAML
23 lines
536 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_breaks: true
|
|
unnecessary_statements: true
|
|
use_super_parameters: true
|