# For all options see https://github.com/bbatsov/rubocop/tree/master/config

AllCops:
  DisplayCopNames: true
  Include:
    - Rakefile
    - statesman.gemfile
    - lib/tasks/*.rake
  Exclude:
    - vendor/**/*
    - .*/**
    - spec/fixtures/**/*

StringLiterals:
  Enabled: false

Documentation:
  Enabled: false

SignalException:
  EnforcedStyle: only_raise

# Avoid methods longer than 15 lines of code
MethodLength:
  CountComments: false
  Max: 15

AbcSize:
  Max: 25

# Don't require utf-8 encoding comment
Encoding:
  Enabled: false

LineLength:
  Max: 80

GuardClause:
  Enabled: false

Layout/SpaceBeforeFirstArg:
  Enabled: false

DotPosition:
  EnforcedStyle: trailing

# Allow class and message or instance raises
Style/RaiseArgs:
  Enabled: false

Metrics/BlockLength:
  Exclude:
    - spec/**/*
# For all options see https://github.com/bbatsov/rubocop/tree/master/config

AllCops:
  DisplayCopNames: true
  Include:
    - Rakefile
    - statesman.gemfile
    - lib/tasks/*.rake
  Exclude:
    - vendor/**/*
    - .*/**
    - spec/fixtures/**/*

StringLiterals:
  Enabled: false

Documentation:
  Enabled: false

SignalException:
  EnforcedStyle: only_raise

# Avoid methods longer than 15 lines of code
MethodLength:
  CountComments: false
  Max: 15

AbcSize:
  Max: 25

# Don't require utf-8 encoding comment
Encoding:
  Enabled: false

LineLength:
  Max: 80

GuardClause:
  Enabled: false

Layout/SpaceBeforeFirstArg:
  Enabled: false

DotPosition:
  EnforcedStyle: trailing

# Allow class and message or instance raises
Style/RaiseArgs:
  Enabled: false

Metrics/BlockLength:
  Exclude:
    - spec/**/*

Style/FileName:
  Exclude:
    - Gemfile
    - Guardfile

Exclude Gemfile and Guardfile from Style/FileName cop
Exclude Gemfile and Guardfile from Style/FileName cop
