AllCops:
  Exclude:
    - 'config/unicorn.rb'
    - 'bin/rails'
    - 'bin/rake'
    - 'bin/spring'
    - 'db/schema.rb'
  RunRailsCops: true
Style/TrailingComma:
  Enabled: false
Style/Documentation:
  Enabled: false
Style/Blocks:
  Exclude:
    - 'spec/**/*'
Style/AlignParameters:
  Enabled: false
Metrics/MethodLength:
  Max: 5
Metrics/CyclomaticComplexity:
  Max: 4
Metrics/ParameterLists:
  Max: 3
  CountKeywordArgs: true
Rails/Delegate:
  Exclude:
    - 'app/services/hashid.rb'

AllCops:
  Exclude:
    - 'config/unicorn.rb'
    - 'bin/rails'
    - 'bin/rake'
    - 'bin/spring'
    - 'db/schema.rb'
  RunRailsCops: true
Style/TrailingComma:
  Enabled: false
Style/Documentation:
  Enabled: false
Style/Blocks:
  Exclude:
    - 'spec/**/*'
Style/AlignParameters:
  Enabled: false
Metrics/MethodLength:
  Max: 5
Metrics/CyclomaticComplexity:
  Max: 4
Metrics/ParameterLists:
  Max: 3
  CountKeywordArgs: true
Rails/Delegate:
  Exclude:
    - 'app/services/hashid.rb'
    - 'lib/**/*'

Disable Rails/Delegate cop for lib files
Disable Rails/Delegate cop for lib files

Delegate is not so useful that it justifies including the module in
non-Rails classes.
