stop complaining please #94
Annotations
7 errors and 1 warning
lint:
app/models/media_attachment.rb#L117
[Correctable] Style/WordArray: Use %w or %W for an array of words. (https://rubystyle.guide#percent-w)
|
lint:
app/models/media_attachment.rb#L176
[Correctable] Layout/EmptyLines: Extra blank line detected. (https://rubystyle.guide#two-or-more-empty-lines)
|
lint:
app/serializers/rest/status_serializer.rb#L169
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
|
lint:
app/validators/poll_validator.rb#L12
[Correctable] Style/NumericPredicate: Use poll.options.size.positive? instead of poll.options.size > 0. (https://rubystyle.guide#predicate-methods)
|
lint:
app/validators/poll_validator.rb#L12
[Correctable] Style/ZeroLengthPredicate: Use !empty? instead of size > 0.
|
lint:
spec/models/media_attachment_spec.rb#L146
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
|
lint
Process completed with exit code 1.
|
lint:
app/serializers/rest/status_serializer.rb#L170
Lint/DuplicateMethods: Method REST::StatusSerializer#reactions is defined at both app/serializers/rest/status_serializer.rb:160 and app/serializers/rest/status_serializer.rb:170.
|