[WIP] feature: add bulk update #4088
lint.yml
on: pull_request
lint
/
...
/
standardrb
25s
lint
/
...
/
erb-lint
6s
lint
/
check-eslint-config
2s
lint
/
...
/
eslint
0s
Annotations
10 errors
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L45
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/MultilineMethodCallIndentation: Use 2 (not 20) spaces for indenting an expression in an assignment spanning multiple lines.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:45:27: C: [Corrected] Layout/MultilineMethodCallIndentation: Use 2 (not 20) spaces for indenting an expression in an assignment spanning multiple lines.
.get_field_definitions
^^^^^^^^^^^^^^^^^^^^^^
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L46
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/MultilineMethodCallIndentation: Use 2 (not 20) spaces for indenting an expression in an assignment spanning multiple lines.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:46:27: C: [Corrected] Layout/MultilineMethodCallIndentation: Use 2 (not 20) spaces for indenting an expression in an assignment spanning multiple lines.
.select { |field| field.is_a?(Avo::Fields::ProgressBarField) }
^^^^^^^
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L47
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/MultilineMethodCallIndentation: Use 2 (not 20) spaces for indenting an expression in an assignment spanning multiple lines.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:47:27: C: [Corrected] Layout/MultilineMethodCallIndentation: Use 2 (not 20) spaces for indenting an expression in an assignment spanning multiple lines.
.map(&:id)
^^^^
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L48
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/MultilineMethodCallIndentation: Use 2 (not 20) spaces for indenting an expression in an assignment spanning multiple lines.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:48:27: C: [Corrected] Layout/MultilineMethodCallIndentation: Use 2 (not 20) spaces for indenting an expression in an assignment spanning multiple lines.
.map(&:to_sym)
^^^^
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L76
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside { detected.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:76:30: C: [Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside { detected.
failed_records << { record: record, errors: record.errors.full_messages }
^
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L76
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside } detected.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:76:82: C: [Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside } detected.
failed_records << { record: record, errors: record.errors.full_messages }
^
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L79
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside { detected.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:79:28: C: [Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside { detected.
failed_records << { record: record, errors: [e.message] }
^
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L79
[rubocop] reported by reviewdog 🐶
[Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside } detected.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:79:64: C: [Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside } detected.
failed_records << { record: record, errors: [e.message] }
^
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L93
[rubocop] reported by reviewdog 🐶
[Corrected] Style/TernaryParentheses: Use parentheses for ternary expressions with complex conditions.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:93: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
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
|