Skip to content

Add tootctl preview_cards clean #28

Add tootctl preview_cards clean

Add tootctl preview_cards clean #28

Triggered via push September 30, 2024 12:14
Status Failure
Total duration 2m 8s
Artifacts

lint-ruby.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors
lint: app/lib/activitypub/activity/create.rb#L89
[Correctable] Performance/RedundantSplitRegexpArgument: Use string as argument instead of regexp.
lint: app/lib/activitypub/activity/create.rb#L89
[Correctable] Style/RedundantRegexpArgument: Use string "\r\n" as argument instead of regexp /\r\n/.
lint: lib/mastodon/cli/preview_cards.rb#L72
[Correctable] Layout/SpaceInsideHashLiteralBraces: Space inside { missing. (https://rubystyle.guide#spaces-braces)
lint: lib/mastodon/cli/preview_cards.rb#L72
[Correctable] Layout/SpaceInsideHashLiteralBraces: Space inside } missing. (https://rubystyle.guide#spaces-braces)
lint: lib/mastodon/cli/preview_cards.rb#L72
[Correctable] Layout/SpaceInsideHashLiteralBraces: Space inside { missing. (https://rubystyle.guide#spaces-braces)
lint: lib/mastodon/cli/preview_cards.rb#L72
[Correctable] Layout/SpaceInsideHashLiteralBraces: Space inside } missing. (https://rubystyle.guide#spaces-braces)
lint: lib/mastodon/cli/preview_cards.rb#L78
[Correctable] Style/IfUnlessModifier: Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||. (https://rubystyle.guide#if-as-a-modifier)
lint
Process completed with exit code 1.