Skip to content

AO3-5502 Fix page title of the adult content warning for chapters #1639

AO3-5502 Fix page title of the adult content warning for chapters

AO3-5502 Fix page title of the adult content warning for chapters #1639

Triggered via pull request January 12, 2025 21:48
Status Failure
Total duration 1m 43s
Artifacts

reviewdog.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 5 warnings
Rubocop
Process completed with exit code 1.
Rubocop: app/controllers/chapters_controller.rb#L93
[rubocop] reported by reviewdog 🐶 Add empty line after guard clause. Raw Output: app/controllers/chapters_controller.rb:93:5: C: Layout/EmptyLineAfterGuardClause: Add empty line after guard clause.
Rubocop: app/controllers/chapters_controller.rb#L96
[rubocop] reported by reviewdog 🐶 Prefer Rails built-in `t` helper over `ts` and move the text into the yml file. `ts` is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards Raw Output: app/controllers/chapters_controller.rb:96:24: C: I18n/DeprecatedHelper: Prefer Rails built-in `t` helper over `ts` and move the text into the yml file. `ts` is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards
Rubocop: app/controllers/chapters_controller.rb#L276
[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/controllers/chapters_controller.rb:276: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/controllers/chapters_controller.rb#L279
[rubocop] reported by reviewdog 🐶 Prefer Rails built-in `t` helper over `ts` and move the text into the yml file. `ts` is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards Raw Output: app/controllers/chapters_controller.rb:279:22: C: I18n/DeprecatedHelper: Prefer Rails built-in `t` helper over `ts` and move the text into the yml file. `ts` is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards
ERB Lint runner
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636