Enable "UselessAssignment" rubocop lint
This commit is contained in:
parent
d7eceafb27
commit
0406455c8a
1 changed files with 1 additions and 1 deletions
|
@ -932,7 +932,7 @@ Lint/UselessAccessModifier:
|
||||||
Lint/UselessAssignment:
|
Lint/UselessAssignment:
|
||||||
Description: 'Checks for useless assignment to a local variable.'
|
Description: 'Checks for useless assignment to a local variable.'
|
||||||
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Lint/UselessComparison:
|
Lint/UselessComparison:
|
||||||
Description: 'Checks for comparison of something with itself.'
|
Description: 'Checks for comparison of something with itself.'
|
||||||
|
|
Loading…
Reference in a new issue