Update app/helpers/admin/trends/statuses_helper.rb #128
Annotations
5 errors and 1 warning
lint:
app/helpers/admin/trends/statuses_helper.rb#L15
[Correctable] Layout/TrailingEmptyLines: Final newline missing. (https://rubystyle.guide#newline-eof)
|
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/serializers/initial_state_serializer.rb#L37
Metrics/AbcSize: Assignment Branch Condition size for meta is too high. [<25, 87, 8> 90.87/90] (http://c2.com/cgi/wiki?AbcMetric, https://en.wikipedia.org/wiki/ABC_Software_Metric)
|
lint:
spec/controllers/auth/sessions_controller_spec.rb#L136
[Correctable] Layout/IndentationConsistency: Inconsistent indentation detected. (https://rubystyle.guide#spaces-indentation, https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#follow-the-coding-conventions)
|
lint
Process completed with exit code 1.
|
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.
|