[WIP] feature: add bulk update #4095
lint.yml
on: pull_request
lint
/
...
/
standardrb
36s
lint
/
...
/
erb-lint
7s
lint
/
check-eslint-config
3s
lint
/
...
/
eslint
0s
Annotations
5 errors
lint / runner / standardrb:
app/components/avo/views/resource_edit_component.rb#L29
[rubocop] reported by reviewdog 🐶
[Corrected] Style/RedundantAssignment: Redundant assignment before returning detected.
Raw Output:
app/components/avo/views/resource_edit_component.rb:29:5: C: [Corrected] Style/RedundantAssignment: Redundant assignment before returning detected.
path = if params[:controller] == "avo/bulk_update" ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
lint / runner / standardrb:
app/components/avo/views/resource_edit_component.rb#L46
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/EmptyLines: Extra blank line detected.
Raw Output:
app/components/avo/views/resource_edit_component.rb:46:1: C: [Corrected] Layout/EmptyLines: Extra blank line detected.
|
lint / runner / standardrb:
app/components/avo/views/resource_edit_component.rb#L46
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/EmptyLinesAroundMethodBody: Extra empty line detected at method body end.
Raw Output:
app/components/avo/views/resource_edit_component.rb:46:1: C: [Corrected] Layout/EmptyLinesAroundMethodBody: Extra empty line detected at method body end.
|
lint / runner / standardrb:
app/components/avo/views/resource_edit_component.rb#L46
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/TrailingWhitespace: Trailing whitespace detected.
Raw Output:
app/components/avo/views/resource_edit_component.rb:46:1: C: [Corrected] Layout/TrailingWhitespace: Trailing whitespace detected.
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L102
[rubocop] reported by reviewdog 🐶
[Corrected] Style/TernaryParentheses: Use parentheses for ternary expressions with complex conditions.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:102:34: C: [Corrected] Style/TernaryParentheses: Use parentheses for ternary expressions with complex conditions.
prefilled[field_name] = (values.size == 1 ? values.first : nil)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|