Showing 10 of 10 total issues
module definition in method body
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
module SummaryFile
- Exclude checks
Nesting should be no greater than 5, but was 6 Open
Open
th,
- Exclude checks
unexpected token tDOT3
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
Generator.new(...).generate
- Exclude checks
Use nested module/class definitions instead of compact style. Open
Open
class EPFFile::Header
- Read upRead up
- Exclude checks
This cop checks the style of children definitions at classes and modules. Basically there are two different styles:
Example: EnforcedStyle: nested (default)
# good
# have each child on its own line
class Foo
class Bar
end
end
Example: EnforcedStyle: compact
# good
# combine definitions as much as possible
class Foo::Bar
end
The compact style is only forced for classes/modules with one child.
Nesting should be no greater than 5, but was 6 Open
Open
&.amount {
- Exclude checks
Nesting should be no greater than 5, but was 6 Open
Open
.label {
- Exclude checks
unexpected token tDOT3
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
def self.generate(...)
- Exclude checks
Selector page_number
should be written in lowercase with hyphens Open
Open
.page_number {
- Exclude checks
Use nested module/class definitions instead of compact style. Open
Open
class EPFFile::Row
- Read upRead up
- Exclude checks
This cop checks the style of children definitions at classes and modules. Basically there are two different styles:
Example: EnforcedStyle: nested (default)
# good
# have each child on its own line
class Foo
class Bar
end
end
Example: EnforcedStyle: compact
# good
# combine definitions as much as possible
class Foo::Bar
end
The compact style is only forced for classes/modules with one child.
Use nested module/class definitions instead of compact style. Open
Open
class EPFFile::Footer
- Read upRead up
- Exclude checks
This cop checks the style of children definitions at classes and modules. Basically there are two different styles:
Example: EnforcedStyle: nested (default)
# good
# have each child on its own line
class Foo
class Bar
end
end
Example: EnforcedStyle: compact
# good
# combine definitions as much as possible
class Foo::Bar
end
The compact style is only forced for classes/modules with one child.