.rubocop.yml in flows-0.3.0 vs .rubocop.yml in flows-0.4.0
- old
+ new
@@ -2,13 +2,22 @@
- rubocop-rspec
- rubocop-performance
- rubocop-md
AllCops:
- TargetRubyVersion: 2.6
+ TargetRubyVersion: 2.7
-LineLength:
+Style/HashEachMethods:
+ Enabled: true
+
+Style/HashTransformKeys:
+ Enabled: true
+
+Style/HashTransformValues:
+ Enabled: true
+
+Layout/LineLength:
Max: 120
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
@@ -20,13 +29,14 @@
CountKeywordArgs: false
Style/WhileUntilModifier:
Enabled: false
-Naming/UncommunicativeMethodParamName:
+Naming/MethodParameterName:
Exclude:
- '**/*.md'
+ - 'spec/**/*'
Style/MixinUsage:
Exclude:
- '**/*.md'
@@ -36,12 +46,15 @@
Lint/UnusedBlockArgument:
Exclude:
- '**/*.md'
-Lint/UnreachableCode:
+Style/CaseEquality:
Exclude:
- - 'docs/result_objects/do_notation.md'
+ - 'lib/flows/contract/**/*'
-Lint/Void:
+Naming/RescuedExceptionsVariableName:
+ PreferredName: err
+
+Style/Documentation:
Exclude:
- - 'docs/result_objects/do_notation.md'
+ - 'lib/flows/shared_context_pipeline/step.rb' # false positive here