Closed sarii0213 closed 1 year ago
bundle exec rubocop
実行結果
app/controllers/achievements_controller.rb:2:3: C: Metrics/AbcSize: Assignment Branch Condition size for show is too high. [<6, 30, 0> 30.59/17] (http://c2.com/cgi/wiki?AbcMetric, https://en.wikipedia.org/wiki/ABC_Software_Metric)
def show ...
^^^^^^^^
bundle exec erblint
実行結果
Lint/UselessAssignment: Useless assignment to variable - `column_num`. (https://github.com/fortissimo1997/ruby-style-guide/blob/japanese/README.ja.md#underscore-unused-vars) (not autocorrected)
In file: app/views/achievements/_chart.html.erb:1
Lint/UselessAssignment: Useless assignment to variable - `last_row_days`. (https://github.com/fortissimo1997/ruby-style-guide/blob/japanese/README.ja.md#underscore-unused-vars) (not autocorrected)
In file: app/views/achievements/_chart.html.erb:2
Lint/UselessAssignment: Useless assignment to variable - `rows`. (https://github.com/fortissimo1997/ruby-style-guide/blob/japanese/README.ja.md#underscore-unused-vars) (not autocorrected)
In file: app/views/achievements/_chart.html.erb:3
概要
issue: #63
UI の変更
実績ページ(1/2)
実績ページ(2/2)
備考