2019-12-19 00:37:25 +01:00
|
|
|
analyzer:
|
|
|
|
strong-mode:
|
|
|
|
implicit-casts: false
|
|
|
|
language:
|
|
|
|
strict-inference: true
|
|
|
|
strict-raw-types: true
|
|
|
|
errors:
|
|
|
|
missing_js_lib_annotation: ignore
|
|
|
|
deprecated_member_use_from_same_package: ignore
|
|
|
|
|
|
|
|
# These are necessary for matching the JS API.
|
|
|
|
avoid_types_as_parameter_names: ignore
|
|
|
|
|
|
|
|
# This has tons of false positives for StreamSubscription.close().
|
|
|
|
unawaited_futures: ignore
|
|
|
|
|
2019-12-19 00:46:36 +01:00
|
|
|
# These are style preferences rather than potential semantic issues. While
|
|
|
|
# we're not intrinsically opposed to adopting them for consistency with the
|
|
|
|
# Dart ecosystem, there aren't currently any automated tools to help us
|
|
|
|
# migrate to and remain consistent with these style rules, so achieving
|
|
|
|
# consistency isn't worth the engineering time we'd spend getting there.
|
|
|
|
annotate_overrides: ignore
|
|
|
|
prefer_single_quotes: ignore
|
|
|
|
use_function_type_syntax_for_parameters: ignore
|
|
|
|
|
2019-12-19 00:37:25 +01:00
|
|
|
include: package:pedantic/analysis_options.yaml
|