ikuseiGmbH/Goldencobra

View on GitHub
lib/generators/goldencobra/templates/views/articletypes/default/_sitemap.xml.builder

Summary

Maintainability
Test Coverage

Unnecessary utf-8 encoding comment.
Open

# encoding: utf-8

This cop checks ensures source files have no utf-8 encoding comments.

Example:

# bad
# encoding: UTF-8
# coding: UTF-8
# -*- coding: UTF-8 -*-

1 trailing blank lines detected.
Open

This cop looks for trailing blank lines and a final newline in the source code.

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

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

There are no issues that match your filters.

Category
Status