This repository was archived by the owner on Nov 20, 2024. It is now read-only.
1.35.0
- add new lints:
implicit_reopenunnecessary_breakstype_literal_in_constant_pattern
- updates to existing lints to support patterns and class modifiers
- remove support for:
enable_null_safetyinvariant_booleansprefer_bool_in_assertsprefer_equal_for_default_valuessuper_goes_last
- fix
unnecessary_parenthesisfalse-positives with null-aware expressions - fix
void_checksto allow assignments ofFuture<dynamic>?to parameters
typedFutureOr<void>? - fix
use_build_context_synchronouslyin if conditions - fix a false positive for
avoid_private_typedef_functionswith generalized
type aliases - update
unnecessary_parenthesisto detect some doubled parens - update
void_checksto allow returningNeveras void - update
no_adjacent_strings_in_listto support set literals and for- and
if-elements - update
avoid_types_as_parameter_namesto handle type variables - update
avoid_positional_boolean_parametersto handle typedefs - update
avoid_redundant_argument_valuesto check parameters of redirecting
constructors - improve performance for
prefer_const_literals_to_create_immutables - update
use_build_context_synchronouslyto check context properties - improve
unnecessary_parenthesissupport for property accesses and method
invocations