Bug fixes
- #3911: Prevent a crash in
Performance/RegexpMatch
cop with module definition. (@pocke) - #3908: Prevent
Style/AlignHash
from breaking on a keyword splat when using enforcedtable
style. (@drenmi) - #3918: Prevent
Rails/EnumUniqueness
from breaking on a non-literal hash value. (@drenmi) - #3914: Fix department resolution for third party cops required through configuration. (@backus)
- #3846:
NodePattern
works for hyphenated node types. (@alexdowad) - #3922: Prevent
Style/NegatedIf
from breaking on negated ternary. (@drenmi) - #3915: Fix a false positive in
Lint/SafeNavigationChain
cop withtry
method. (@pocke)