eagletmt/faml

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
inherit_from: .rubocop_todo.yml

AllCops:
  TargetRubyVersion: 2.3
  DisplayCopNames: true
  Exclude:
    - 'haml-spec/**/*'

Lint/HandleExceptions:
  Exclude:
    # Ignore LoadError
    - 'lib/faml.rb'
    - 'lib/faml/tilt.rb'
Lint/Eval:
  Exclude:
    - 'spec/spec_helper.rb'

Style/BarePercentLiterals:
  EnforcedStyle: percent_q

Style/CaseEquality:
  Enabled: false

Style/FormatString:
  EnforcedStyle: sprintf

Style/GlobalVars:
  Exclude:
    - '**/extconf.rb'

Style/GuardClause:
  Enabled: false

Style/HashSyntax:
  Exclude:
    - 'Rakefile'

Style/IfUnlessModifier:
  Enabled: false

Style/MultilineArrayBraceLayout:
  Enabled: false

Style/PercentLiteralDelimiters:
  PreferredDelimiters:
    '%w': '[]'
    '%Q': '{}'
    '%q': '{}'

Style/RaiseArgs:
  EnforcedStyle: compact

Style/TrailingCommaInLiteral:
  Enabled: false

Style/TrailingCommaInArguments:
  Enabled: false

Style/ConditionalAssignment:
  Enabled: false

Style/TrailingWhitespace:
  Exclude:
    - 'spec/render/multiline_spec.rb'