Add and apply DuplicateMethods rubocop rule
These methods were defined with `attr_reader` (or accessor in some cases) and then they were redefined.
This commit is contained in:
@@ -120,6 +120,9 @@ Layout/TrailingWhitespace:
|
||||
Lint/AmbiguousRegexpLiteral:
|
||||
Enabled: true
|
||||
|
||||
Lint/DuplicateMethods:
|
||||
Enabled: true
|
||||
|
||||
Lint/LiteralAsCondition:
|
||||
Enabled: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user