AllCops:
  Include:
    - '**/Rakefile'
    - '**/config.ru'
  Exclude:
    - 'lib/**/*'
    - 'bin/**/*'
    - 'script/**/*'
    - '**/*.json.jbuilder'
    - 'vendor/bundle/**/*'
    - 'node_modules/**/*'
    - 'db/schema.rb' # auto-generated :(

Style/SymbolArray:
  Enabled: false
Style/Documentation:
  Enabled: false
Style/FileName:
  Exclude:
    - Gemfile
Style/FrozenStringLiteralComment:
  EnforcedStyle: always
  Enabled: true
Style/NumericPredicate:
  AutoCorrect: true
  EnforcedStyle: comparison
  Enabled: true

# Want to refactor some stuff? Remove these.
Metrics/AbcSize:
  Enabled: false
Metrics/CyclomaticComplexity:
  Enabled: false
Metrics/PerceivedComplexity:
  Enabled: false

Metrics/MethodLength:
  Max: 100
  Exclude:
    - 'db/migrate/*'
Metrics/LineLength:
  Max: 150
Metrics/ClassLength:
  Enabled: false
Metrics/BlockLength:
  ExcludedMethods:
    - scope
    - configure
    - draw
    - define
    - test

AllCops:
  Include:
    - '**/Rakefile'
    - '**/config.ru'
  Exclude:
    - 'lib/**/*'
    - 'bin/**/*'
    - 'script/**/*'
    - '**/*.json.jbuilder'
    - 'vendor/bundle/**/*'
    - 'node_modules/**/*'
    - 'db/schema.rb' # auto-generated :(

Style/SymbolArray:
  Enabled: false
Style/Documentation:
  Enabled: false
Style/FileName:
  Exclude:
    - Gemfile
Style/FrozenStringLiteralComment:
  EnforcedStyle: always
  Enabled: true
Style/NumericPredicate:
  AutoCorrect: true
  EnforcedStyle: comparison
  Enabled: true
Style/AsciiComments:
  Enabled: false

# Want to refactor some stuff? Remove these.
Metrics/AbcSize:
  Enabled: false
Metrics/CyclomaticComplexity:
  Enabled: false
Metrics/PerceivedComplexity:
  Enabled: false

Metrics/MethodLength:
  Max: 100
  Exclude:
    - 'db/migrate/*'
Metrics/LineLength:
  Max: 150
Metrics/ClassLength:
  Enabled: false
Metrics/BlockLength:
  ExcludedMethods:
    - scope
    - configure
    - draw
    - define
    - test

Allow non-ASCII characters in comments
Allow non-ASCII characters in comments

We don’t need to be reminded to use English here.
