MirkoMignini/lydia

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
require: rubocop-rspec

AllCops:
  DisplayCopNames: true
  Exclude:
    - 'db/migrate/*'
    - 'db/schema.rb'
    - 'config/**/*'
    - 'bin/*'
    - lydia.gemspec
    # Other common or autogenerated ignores
    - 'lib/tasks/cucumber.rake'
    # Project specific ignores goes here

Style/BarePercentLiterals:
  EnforcedStyle: percent_q

Style/EmptyLineBetweenDefs:
  AllowAdjacentOneLineDefs: true

Style/MultilineOperationIndentation:
  EnforcedStyle: indented

Metrics/LineLength:
  Max: 100

Lint/EndAlignment:
  AlignWith: variable

Style/TrailingCommaInLiteral:
  EnforcedStyleForMultiline: comma

Lint/AssignmentInCondition:
  Enabled: false

Style/DoubleNegation:
  Enabled: false

Style/SingleLineBlockParams:
  Enabled: false

Documentation:
  Enabled: false

Rails:
  Enabled: true

RSpec/DescribeClass:
  Enabled: false

RSpec/InstanceVariable:
  Enabled: false

RSpec/MultipleExpectations:
  Enabled: false

RSpec/ExampleLength:
  Max: 10

Rails/HttpPositionalArguments:
  Enabled: false