Upgrade CONSUL DEMOCRACY to version 2.2.0 #244
Annotations
10 errors
app/controllers/admin/budget_investments_controller.rb#L103
Layout/HashAlignment: Align the keys of a hash literal if they span more than one line.
|
app/controllers/admin/budget_investments_controller.rb#L104
Layout/HashAlignment: Align the keys of a hash literal if they span more than one line.
|
app/controllers/admin/maps_controller.rb#L14
Layout/LineLength: Line is too long. [113/110] (https://rubystyle.guide#max-line-length)
|
app/controllers/admin/maps_controller.rb#L29
Rails/RedundantActiveRecordAllMethod: Redundant `all` detected. (https://rails.rubystyle.guide/#redundant-all)
|
app/helpers/budgets_helper.rb#L35
Style/InvertibleUnlessCondition: Prefer `if budget.blank?` over `unless budget.present?`.
|
app/helpers/proposals_helper.rb#L115
Style/RedundantInterpolation: Prefer `to_s` over string interpolation.
|
app/lib/user_segments.rb#L40
Layout/LineLength: Line is too long. [126/110] (https://rubystyle.guide#max-line-length)
|
app/models/budget.rb#L162
Layout/EmptyLines: Extra blank line detected. (https://rubystyle.guide#two-or-more-empty-lines)
|
app/models/budget.rb#L163
Layout/EmptyLineBetweenDefs: Expected 1 empty line between method definitions; found 2. (https://rubystyle.guide#empty-lines-between-methods)
|
app/models/budget.rb#L197
Performance/Sum: Use `sum` instead of `reduce(:+)`, unless calling `reduce(:+)` on an empty array. (https://blog.bigbinary.com/2016/11/02/ruby-2-4-introduces-enumerable-sum.html)
|
The logs for this run have expired and are no longer available.
Loading