Skip to content

Need to set local and remote explicitly, and added case for filtering… #132

Need to set local and remote explicitly, and added case for filtering…

Need to set local and remote explicitly, and added case for filtering… #132

Triggered via push February 1, 2024 06:55
Status Failure
Total duration 1m 27s
Artifacts

lint-ruby.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
lint: app/controllers/api/base_controller.rb#L86
[Correctable] Style/RedundantParentheses: Don't use parentheses around a logical expression.
lint: app/controllers/api/v1/accounts_controller.rb#L50
[Correctable] Style/RedundantParentheses: Don't use parentheses around a logical expression.
lint: app/controllers/api/v1/instances/domain_blocks_controller.rb#L18
[Correctable] Style/RedundantParentheses: Don't use parentheses around a logical expression.
lint: app/helpers/application_helper.rb#L105
[Correctable] Performance/StringIdentifierArgument: Use :"#{action}?" instead of "#{action}?".
lint: app/helpers/application_helper.rb#L109
[Correctable] Style/RedundantArgument: Argument ' ' is redundant because it is implied by default.
lint: app/lib/delivery_failure_tracker.rb#L65
[Correctable] Rails/RedundantActiveRecordAllMethod: Redundant all detected. (https://rails.rubystyle.guide/#redundant-all)
lint: app/lib/feed_manager.rb#L274
[Correctable] Rails/FindEach: Use find_each instead of each. (https://rails.rubystyle.guide#find-each)
lint: app/lib/feed_manager.rb#L474
[Correctable] Style/RedundantParentheses: Don't use parentheses around a logical expression.
lint: app/models/account.rb#L454
[Correctable] Performance/StringIdentifierArgument: Use :"#{key}=" instead of "#{key}=".
lint: app/models/account.rb#L455
[Correctable] Performance/StringIdentifierArgument: Use :"#{original_key}=" instead of "#{original_key}=".
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: r7kamura/rubocop-problem-matchers-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: app/controllers/api/v1/accounts_controller.rb#L50
[Correctable] Lint/RedundantSafeNavigation: Redundant safe navigation with default literal detected.
lint: app/models/concerns/remotable.rb#L8
[Correctable] Lint/SymbolConversion: Unnecessary symbol conversion; use :"#{attachment_name}_remote_url" instead.
lint: app/models/trends/history.rb#L40
[Correctable] Lint/RedundantSafeNavigation: Redundant safe navigation with default literal detected.
lint: app/models/user_settings/setting.rb#L65
[Correctable] Lint/SymbolConversion: Unnecessary symbol conversion; use :"#{namespace}.#{name}" instead.
lint: config/deploy.rb#L23
[Correctable] Lint/SymbolConversion: Unnecessary symbol conversion; use :"#{service}:#{action}" instead.
lint: spec/models/concerns/remotable_spec.rb#L34
[Correctable] Lint/SymbolConversion: Unnecessary symbol conversion; use :"#{hoge}_remote_url" instead.