Skip to content

[WIP] feature: add bulk update #4095

[WIP] feature: add bulk update

[WIP] feature: add bulk update #4095

Triggered via pull request March 11, 2025 09:37
Status Failure
Total duration 48s
Artifacts

lint.yml

on: pull_request
lint  /  ...  /  standardrb
36s
lint / runner / standardrb
lint  /  ...  /  erb-lint
7s
lint / runner / erb-lint
lint  /  check-eslint-config
3s
lint / check-eslint-config
lint  /  ...  /  eslint
0s
lint / runner / eslint
Fit to window
Zoom out
Zoom in

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) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^