.rubocop.yml in truemail-rspec-0.1.2 vs .rubocop.yml in truemail-rspec-0.1.3
- old
+ new
@@ -2,34 +2,33 @@
- rubocop-rspec
AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
- StyleGuideCopsOnly: true
TargetRubyVersion: 2.5
-Metrics/LineLength:
- Max: 140
-
Metrics/ClassLength:
Max: 150
Metrics/MethodLength:
Max: 15
-Metrics/AbcSize:
- Enabled: false
-
Metrics/BlockLength:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
+Naming/VariableNumber:
+ Enabled: false
+
+Naming/RescuedExceptionsVariableName:
+ Enabled: false
+
Style/Documentation:
Enabled: false
Style/DoubleNegation:
Enabled: false
@@ -38,10 +37,13 @@
Enabled: false
Style/RescueStandardError:
Enabled: false
+Layout/LineLength:
+ Max: 140
+
Layout/ClassStructure:
Enabled: true
Categories:
module_inclusion:
- include
@@ -60,10 +62,16 @@
- initializer
- public_methods
- protected_methods
- private_methods
+Layout/EmptyLineAfterGuardClause:
+ Enabled: false
+
+Lint/NonDeterministicRequireOrder:
+ Enabled: false
+
RSpec/ExampleLength:
Enabled: false
RSpec/NestedGroups:
Enabled: false
@@ -80,5 +88,122 @@
RSpec/AnyInstance:
Enabled: false
RSpec/MessageSpies:
Enabled: false
+
+RSpec/MultipleDescribes:
+ Enabled: false
+
+RSpec/MultipleMemoizedHelpers:
+ Enabled: false
+
+Layout/EmptyLinesAroundAttributeAccessor:
+ Enabled: true
+
+Layout/SpaceAroundMethodCallOperator:
+ Enabled: true
+
+Lint/BinaryOperatorWithIdenticalOperands:
+ Enabled: true
+
+Lint/DeprecatedOpenSSLConstant:
+ Enabled: true
+
+Lint/DuplicateElsifCondition:
+ Enabled: true
+
+Lint/DuplicateRescueException:
+ Enabled: true
+
+Lint/EmptyConditionalBody:
+ Enabled: true
+
+Lint/FloatComparison:
+ Enabled: true
+
+Lint/MissingSuper:
+ Enabled: true
+
+Lint/MixedRegexpCaptureTypes:
+ Enabled: true
+
+Lint/OutOfRangeRegexpRef:
+ Enabled: true
+
+Lint/RaiseException:
+ Enabled: true
+
+Lint/SelfAssignment:
+ Enabled: true
+
+Lint/StructNewOverride:
+ Enabled: true
+
+Lint/TopLevelReturnWithArgument:
+ Enabled: true
+
+Lint/UnreachableLoop:
+ Enabled: true
+
+Style/AccessorGrouping:
+ Enabled: true
+
+Style/ArrayCoercion:
+ Enabled: true
+
+Style/BisectedAttrAccessor:
+ Enabled: true
+
+Style/CaseLikeIf:
+ Enabled: true
+
+Style/ExplicitBlockArgument:
+ Enabled: true
+
+Style/ExponentialNotation:
+ Enabled: true
+
+Style/GlobalStdStream:
+ Enabled: true
+
+Style/HashAsLastArrayItem:
+ Enabled: true
+
+Style/HashEachMethods:
+ Enabled: true
+
+Style/HashLikeCase:
+ Enabled: true
+
+Style/HashTransformKeys:
+ Enabled: true
+
+Style/HashTransformValues:
+ Enabled: true
+
+Style/OptionalBooleanParameter:
+ Enabled: true
+
+Style/RedundantAssignment:
+ Enabled: true
+
+Style/RedundantFetchBlock:
+ Enabled: true
+
+Style/RedundantFileExtensionInRequire:
+ Enabled: true
+
+Style/RedundantRegexpCharacterClass:
+ Enabled: true
+
+Style/RedundantRegexpEscape:
+ Enabled: true
+
+Style/SingleArgumentDig:
+ Enabled: true
+
+Style/SlicingWithRange:
+ Enabled: true
+
+Style/StringConcatenation:
+ Enabled: true