payrollhero/aub-payroll

View on GitHub

Showing 10 of 10 total issues

module definition in method body (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    module SummaryFile
Severity: Minor
Found in lib/aub/payroll/summary_file.rb by rubocop

Nesting should be no greater than 5, but was 6
Open

          th,

unexpected token tDOT3 (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

        Generator.new(...).generate
Severity: Minor
Found in lib/aub/payroll/summary_file.rb by rubocop

Use nested module/class definitions instead of compact style.
Open

    class EPFFile::Header
Severity: Minor
Found in lib/aub/payroll/epf_file/header.rb by rubocop

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

          &.amount {

Nesting should be no greater than 5, but was 6
Open

          .label {

unexpected token tDOT3 (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

      def self.generate(...)
Severity: Minor
Found in lib/aub/payroll/summary_file.rb by rubocop

Selector page_number should be written in lowercase with hyphens
Open

    .page_number {

Use nested module/class definitions instead of compact style.
Open

    class EPFFile::Row
Severity: Minor
Found in lib/aub/payroll/epf_file/row.rb by rubocop

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

    class EPFFile::Footer
Severity: Minor
Found in lib/aub/payroll/epf_file/footer.rb by rubocop

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.

Severity
Category
Status
Source
Language