[fix] fix bugs for whitelist_mode #27
Annotations
10 errors and 1 warning
Run rubocop:
app/chewy/statuses_index.rb#L72
[Correctable] Layout/ExtraSpacing: Unnecessary spacing detected.
|
Run rubocop:
app/controllers/admin/push_subscription_blocks_controller.rb#L30
[Correctable] Rails/ActionOrder: Action edit should appear before create.
|
Run rubocop:
app/controllers/admin/push_subscription_blocks_controller.rb#L43
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
|
Run rubocop:
app/lib/feed_manager.rb#L261
[Correctable] Style/RedundantParentheses: Don't use parentheses around a method call.
|
Run rubocop:
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)
|
Run rubocop:
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)
|
Run rubocop:
app/validators/poll_validator.rb#L7
[Correctable] Rails/PluralizationGrammar: Prefer 1.minute.
|
Run rubocop:
db/migrate/20221215211405_create_push_subscription_blocks.rb#L1
[Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
|
Run rubocop:
spec/fabricators/push_subscription_block_fabricator.rb#L1
[Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
|
Run rubocop:
spec/models/push_subscription_block_spec.rb#L1
[Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
|
Run rubocop:
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)
|
Loading