Skip to content

- ESY-6375 Only show header if it has content #639

- ESY-6375 Only show header if it has content

- ESY-6375 Only show header if it has content #639

GitHub Actions / rubocop failed Mar 21, 2024 in 1s

reviewdog [rubocop] report

reported by reviewdog 🐶

Findings (21)

lib/sidebar_tree_builder.rb|51 col 7| Use each_value instead of each and remove the unused _ block argument.
spec/field_tag_spec.rb|7 col 1| Spec path should end with swedbank_pay/field_tag*_spec.rb.
spec/read_time_filter_spec.rb|6 col 1| Spec path should end with swedbank_pay/read_time_filter*_spec.rb.
spec/rspec_description_parser_spec.rb|6 col 1| Spec path should end with r_spec_description_parser*_spec.rb.
spec/sidebar_after_payment_spec.rb|5 col 1| Spec path should end with swedbank_pay/sidebar*_spec.rb.
spec/sidebar_checkin_file_spec.rb|5 col 1| Spec path should end with swedbank_pay/sidebar*_spec.rb.
spec/sidebar_checkout_core_features_file_spec.rb|5 col 1| Spec path should end with swedbank_pay/sidebar*_spec.rb.
spec/sidebar_checkout_more_file_spec.rb|5 col 1| Spec path should end with swedbank_pay/sidebar*_spec.rb.
spec/sidebar_features_file_spec.rb|5 col 1| Spec path should end with swedbank_pay/sidebar*_spec.rb.
spec/sidebar_front_page_spec.rb|5 col 1| Spec path should end with swedbank_pay/sidebar*_spec.rb.
spec/sidebar_index_file_spec.rb|5 col 1| Spec path should end with swedbank_pay/sidebar*_spec.rb.
spec/sidebar_po_file_spec.rb|5 col 1| Spec path should end with swedbank_pay/sidebar*_spec.rb.
spec/sidebar_redirect_file_spec.rb|5 col 1| Spec path should end with swedbank_pay/sidebar*_spec.rb.
spec/sidebar_resource_file_spec.rb|5 col 1| Spec path should end with swedbank_pay/sidebar*_spec.rb.
spec/sidebar_search_file_spec.rb|5 col 1| Spec path should end with swedbank_pay/sidebar*_spec.rb.
spec/sidebar_spec.rb|52 col 67| Use symbol style for metadata.
spec/sidebar_spec.rb|66 col 69| Use symbol style for metadata.
spec/sidebar_super_secret_file_spec.rb|5 col 1| Spec path should end with swedbank_pay/sidebar*_spec.rb.
swedbank-pay-design-guide-jekyll-theme.gemspec|4 col 19| Remove the redundant current directory path.
swedbank-pay-design-guide-jekyll-theme.gemspec|35 col 3| Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency awesome_print should appear before sass.
swedbank-pay-design-guide-jekyll-theme.gemspec|49 col 3| Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency awesome_print should appear before rubocop-rspec.

Filtered Findings (0)

Annotations

Check notice on line 64 in lib/sidebar_tree_builder.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] lib/sidebar_tree_builder.rb#L51-L64 <Style/HashEachMethods>

Use `each_value` instead of `each` and remove the unused `_` block argument.
Raw output
lib/sidebar_tree_builder.rb:51:7: C: Style/HashEachMethods: Use `each_value` instead of `each` and remove the unused `_` block argument.

Check notice on line 7 in spec/field_tag_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/field_tag_spec.rb#L7 <RSpec/SpecFilePathFormat>

Spec path should end with `swedbank_pay/field_tag*_spec.rb`.
Raw output
spec/field_tag_spec.rb:7:1: C: RSpec/SpecFilePathFormat: Spec path should end with `swedbank_pay/field_tag*_spec.rb`.

Check notice on line 6 in spec/read_time_filter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/read_time_filter_spec.rb#L6 <RSpec/SpecFilePathFormat>

Spec path should end with `swedbank_pay/read_time_filter*_spec.rb`.
Raw output
spec/read_time_filter_spec.rb:6:1: C: RSpec/SpecFilePathFormat: Spec path should end with `swedbank_pay/read_time_filter*_spec.rb`.

Check notice on line 6 in spec/rspec_description_parser_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/rspec_description_parser_spec.rb#L6 <RSpec/SpecFilePathFormat>

Spec path should end with `r_spec_description_parser*_spec.rb`.
Raw output
spec/rspec_description_parser_spec.rb:6:1: C: RSpec/SpecFilePathFormat: Spec path should end with `r_spec_description_parser*_spec.rb`.

Check notice on line 5 in spec/sidebar_after_payment_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/sidebar_after_payment_spec.rb#L5 <RSpec/SpecFilePathFormat>

Spec path should end with `swedbank_pay/sidebar*_spec.rb`.
Raw output
spec/sidebar_after_payment_spec.rb:5:1: C: RSpec/SpecFilePathFormat: Spec path should end with `swedbank_pay/sidebar*_spec.rb`.

Check notice on line 5 in spec/sidebar_checkin_file_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/sidebar_checkin_file_spec.rb#L5 <RSpec/SpecFilePathFormat>

Spec path should end with `swedbank_pay/sidebar*_spec.rb`.
Raw output
spec/sidebar_checkin_file_spec.rb:5:1: C: RSpec/SpecFilePathFormat: Spec path should end with `swedbank_pay/sidebar*_spec.rb`.

Check notice on line 5 in spec/sidebar_checkout_core_features_file_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/sidebar_checkout_core_features_file_spec.rb#L5 <RSpec/SpecFilePathFormat>

Spec path should end with `swedbank_pay/sidebar*_spec.rb`.
Raw output
spec/sidebar_checkout_core_features_file_spec.rb:5:1: C: RSpec/SpecFilePathFormat: Spec path should end with `swedbank_pay/sidebar*_spec.rb`.

