dart-sdk/pkg/kernel/analysis_options.yaml
Johnni Winther 4ff04f641b [kernel] Add always_declare_return_types lint
Change-Id: Icdcc648f42393b28daf648f752e3b4d61f51aa10
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/212043
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
2021-09-01 16:50:27 +00:00

22 lines
514 B
YAML

analyzer:
exclude:
- testcases/**
linter:
rules:
- curly_braces_in_flow_control_structures
- prefer_adjacent_string_concatenation
- unawaited_futures
- recursive_getters
- avoid_empty_else
- empty_statements
- list_remove_unrelated_type
- iterable_contains_unrelated_type
- valid_regexps
- package_api_docs
- lines_longer_than_80_chars
- unrelated_type_equality_checks
- annotate_overrides
- always_declare_return_types
# - always_specify_types