Skip to content
GitHub Actions / rubocop failed Jul 26, 2023 in 0s

reviewdog [rubocop] report

reported by reviewdog 🐶

Findings (1)

lib/open_project/journal_formatter/attachment.rb|60 col 1| [Correctable] Layout/EmptyLines: Extra blank line detected.

Filtered Findings (6)

lib/open_project/journal_formatter/attachment.rb|61 col 3| [Correctable] Layout/EmptyLineBetweenDefs: Expected 1 empty line between method definitions; found 2.
lib/open_project/object_linking.rb|120 col 68| Style/OptionalBooleanParameter: Prefer keyword arguments for arguments with a boolean default value; use show_icon: false instead of show_icon = false.
lib/open_project/object_linking.rb|127 col 11| Rails/OutputSafety: Tagging a string as html safe may be a security risk.
lib_static/plugins/acts_as_journalized/lib/journal_changes.rb|30 col 3| Metrics/AbcSize: Assignment Branch Condition size for get_changes is too high. [<2, 25, 9> 26.65/17]
lib_static/plugins/acts_as_journalized/lib/journal_changes.rb|30 col 3| Metrics/PerceivedComplexity: Perceived complexity for get_changes is too high. [10/8]
spec/lib/journal_formatter/attachment_spec.rb|60 col 15| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.

Annotations

Check failure on line 60 in lib/open_project/journal_formatter/attachment.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] lib/open_project/journal_formatter/attachment.rb#L60

[Correctable] Layout/EmptyLines: Extra blank line detected.
Raw output
lib/open_project/journal_formatter/attachment.rb:60:1: C: [Correctable] Layout/EmptyLines: Extra blank line detected.