AO3-6810 Don't send "Automatically flagged as spam" email when hiding works manually #1464
reviewdog.yml
on: pull_request
Rubocop
1m 6s
ERB Lint runner
1m 37s
Annotations
1 error and 8 warnings
Rubocop
Process completed with exit code 1.
|
Rubocop:
app/models/moderated_work.rb#L44
[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/models/moderated_work.rb:44:7: C: Style/IfUnlessModifier: Favor modifier `unless` usage when having a single-line body. Another good alternative is the usage of control flow `&&`/`||`.
|
Rubocop:
features/step_definitions/work_steps.rb#L266
[rubocop] reported by reviewdog 🐶
Prefer Cucumber expressions (https://github.com/cucumber/cucumber-expressions) over regex for step names; refer to https://github.com/otwcode/otwarchive/wiki/Reviewdog-and-RuboCop if regex is still required
Raw Output:
features/step_definitions/work_steps.rb:266:7: R: Cucumber/RegexStepName: Prefer Cucumber expressions (https://github.com/cucumber/cucumber-expressions) over regex for step names; refer to https://github.com/otwcode/otwarchive/wiki/Reviewdog-and-RuboCop if regex is still required
|
Rubocop:
features/step_definitions/work_steps.rb#L266
[rubocop] reported by reviewdog 🐶
Redundant escape inside regexp literal
Raw Output:
features/step_definitions/work_steps.rb:266:29: C: Style/RedundantRegexpEscape: Redundant escape inside regexp literal
|
Rubocop:
features/step_definitions/work_steps.rb#L269
[rubocop] reported by reviewdog 🐶
Use `find_by` instead of dynamic `find_by_title`.
Raw Output:
features/step_definitions/work_steps.rb:269:7: C: Rails/DynamicFindBy: Use `find_by` instead of dynamic `find_by_title`.
|
Rubocop:
features/step_definitions/work_steps.rb#L273
[rubocop] reported by reviewdog 🐶
Prefer Cucumber expressions (https://github.com/cucumber/cucumber-expressions) over regex for step names; refer to https://github.com/otwcode/otwarchive/wiki/Reviewdog-and-RuboCop if regex is still required
Raw Output:
features/step_definitions/work_steps.rb:273:7: R: Cucumber/RegexStepName: Prefer Cucumber expressions (https://github.com/cucumber/cucumber-expressions) over regex for step names; refer to https://github.com/otwcode/otwarchive/wiki/Reviewdog-and-RuboCop if regex is still required
|
Rubocop:
features/step_definitions/work_steps.rb#L273
[rubocop] reported by reviewdog 🐶
Redundant escape inside regexp literal
Raw Output:
features/step_definitions/work_steps.rb:273:22: C: Style/RedundantRegexpEscape: Redundant escape inside regexp literal
|
Rubocop:
features/step_definitions/work_steps.rb#L274
[rubocop] reported by reviewdog 🐶
Use `find_by` instead of dynamic `find_by_title`.
Raw Output:
features/step_definitions/work_steps.rb:274:7: C: Rails/DynamicFindBy: Use `find_by` instead of dynamic `find_by_title`.
|
ERB Lint runner
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|