ngelx/resource_quotable

View on GitHub
lib/resource_quotable.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Final newline missing.
Open

ActiveSupport.on_load(:action_view) { include ResourceQuotable::Helper }
Severity: Minor
Found in lib/resource_quotable.rb by rubocop

Looks for trailing blank lines and a final newline in the source code.

Example: EnforcedStyle: final_newline (default)

# `final_newline` looks for one newline at the end of files.

# bad
class Foo; end

# EOF

# bad
class Foo; end # EOF

# good
class Foo; end
# EOF

Example: EnforcedStyle: finalblankline

# `final_blank_line` looks for one blank line followed by a new line
# at the end of files.

# bad
class Foo; end
# EOF

# bad
class Foo; end # EOF

# good
class Foo; end

# EOF

There are no issues that match your filters.

Category
Status