[WIP] feature: add bulk update #4003
lint.yml
on: pull_request
lint
/
...
/
standardrb
29s
lint
/
...
/
erb-lint
9s
lint
/
check-eslint-config
3s
lint
/
...
/
eslint
0s
Annotations
6 errors
lint / runner / standardrb:
app/components/avo/views/resource_index_component.rb#L176
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/ArgumentAlignment: Use one level of indentation for arguments following the first line of a multi-line method call.
Raw Output:
app/components/avo/views/resource_index_component.rb:176:12: C: [Corrected] Layout/ArgumentAlignment: Use one level of indentation for arguments following the first line of a multi-line method call.
icon: "avo/edit",
^^^^^^^^^^^^^^^^
|
lint / runner / standardrb:
app/components/avo/views/resource_index_component.rb#L177
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/ArgumentAlignment: Use one level of indentation for arguments following the first line of a multi-line method call.
Raw Output:
app/components/avo/views/resource_index_component.rb:177:12: C: [Corrected] Layout/ArgumentAlignment: Use one level of indentation for arguments following the first line of a multi-line method call.
form_class: "flex flex-col sm:flex-row sm:inline-flex",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
lint / runner / standardrb:
app/components/avo/views/resource_index_component.rb#L178
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/ArgumentAlignment: Use one level of indentation for arguments following the first line of a multi-line method call.
Raw Output:
app/components/avo/views/resource_index_component.rb:178:12: C: [Corrected] Layout/ArgumentAlignment: Use one level of indentation for arguments following the first line of a multi-line method call.
data: {} do
^^^^^^^^
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L31
[rubocop] reported by reviewdog 🐶
[Corrected] Style/TernaryParentheses: Use parentheses for ternary expressions with complex conditions.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:31:34: C: [Corrected] Style/TernaryParentheses: Use parentheses for ternary expressions with complex conditions.
prefilled[field_name] = (values.uniq.size == 1 ? values.first : nil)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
lint / runner / standardrb:
app/helpers/avo/url_helpers.rb#L48
[rubocop] reported by reviewdog 🐶
[Corrected] Lint/SymbolConversion: Unnecessary symbol conversion; use :edit_bulk_update_path instead.
Raw Output:
app/helpers/avo/url_helpers.rb:48:16: W: [Corrected] Lint/SymbolConversion: Unnecessary symbol conversion; use :edit_bulk_update_path instead.
avo.send :"edit_bulk_update_path", resource, **args
^^^^^^^^^^^^^^^^^^^^^^^^
|
lint / runner / standardrb:
app/helpers/avo/url_helpers.rb#L48
[rubocop] reported by reviewdog 🐶
[Corrected] Style/SymbolLiteral: Do not use strings for word-like symbol literals.
Raw Output:
app/helpers/avo/url_helpers.rb:48:16: C: [Corrected] Style/SymbolLiteral: Do not use strings for word-like symbol literals.
avo.send :"edit_bulk_update_path", resource, **args
^^^^^^^^^^^^^^^^^^^^^^^^
|