.rubocop.yml in helena-1.3.1 vs .rubocop.yml in helena-2.0.0
- old
+ new
@@ -1,20 +1,25 @@
AllCops:
- Include:
- - '**/Rakefile'
- - '**/config.ru'
- - '**/Gemfile'
- - '**/Appraisals'
Exclude:
+ - 'db/**/*'
+ - 'config/**/*'
+ - 'script/**/*'
- bin/**
- - spec/**/**
- - helena.gemspec
- spec/dummy/config/initializers/secret_token.rb
Documentation:
Enabled: false
LineLength:
Enabled: true
Max: 160
AbcSize:
Enabled: false
FrozenStringLiteralComment:
Enabled: false
+Metrics/BlockLength:
+ Exclude:
+ - helena.gemspec
+ ExcludedMethods:
+ - describe
+ - context
+ - scenario
+ - it
+ - feature