.rubocop.yml
# This is the configuration used to check the rubocop source code.
AllCops:
Exclude:
- 'vendor/**/*'
- 'tmp/**/*'
- 'db/schema.rb'
- 'config/**/*'
- 'bin/**/*'
- 'db/fixtures/users.rb'
- 'db/migrate/*.rb'
- 'out/**/*'
TargetRubyVersion: 2.2
Style/Encoding:
EnforcedStyle: when_needed
Enabled: true
Metrics/BlockLength:
Exclude:
- 'Rakefile'
- '**/*.rake'
- 'spec/**/*.rb'
- 'db/fixtures/*.rb'
Metrics/MethodLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Documentation:
Enabled: false
Style/BlockComments:
Enabled: false
Metrics/AbcSize:
Max: 30
Style/WordArray:
Enabled: false