Upgrade CONSUL DEMOCRACY to version 2.2.0 #246
Annotations
16 errors
ESLint:
app/assets/javascripts/ckeditor/plugins/mediaembed/plugin.js#L17
'me' is assigned a value but never used
|
ESLint:
app/assets/javascripts/ckeditor/plugins/mediaembed/plugin.js#L33
'element' is defined but never used
|
ESLint:
app/assets/javascripts/ckeditor/plugins/mediaembed/plugin.js#L35
'element' is defined but never used
|
ESLint:
app/assets/javascripts/ckeditor/plugins/mediaembed/plugin.js#L49
Expected indentation of 10 spaces but found 12
|
ESLint
Process completed with exit code 1.
|
RuboCop:
app/controllers/admin/budget_investments_controller.rb#L103
Layout/HashAlignment: Align the keys of a hash literal if they span more than one line.
|
RuboCop:
app/controllers/admin/budget_investments_controller.rb#L104
Layout/HashAlignment: Align the keys of a hash literal if they span more than one line.
|
RuboCop:
app/controllers/admin/maps_controller.rb#L14
Layout/LineLength: Line is too long. [113/110] (https://rubystyle.guide#max-line-length)
|
RuboCop:
app/controllers/admin/maps_controller.rb#L29
Rails/RedundantActiveRecordAllMethod: Redundant `all` detected. (https://rails.rubystyle.guide/#redundant-all)
|
RuboCop:
app/helpers/budgets_helper.rb#L35
Style/InvertibleUnlessCondition: Prefer `if budget.blank?` over `unless budget.present?`.
|
RuboCop:
app/helpers/proposals_helper.rb#L115
Style/RedundantInterpolation: Prefer `to_s` over string interpolation.
|
RuboCop:
app/lib/user_segments.rb#L40
Layout/LineLength: Line is too long. [126/110] (https://rubystyle.guide#max-line-length)
|
RuboCop:
app/models/budget.rb#L162
Layout/EmptyLines: Extra blank line detected. (https://rubystyle.guide#two-or-more-empty-lines)
|
RuboCop:
app/models/budget.rb#L163
Layout/EmptyLineBetweenDefs: Expected 1 empty line between method definitions; found 2. (https://rubystyle.guide#empty-lines-between-methods)
|
RuboCop:
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)
|
ERB Lint
Process completed with exit code 1.
|