Skip to content

Check for content attribute in Misskey likes #82

Check for content attribute in Misskey likes

Check for content attribute in Misskey likes #82

Triggered via push January 8, 2024 14:44
Status Failure
Total duration 1m 32s
Artifacts

lint-ruby.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
lint: app/models/media_attachment.rb#L116
[Correctable] Style/WordArray: Use %w or %W for an array of words. (https://rubystyle.guide#percent-w)
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#L152
[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.