AO3-6810 Don't send "Automatically flagged as spam" email when hiding works manually #1464
Annotations
1 error and 7 warnings
|
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 `&&`/`||`.
|
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
|
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
|
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`.
|
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
|
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
|
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`.
|
The logs for this run have expired and are no longer available.
Loading