Skip to content

[fix] fix bugs for whitelist_mode #27

[fix] fix bugs for whitelist_mode

[fix] fix bugs for whitelist_mode #27

Triggered via push October 1, 2024 21:43
Status Failure
Total duration 2m 0s
Artifacts

lint-ruby.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: app/chewy/statuses_index.rb#L72
[Correctable] Layout/ExtraSpacing: Unnecessary spacing detected.
lint: app/controllers/admin/push_subscription_blocks_controller.rb#L30
[Correctable] Rails/ActionOrder: Action edit should appear before create.
lint: app/controllers/admin/push_subscription_blocks_controller.rb#L43
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
lint: app/lib/feed_manager.rb#L261
[Correctable] Style/RedundantParentheses: Don't use parentheses around a method call.
lint: app/models/push_subscription_block.rb#L2
[Correctable] Layout/EmptyLineAfterMagicComment: Add an empty line after magic comments. (https://rubystyle.guide#separate-magic-comments-from-code)
lint: app/serializers/initial_state_serializer.rb#L15
Metrics/AbcSize: Assignment Branch Condition size for meta is too high. [<22, 146, 14> 148.3/144] (http://c2.com/cgi/wiki?AbcMetric, https://en.wikipedia.org/wiki/ABC_Software_Metric)
lint: app/validators/poll_validator.rb#L7
[Correctable] Rails/PluralizationGrammar: Prefer 1.minute.
lint: db/migrate/20221215211405_create_push_subscription_blocks.rb#L1
[Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
lint: spec/fabricators/push_subscription_block_fabricator.rb#L1
[Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
lint: spec/models/push_subscription_block_spec.rb#L1
[Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
lint: config/initializers/simple_form.rb#L25
[Correctable] Lint/UnusedMethodArgument: Unused method argument - wrapper_options. If it's necessary, use _ or _wrapper_options as an argument name to indicate that it won't be used. If it's unnecessary, remove it. You can also write as handononly(*) if you want the method to accept any arguments but don't care about them. (https://rubystyle.guide#underscore-unused-vars)