Skip to content

Merge branch 'glitch-soc:main' into reactions-update #66

Merge branch 'glitch-soc:main' into reactions-update

Merge branch 'glitch-soc:main' into reactions-update #66

Triggered via push October 10, 2023 08:06
Status Failure
Total duration 3m 9s
Artifacts

lint-ruby.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors
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/models/status.rb#L286
Layout/LineLength: Line is too long. [360/320] (https://rubystyle.guide#max-line-length)
lint: app/serializers/rest/status_serializer.rb#L165
[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.