default.yml in airslie-style-0.1.2 vs default.yml in airslie-style-0.1.3
- old
+ new
@@ -1,10 +1,10 @@
require: rubocop-rspec
AllCops:
- TargetRubyVersion: 2.3
Exclude:
+ - "*.gemspec"
- "vendor/**/*"
- "bin/**/*"
- "lib/tasks/**/*"
- "db/**/*"
- "spec/dummy/bin/**/*"
@@ -14,63 +14,46 @@
- "spec/dummy/tmp/**/*"
- "vendor/bundle/**/*"
UseCache: true
DisabledByDefault: false
-# Linting #
-
Lint/UnusedMethodArgument:
Enabled: false
Style/SpecialGlobalVars:
Enabled: false
-###################### Metrics ####################################
-
Metrics/BlockLength:
Enabled: false
Metrics/AbcSize:
Enabled: true
- Exclude:
- - "features/**/*"
Max: 15
Metrics/LineLength:
Max: 100
AllowHeredoc: true
AllowURI: true
URISchemes:
- http
- https
- Exclude:
- - "features/renalware/**/*"
- - "features/step_definitions/**/*"
Enabled: true
Metrics/MethodLength:
Enabled: true
Max: 10
- Exclude:
- - "features/**/*"
Metrics/ModuleLength:
Enabled: true
Max: 100
- Exclude:
- - "features/**/*"
-# ##################### Rails ##################################
-
Rails/HasAndBelongsToMany:
Enabled: false
Rails/Validation:
Enabled: false
-# ################## Style #################################
-
Style/AccessorMethodName:
Enabled: true
Style/Alias:
Enabled: true
@@ -99,13 +82,10 @@
Style/Documentation:
Enabled: false
Layout/EmptyLines:
Enabled: true
- Exclude:
- - "features/**/*"
- - "config/**/*"
Layout/EmptyLinesAroundBlockBody:
Enabled: false
Layout/EmptyLinesAroundClassBody:
@@ -133,11 +113,9 @@
Style/PredicateName:
Enabled: false
Style/RegexpLiteral:
- Exclude:
- - features/**/*
Enabled: true
Style/SignalException:
Enabled: false