add new lints of linter-0.1.44 and enable unnecessary_parenthesis (#15585)
This commit is contained in:
committed by
GitHub
parent
d518bd2dc8
commit
217b2bdaa1
@@ -63,6 +63,7 @@ linter:
|
||||
- avoid_init_to_null
|
||||
- avoid_null_checks_in_equality_operators
|
||||
# - avoid_positional_boolean_parameters # not yet tested
|
||||
# - avoid_relative_lib_imports # not yet tested
|
||||
- avoid_return_types_on_setters
|
||||
# - avoid_returning_null # we do this commonly
|
||||
# - avoid_returning_this # https://github.com/dart-lang/linter/issues/842
|
||||
@@ -141,6 +142,7 @@ linter:
|
||||
- unnecessary_null_aware_assignments
|
||||
- unnecessary_null_in_if_null_operators
|
||||
- unnecessary_overrides
|
||||
- unnecessary_parenthesis
|
||||
# - unnecessary_statements # not yet tested
|
||||
- unnecessary_this
|
||||
- unrelated_type_equality_checks
|
||||
|
||||
Reference in New Issue
Block a user