require: rubocop-rails

AllCops:
  NewCops: enable
  Exclude:
    - bin/*
    - db/schema.rb
    - db/migrate/*
    - config/initializers/*
    - test/**/*
    - 'vendor/**/*'
ClassLength:
  Max: 150
Layout/LineLength:
  Max: 120
Metrics/BlockLength:
  Max: 35
Style/HashEachMethods:
  Enabled: true
Style/HashTransformKeys:
  Enabled: true
Style/HashTransformValues:
  Enabled: true
Documentation:
  Enabled: false

require: rubocop-rails

AllCops:
  NewCops: enable
  Exclude:
    - bin/*
    - db/schema.rb
    - db/migrate/*
    - config/initializers/*
    - test/**/*
    - 'vendor/**/*'
ClassLength:
  Max: 150
Layout/LineLength:
  Max: 120
Metrics/BlockLength:
  Max: 35
Lint/UselessMethodDefinition:
  Enabled: false
Style/HashEachMethods:
  Enabled: true
Style/HashTransformKeys:
  Enabled: true
Style/HashTransformValues:
  Enabled: true
Documentation:
  Enabled: false

Disable Lint/UselessMethodDefinition cop since it conflicts with Rails/LexicallyScopedActionFilter
Disable Lint/UselessMethodDefinition cop since it conflicts with Rails/LexicallyScopedActionFilter

https://github.com/rubocop-hq/rubocop/issues/8667
