Update .analysis_options to link to blocking bugs
Also, some minor cleanup in activity.dart, though much more is needed (see https://github.com/flutter/flutter/issues/2668).
This commit is contained in:
@@ -25,16 +25,16 @@ linter:
|
||||
# - annotate_overrides # still a lot of work to do before enabling this one
|
||||
# - avoid_as # https://github.com/dart-lang/linter/issues/195
|
||||
- avoid_init_to_null
|
||||
# - avoid_return_types_on_setters # still a lot of work to do before enabling this one
|
||||
# - avoid_return_types_on_setters # https://github.com/dart-lang/linter/issues/202
|
||||
- camel_case_types
|
||||
# - constant_identifier_names # still a lot of work to do before enabling this one
|
||||
# - constant_identifier_names # https://github.com/dart-lang/linter/issues/204 (and 203)
|
||||
- empty_constructor_bodies
|
||||
- hash_and_equals
|
||||
# - implementation_imports # "// ignore:" isn't working yet
|
||||
# - implementation_imports # https://github.com/dart-lang/linter/issues/203
|
||||
- library_names
|
||||
- library_prefixes
|
||||
- non_constant_identifier_names
|
||||
# - one_member_abstracts # "// ignore:" isn't working yet
|
||||
# - one_member_abstracts # https://github.com/dart-lang/linter/issues/203
|
||||
- package_api_docs
|
||||
- package_names
|
||||
- package_prefixed_library_names
|
||||
@@ -44,7 +44,7 @@ linter:
|
||||
- sort_constructors_first
|
||||
- sort_unnamed_constructors_first
|
||||
- super_goes_last
|
||||
# - type_annotate_public_apis # see always_specify_types, which this is a subset of
|
||||
- type_annotate_public_apis # subset of always_specify_types
|
||||
- type_init_formals
|
||||
- unnecessary_brace_in_string_interp
|
||||
- unnecessary_getters_setters
|
||||
|
||||
Reference in New Issue
Block a user