Add Style/HashExcept Rubocop rule
We were already using it because Rails adds the `Hash#except` method for Ruby 2.7 and earlier, but since the method wasn't part of Ruby itself, the Rubocop rule only works with Ruby 3.0 and later.
This commit is contained in:
@@ -505,6 +505,9 @@ Style/FileWrite:
|
|||||||
Style/HashConversion:
|
Style/HashConversion:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
Style/HashExcept:
|
||||||
|
Enabled: true
|
||||||
|
|
||||||
Style/HashSyntax:
|
Style/HashSyntax:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user