appirits/comable

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
# C: Line is too long.
LineLength:
  Enabled: false

# C: Missing top-level class documentation comment.
Documentation:
  Enabled: false

# C: Use only ascii symbols in comments.
AsciiComments:
  Enabled: false

# W: The use of eval is a serious security risk.
Eval:
  Exclude:
    - '**/Gemfile'

# W: Unused block argument. You can omit the argument if you don't care about it.
UnusedBlockArgument:
  Exclude:
    - core/lib/generators/comable/install/templates/config/initializers/comable.rb

# C: Use the new Ruby 1.9 hash syntax.
HashSyntax:
  Exclude:
    - tasks/*
    - core/app/models/concerns/comable/checkout.rb
    - core/app/models/comable/payment.rb
    - core/app/models/comable/shipment.rb

# C: Method has too many lines.
MethodLength:
  Exclude:
    - '**/db/migrate/*'

# C: Assignment Branch Condition size for change is too high.
AbcSize:
  Exclude:
    - '**/db/migrate/*'

# C: Replace class var @@_ with a class instance var.
ClassVars:
  Exclude:
    - core/lib/comable/core/configuration.rb

# C: Use nested module/class definitions instead of compact style.
ClassAndModuleChildren:
  Exclude:
    - core/lib/comable/state_machine_patch.rb

# C: Module has too many lines.
ModuleLength:
  # Ignore spec files
  Exclude:
    - spec/**/*_spec.rb
    - core/spec/**/*_spec.rb
    - frontend/spec/**/*_spec.rb
    - backend/spec/**/*_spec.rb

# Ignore files.
AllCops:
  Exclude:
    - vendor/**/*
    - spec/dummy/db/schema.rb
    - spec/dummy/tmp/**/*
    - spec/support/share_db_connection.rb
    - gemfiles/**/*