Skip to content

in theory this should work #168

in theory this should work

in theory this should work #168

Triggered via push August 2, 2024 04:17
Status Failure
Total duration 1m 43s
Artifacts

lint-ruby.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: app/controllers/admin/export_domain_blocks_controller.rb#L32
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
lint: app/controllers/admin/export_domain_blocks_controller.rb#L37
[Correctable] Style/StringConcatenation: Prefer string interpolation to string concatenation. (https://rubystyle.guide#string-interpolation)
lint: app/controllers/admin/export_domain_blocks_controller.rb#L37
[Correctable] Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)
lint: app/controllers/api/v1/statuses/translations_controller.rb#L5
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
lint: app/controllers/api/v1/timelines/public_controller.rb#L18
[Correctable] Style/AndOr: Use && instead of and. (https://rubystyle.guide#no-and-or-or)
lint: app/controllers/api/v1/timelines/public_controller.rb#L20
[Correctable] Style/AndOr: Use && instead of and. (https://rubystyle.guide#no-and-or-or)
lint: app/controllers/api/v1/timelines/public_controller.rb#L20
[Correctable] Style/AndOr: Use && instead of and. (https://rubystyle.guide#no-and-or-or)
lint: app/controllers/api/v1/timelines/public_controller.rb#L22
[Correctable] Style/AndOr: Use && instead of and. (https://rubystyle.guide#no-and-or-or)
lint: app/controllers/api/v1/timelines/public_controller.rb#L22
[Correctable] Style/AndOr: Use || instead of or. (https://rubystyle.guide#no-and-or-or)
lint: app/controllers/api/v1/timelines/public_controller.rb#L22
[Correctable] Style/AndOr: Use && instead of and. (https://rubystyle.guide#no-and-or-or)
lint: app/controllers/api/v1/timelines/public_controller.rb#L24
Lint/DuplicateBranch: Duplicate branch body detected.
lint: app/controllers/api/v1/timelines/tag_controller.rb#L25
Lint/DuplicateBranch: Duplicate branch body detected.
lint: app/helpers/admin/trends/statuses_helper.rb#L3
[Correctable] Lint/DuplicateMagicComment: Duplicate magic comment detected.
lint: app/models/concerns/account/interactions.rb#L237
Lint/DuplicateMethods: Method Account::Interactions#reacted? is defined at both app/models/concerns/account/interactions.rb:233 and app/models/concerns/account/interactions.rb:237.