? #139
Annotations
10 errors and 2 warnings
app/helpers/admin/trends/statuses_helper.rb#L17
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
|
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)
|
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?.
|
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)
|
config/initializers/application_controller_renderer.rb#L2
[Correctable] Layout/EmptyLineAfterMagicComment: Add an empty line after magic comments. (https://rubystyle.guide#separate-magic-comments-from-code)
|
lib/mastodon/cli/progress_helper.rb#L40
[Correctable] Style/MapIntoArray: Use map instead of each to map elements into an array. (https://rubystyle.guide#functional-code)
|
spec/config/initializers/rack/attack_spec.rb#L30
[Correctable] RSpecRails/HttpStatus: Prefer :too_many_requests over 429 to describe HTTP status code. (https://www.rubydoc.info/gems/rubocop-rspec_rails/RuboCop/Cop/RSpecRails/HttpStatus)
|
spec/config/initializers/rack/attack_spec.rb#L41
[Correctable] RSpecRails/HttpStatus: Prefer :too_many_requests over 429 to describe HTTP status code. (https://www.rubydoc.info/gems/rubocop-rspec_rails/RuboCop/Cop/RSpecRails/HttpStatus)
|
spec/config/initializers/rack/attack_spec.rb#L46
[Correctable] RSpecRails/HttpStatus: Prefer :too_many_requests over 429 to describe HTTP status code. (https://www.rubydoc.info/gems/rubocop-rspec_rails/RuboCop/Cop/RSpecRails/HttpStatus)
|
spec/config/initializers/rack/attack_spec.rb#L111
[Correctable] RSpecRails/HttpStatus: Prefer :not_found over 404 to describe HTTP status code. (https://www.rubydoc.info/gems/rubocop-rspec_rails/RuboCop/Cop/RSpecRails/HttpStatus)
|
app/helpers/admin/trends/statuses_helper.rb#L3
[Correctable] Lint/DuplicateMagicComment: Duplicate magic comment detected.
|
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.
|
This job failed
Loading