[WIP] feature: add bulk update #4094
lint.yml
on: pull_request
lint
/
...
/
standardrb
25s
lint
/
...
/
erb-lint
9s
lint
/
check-eslint-config
3s
lint
/
...
/
eslint
0s
Annotations
10 errors
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L60
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/MultilineMethodCallIndentation: Use 2 (not 9) spaces for indenting an expression spanning multiple lines.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:60:16: C: [Corrected] Layout/MultilineMethodCallIndentation: Use 2 (not 9) spaces for indenting an expression spanning multiple lines.
.select { |field| field.is_a?(Avo::Fields::ProgressBarField) }
^^^^^^^
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L61
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/MultilineMethodCallIndentation: Use 2 (not 9) spaces for indenting an expression spanning multiple lines.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:61:16: C: [Corrected] Layout/MultilineMethodCallIndentation: Use 2 (not 9) spaces for indenting an expression spanning multiple lines.
.map(&:id)
^^^^
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L62
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/MultilineMethodCallIndentation: Use 2 (not 9) spaces for indenting an expression spanning multiple lines.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:62:16: C: [Corrected] Layout/MultilineMethodCallIndentation: Use 2 (not 9) spaces for indenting an expression spanning multiple lines.
.map(&:to_sym)
^^^^
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L103
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside { detected.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:103:26: C: [Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside { detected.
failed_records << { record: record, errors: errors }
^
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L103
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside } detected.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:103:57: C: [Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside } detected.
failed_records << { record: record, errors: errors }
^
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L114
[rubocop] reported by reviewdog 🐶
[Corrected] Style/TernaryParentheses: Use parentheses for ternary expressions with complex conditions.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:114:34: C: [Corrected] Style/TernaryParentheses: Use parentheses for ternary expressions with complex conditions.
prefilled[field_name] = (values.size == 1 ? values.first : nil)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L120
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/IndentationWidth: Use 2 (not 11) spaces for indentation.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:120:7: C: [Corrected] Layout/IndentationWidth: Use 2 (not 11) spaces for indentation.
@resource.find_record(params[:query], params: params)
^^^^^^^^^^^
|
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L122
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/IndentationWidth: Use 2 (not 11) spaces for indentation.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:122:7: C: [Corrected] Layout/IndentationWidth: Use 2 (not 11) spaces for indentation.
find_records_by_resource_ids
^^^^^^^^^^^
|
lint / runner / standardrb
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.heygears.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
|