Add an enterprise banner on top of automatic subject configuration #18300
reviewdog [rubocop] report
reported by reviewdog 🐶
Findings (7)
app/components/enterprise_edition/banner_component.rb|53 col 79| Prefer single-quoted strings inside interpolations.
app/components/enterprise_edition/banner_component.rb|53 col 84| Prefer single-quoted strings inside interpolations.
spec/components/work_packages/types/subject_configuration_component_spec.rb|51 col 35| Use find_each
instead of each
.
spec/components/work_packages/types/subject_configuration_component_spec.rb|68 col 7| Prefer using the all
matcher instead of iterating over an array.
spec/components/work_packages/types/subject_configuration_component_spec.rb|68 col 37| Use find_each
instead of each
.
spec/components/work_packages/types/subject_configuration_component_spec.rb|75 col 9| Avoid stubbing using allow_any_instance_of
.
spec/components/work_packages/types/subject_configuration_component_spec.rb|87 col 39| Use find_each
instead of each
.
Filtered Findings (0)
Annotations
Check notice on line 53 in app/components/enterprise_edition/banner_component.rb
github-actions / rubocop
[rubocop] app/components/enterprise_edition/banner_component.rb#L53 <Style/StringLiteralsInInterpolation>
Prefer single-quoted strings inside interpolations.
Raw output
app/components/enterprise_edition/banner_component.rb:53:79: C: Style/StringLiteralsInInterpolation: Prefer single-quoted strings inside interpolations.
Check notice on line 53 in app/components/enterprise_edition/banner_component.rb
github-actions / rubocop
[rubocop] app/components/enterprise_edition/banner_component.rb#L53 <Style/StringLiteralsInInterpolation>
Prefer single-quoted strings inside interpolations.
Raw output
app/components/enterprise_edition/banner_component.rb:53:84: C: Style/StringLiteralsInInterpolation: Prefer single-quoted strings inside interpolations.
github-actions / rubocop
[rubocop] spec/components/work_packages/types/subject_configuration_component_spec.rb#L51 <Rails/FindEach>
Use `find_each` instead of `each`.
Raw output
spec/components/work_packages/types/subject_configuration_component_spec.rb:51:35: C: Rails/FindEach: Use `find_each` instead of `each`.
github-actions / rubocop
[rubocop] spec/components/work_packages/types/subject_configuration_component_spec.rb#L68 <RSpec/IteratedExpectation>
Prefer using the `all` matcher instead of iterating over an array.
Raw output
spec/components/work_packages/types/subject_configuration_component_spec.rb:68:7: C: RSpec/IteratedExpectation: Prefer using the `all` matcher instead of iterating over an array.
github-actions / rubocop
[rubocop] spec/components/work_packages/types/subject_configuration_component_spec.rb#L68 <Rails/FindEach>
Use `find_each` instead of `each`.
Raw output
spec/components/work_packages/types/subject_configuration_component_spec.rb:68:37: C: Rails/FindEach: Use `find_each` instead of `each`.
github-actions / rubocop
[rubocop] spec/components/work_packages/types/subject_configuration_component_spec.rb#L75 <RSpec/AnyInstance>
Avoid stubbing using `allow_any_instance_of`.
Raw output
spec/components/work_packages/types/subject_configuration_component_spec.rb:75:9: C: RSpec/AnyInstance: Avoid stubbing using `allow_any_instance_of`.
github-actions / rubocop
[rubocop] spec/components/work_packages/types/subject_configuration_component_spec.rb#L87 <Rails/FindEach>
Use `find_each` instead of `each`.
Raw output
spec/components/work_packages/types/subject_configuration_component_spec.rb:87:39: C: Rails/FindEach: Use `find_each` instead of `each`.