|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
# This set of lints builds on top of `package:lints/core.yaml`; it includes
|
|
|
|
|
# lints that help identify additional issues that may lead to problems when
|
|
|
|
|
# running or consuming Dart code, as well as lints that enforce writing Dart
|
|
|
|
|
# using a single, idiomatic style. See https://github.com/dart-lang/lints for
|
|
|
|
|
# more information.
|
|
|
|
|
# This set of lints builds on top of `package:lints/core.yaml`.
|
|
|
|
|
# It includes lints that help identify additional issues that might lead to
|
|
|
|
|
# problems when running or consuming Dart code, as well as lints
|
|
|
|
|
# that enforce writing Dart using a single, idiomatic style.
|
|
|
|
|
# Check out https://github.com/dart-lang/lints for more information.
|
|
|
|
|
#
|
|
|
|
|
# For documentation about customizing static analysis for your project, see
|
|
|
|
|
# https://dart.dev/guides/language/analysis-options.
|
|
|
|
|
# To learn more about customizing static analysis for your package or app,
|
|
|
|
|
# visit https://dart.dev/tools/analysis.
|
|
|
|
|
|
|
|
|
|
include: package:lints/core.yaml
|
|
|
|
|
|
|
|
|
@ -37,7 +37,6 @@ linter:
|
|
|
|
|
- prefer_collection_literals
|
|
|
|
|
- prefer_conditional_assignment
|
|
|
|
|
- prefer_contains
|
|
|
|
|
- prefer_equal_for_default_values
|
|
|
|
|
- prefer_final_fields
|
|
|
|
|
- prefer_for_elements_to_map_fromIterable
|
|
|
|
|
- prefer_function_declarations_over_variables
|
|
|
|
@ -48,7 +47,6 @@ linter:
|
|
|
|
|
- prefer_is_not_operator
|
|
|
|
|
- prefer_null_aware_operators
|
|
|
|
|
- prefer_spread_collections
|
|
|
|
|
- prefer_void_to_null
|
|
|
|
|
- recursive_getters
|
|
|
|
|
- slash_for_doc_comments
|
|
|
|
|
- type_init_formals
|
|
|
|
@ -64,5 +62,7 @@ linter:
|
|
|
|
|
- unnecessary_string_escapes
|
|
|
|
|
- unnecessary_string_interpolations
|
|
|
|
|
- unnecessary_this
|
|
|
|
|
- unnecessary_to_list_in_spreads
|
|
|
|
|
- use_function_type_syntax_for_parameters
|
|
|
|
|
- use_rethrow_when_possible
|
|
|
|
|
- use_super_parameters
|
|
|
|
|