Check notice on line 5 in spec/sidebar_checkout_more_file_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/sidebar_checkout_more_file_spec.rb#L5 <RSpec/SpecFilePathFormat>

Spec path should end with `swedbank_pay/sidebar*_spec.rb`.
Raw output
spec/sidebar_checkout_more_file_spec.rb:5:1: C: RSpec/SpecFilePathFormat: Spec path should end with `swedbank_pay/sidebar*_spec.rb`.

Check notice on line 5 in spec/sidebar_features_file_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/sidebar_features_file_spec.rb#L5 <RSpec/SpecFilePathFormat>

Spec path should end with `swedbank_pay/sidebar*_spec.rb`.
Raw output
spec/sidebar_features_file_spec.rb:5:1: C: RSpec/SpecFilePathFormat: Spec path should end with `swedbank_pay/sidebar*_spec.rb`.

Check notice on line 5 in spec/sidebar_front_page_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/sidebar_front_page_spec.rb#L5 <RSpec/SpecFilePathFormat>

Spec path should end with `swedbank_pay/sidebar*_spec.rb`.
Raw output
spec/sidebar_front_page_spec.rb:5:1: C: RSpec/SpecFilePathFormat: Spec path should end with `swedbank_pay/sidebar*_spec.rb`.

Check notice on line 5 in spec/sidebar_index_file_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/sidebar_index_file_spec.rb#L5 <RSpec/SpecFilePathFormat>

Spec path should end with `swedbank_pay/sidebar*_spec.rb`.
Raw output
spec/sidebar_index_file_spec.rb:5:1: C: RSpec/SpecFilePathFormat: Spec path should end with `swedbank_pay/sidebar*_spec.rb`.

Check notice on line 5 in spec/sidebar_po_file_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/sidebar_po_file_spec.rb#L5 <RSpec/SpecFilePathFormat>

Spec path should end with `swedbank_pay/sidebar*_spec.rb`.
Raw output
spec/sidebar_po_file_spec.rb:5:1: C: RSpec/SpecFilePathFormat: Spec path should end with `swedbank_pay/sidebar*_spec.rb`.

Check notice on line 5 in spec/sidebar_redirect_file_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/sidebar_redirect_file_spec.rb#L5 <RSpec/SpecFilePathFormat>

Spec path should end with `swedbank_pay/sidebar*_spec.rb`.
Raw output
spec/sidebar_redirect_file_spec.rb:5:1: C: RSpec/SpecFilePathFormat: Spec path should end with `swedbank_pay/sidebar*_spec.rb`.

Check notice on line 5 in spec/sidebar_resource_file_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/sidebar_resource_file_spec.rb#L5 <RSpec/SpecFilePathFormat>

Spec path should end with `swedbank_pay/sidebar*_spec.rb`.
Raw output
spec/sidebar_resource_file_spec.rb:5:1: C: RSpec/SpecFilePathFormat: Spec path should end with `swedbank_pay/sidebar*_spec.rb`.

Check notice on line 5 in spec/sidebar_search_file_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/sidebar_search_file_spec.rb#L5 <RSpec/SpecFilePathFormat>

Spec path should end with `swedbank_pay/sidebar*_spec.rb`.
Raw output
spec/sidebar_search_file_spec.rb:5:1: C: RSpec/SpecFilePathFormat: Spec path should end with `swedbank_pay/sidebar*_spec.rb`.

Check notice on line 52 in spec/sidebar_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/sidebar_spec.rb#L52 <RSpec/MetadataStyle>

Use symbol style for metadata.
Raw output
spec/sidebar_spec.rb:52:67: C: RSpec/MetadataStyle: Use symbol style for metadata.

Check notice on line 66 in spec/sidebar_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/sidebar_spec.rb#L66 <RSpec/MetadataStyle>

Use symbol style for metadata.
Raw output
spec/sidebar_spec.rb:66:69: C: RSpec/MetadataStyle: Use symbol style for metadata.

Check notice on line 5 in spec/sidebar_super_secret_file_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/sidebar_super_secret_file_spec.rb#L5 <RSpec/SpecFilePathFormat>

Spec path should end with `swedbank_pay/sidebar*_spec.rb`.
Raw output
spec/sidebar_super_secret_file_spec.rb:5:1: C: RSpec/SpecFilePathFormat: Spec path should end with `swedbank_pay/sidebar*_spec.rb`.

Check notice on line 4 in swedbank-pay-design-guide-jekyll-theme.gemspec

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] swedbank-pay-design-guide-jekyll-theme.gemspec#L4 <Style/RedundantCurrentDirectoryInPath>

Remove the redundant current directory path.
Raw output
swedbank-pay-design-guide-jekyll-theme.gemspec:4:19: C: Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.

Check notice on line 35 in swedbank-pay-design-guide-jekyll-theme.gemspec

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] swedbank-pay-design-guide-jekyll-theme.gemspec#L35 <Gemspec/OrderedDependencies>

Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency `awesome_print` should appear before `sass`.
Raw output
swedbank-pay-design-guide-jekyll-theme.gemspec:35:3: C: Gemspec/OrderedDependencies: Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency `awesome_print` should appear before `sass`.

Check notice on line 49 in swedbank-pay-design-guide-jekyll-theme.gemspec

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] swedbank-pay-design-guide-jekyll-theme.gemspec#L49 <Gemspec/OrderedDependencies>

Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency `awesome_print` should appear before `rubocop-rspec`.
Raw output
swedbank-pay-design-guide-jekyll-theme.gemspec:49:3: C: Gemspec/OrderedDependencies: Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency `awesome_print` should appear before `rubocop-rspec`.