rails/guides/rails_guides
Ryuta Kamizono ea65d92f19
Enable Lint/UselessAssignment cop to avoid unused variable warnings (#34904)
* Enable `Lint/UselessAssignment` cop to avoid unused variable warnings

Since we've addressed the warning "assigned but unused variable"
frequently.

370537de05092aeea552146b42042833212a1acc
3040446cece8e7a6d9e29219e636e13f180a1e03
5ed618e192e9788094bd92c51255dda1c4fd0eae
76ebafe594fc23abc3764acc7a3758ca473799e5

And also, I've found the unused args in c1b14ad which raises no warnings
by the cop, it shows the value of the cop.
2019-01-09 18:09:01 +09:00
..
markdown Wrap custom id of a header attribute into \" in rails guides 2018-10-05 00:57:32 +03:00
generator.rb Enable Lint/UselessAssignment cop to avoid unused variable warnings (#34904) 2019-01-09 18:09:01 +09:00
helpers.rb Cleanup credits related code as it is removed now in PR #32429 2018-04-03 15:19:57 +05:30
indexer.rb Use frozen string literal in guides/ 2017-08-13 22:04:09 +09:00
kindle.rb Enable Start/EndWith and RegexpMatch cops 2018-07-28 17:37:17 -04:00
levenshtein.rb Enable Style/ParenthesesAroundCondition cop 2018-08-19 08:16:21 +09:00
markdown.rb Add OG tags to layout.html.erb 2019-01-09 13:23:22 +09:00