Skip to content

AO3-6880 Use pagy gem for pagination on select pages #1732

AO3-6880 Use pagy gem for pagination on select pages

AO3-6880 Use pagy gem for pagination on select pages #1732

Triggered via pull request February 9, 2025 08:35
Status Failure
Total duration 4m 11s
Artifacts

reviewdog.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 3 warnings
Rubocop
Process completed with exit code 1.
Rubocop: app/helpers/pagination_helper.rb#L10
[rubocop] reported by reviewdog 🐶 Favor modifier `unless` usage when having a single-line body. Another good alternative is the usage of control flow `&&`/`||`. Raw Output: app/helpers/pagination_helper.rb:10:5: C: Style/IfUnlessModifier: Favor modifier `unless` usage when having a single-line body. Another good alternative is the usage of control flow `&&`/`||`.
Rubocop: app/helpers/pagination_helper.rb#L28
[rubocop] reported by reviewdog 🐶 Space missing after colon. Raw Output: app/helpers/pagination_helper.rb:28:107: C: Layout/SpaceAfterColon: Space missing after colon.
Rubocop: config/initializers/gem-plugin_config/pagy.rb#L4
[rubocop] reported by reviewdog 🐶 Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Raw Output: config/initializers/gem-plugin_config/pagy.rb:4:9: C: Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.