.rubocop.yml in dry-monitor-0.3.0 vs .rubocop.yml in dry-monitor-0.3.1
- old
+ new
@@ -1,16 +1,76 @@
-# Generated by `rubocop --auto-gen-config`
-inherit_from: .rubocop_todo.yml
+AllCops:
+ TargetRubyVersion: 2.4
+Style/EachWithObject:
+ Enabled: false
+
+Style/StringLiterals:
+ Enabled: true
+ EnforcedStyle: single_quotes
+
+Style/Alias:
+ Enabled: false
+
+Style/LambdaCall:
+ Enabled: false
+
+Style/StabbyLambdaParentheses:
+ Enabled: false
+
+Style/FormatString:
+ Enabled: false
+
+Style/Documentation:
+ Enabled: false
+
+Layout/SpaceInLambdaLiteral:
+ Enabled: false
+
+Layout/MultilineMethodCallIndentation:
+ Enabled: true
+ EnforcedStyle: indented
+
Metrics/LineLength:
Max: 100
-Style/Documentation:
+Metrics/MethodLength:
+ Max: 22
+
+Metrics/ClassLength:
+ Max: 150
+
+Metrics/AbcSize:
+ Max: 20
+
+Metrics/BlockLength:
+ Enabled: true
+ Exclude:
+ - 'spec/**/*_spec.rb'
+
+Metrics/CyclomaticComplexity:
+ Enabled: true
+ Max: 10
+
+Lint/BooleanSymbol:
Enabled: false
+Style/AccessModifierDeclarations:
+ Enabled: false
+
+Style/BlockDelimiters:
+ Enabled: false
+
+Layout/IndentFirstArrayElement:
+ EnforcedStyle: consistent
+
+Style/ClassAndModuleChildren:
+ Exclude:
+ - 'spec/**/*_spec.rb'
+
Lint/HandleExceptions:
Exclude:
- - rakelib/*.rake
+ - 'spec/spec_helper.rb'
-Style/FileName:
+Naming/FileName:
Exclude:
- - lib/dry-logic.rb
+ - 'lib/dry-*.rb'