Bug fixes
- #14273: Fix an error for
Lint/EmptyInterpolation
when using a boolean literal inside interpolation. (@koic) - #14260: Fix an error for
Lint/UselessDefaultValueArgument
whenfetch
call without a receiver. (@koic) - #14267: Fix an error for
Style/ConditionalAssignment
cop when using one-line branches. (@viralpraxis) - #14275: Fix false positives for
Style/RedundantParentheses
when using parenthesized one-line pattern matching in endless method definition. (@koic) - #14269: Fix false positives for
Style/RedundantSelf
when local variable assignment name is used in nestedif
. (@koic) - #14286: Fix incorrect autocorrect for
Lint/SafeNavigationChain
when a safe navigation is used on the left-hand side of a-
operator when inside an array. (@koic)
Changes
- #14232: Add
AllowedPatterns
andAllowBangMethods
configuration toNaming/PredicateMethod
. (@dvandersluis) - #14268: Register operator expression range boundaries as offenses in
Lint/AmbiguousRange
. (@lovro-bikic) - #14264: Offend access modifiers used on top-level in
Lint/UselessAccessModifier
. (@lovro-bikic) - #14278: Register conditions wrapped in parentheses as offenses in
Style/MinMaxComparison
. (@lovro-bikic)