a #162
Annotations
10 errors and 3 warnings
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/api/v1/timelines/public_controller.rb#L17
[Correctable] Style/AndOr: Use && instead of and. (https://rubystyle.guide#no-and-or-or)
|
lint:
app/controllers/api/v1/timelines/public_controller.rb#L19
[Correctable] Style/AndOr: Use && instead of and. (https://rubystyle.guide#no-and-or-or)
|
lint:
app/controllers/api/v1/timelines/public_controller.rb#L19
[Correctable] Style/AndOr: Use && instead of and. (https://rubystyle.guide#no-and-or-or)
|
lint:
app/controllers/api/v1/timelines/public_controller.rb#L21
[Correctable] Style/AndOr: Use && instead of and. (https://rubystyle.guide#no-and-or-or)
|
lint:
app/controllers/api/v1/timelines/public_controller.rb#L21
[Correctable] Style/AndOr: Use || instead of or. (https://rubystyle.guide#no-and-or-or)
|
lint:
app/controllers/api/v1/timelines/public_controller.rb#L21
[Correctable] Style/AndOr: Use && instead of and. (https://rubystyle.guide#no-and-or-or)
|
lint:
app/helpers/admin/trends/statuses_helper.rb#L17
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
|
lint:
app/helpers/context_helper.rb#L48
[Correctable] Style/MapIntoArray: Use map instead of each to map elements into an array. (https://rubystyle.guide#functional-code)
|
lint:
app/models/concerns/account/interactions.rb#L234
[Correctable] Rails/WhereExists: Prefer exists?(account: self, name: name, custom_emoji: custom_emoji) over where(account: self, name: name, custom_emoji: custom_emoji).exists?.
|
lint:
app/controllers/api/v1/timelines/public_controller.rb#L23
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.
|