Skip to content
GitHub Actions / rubocop failed Aug 23, 2024 in 1s

reviewdog [rubocop] report

reported by reviewdog 🐶

Findings (1)

spec/models/query/results_cf_sorting_integration_spec.rb|177 col 47| Avoid comma after the last item of an array.

Filtered Findings (9)

app/models/custom_field/order_statements.rb|90 col 5| Use <<-SQL.squish instead of <<-SQL.
app/models/custom_field/order_statements.rb|96 col 5| Use <<-SQL.squish instead of <<-SQL.
app/models/custom_field/order_statements.rb|104 col 5| Use <<-SQL.squish instead of <<-SQL.
app/models/custom_field/order_statements.rb|115 col 5| Use <<-SQL.squish instead of <<-SQL.
app/models/custom_field/order_statements.rb|123 col 5| Use <<-SQL.squish instead of <<-SQL.
app/models/custom_field/order_statements.rb|132 col 5| Use <<-SQL.squish instead of <<-SQL.
app/models/custom_field/order_statements.rb|142 col 5| Use <<-SQL.squish instead of <<-SQL.
app/models/custom_field/order_statements.rb|150 col 5| Use <<-SQL.squish instead of <<-SQL.
app/models/custom_field/order_statements.rb|158 col 5| Use <<-SQL.squish instead of <<-SQL.

Annotations

Check notice on line 177 in spec/models/query/results_cf_sorting_integration_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/models/query/results_cf_sorting_integration_spec.rb#L177 <Style/TrailingCommaInArrayLiteral>

Avoid comma after the last item of an array.
Raw output
spec/models/query/results_cf_sorting_integration_spec.rb:177:47: C: Style/TrailingCommaInArrayLiteral: Avoid comma after the last item of an array.