.rubocop.yml in truemail-client-0.3.0 vs .rubocop.yml in truemail-client-0.3.1
- old
+ new
@@ -93,10 +93,46 @@
Enabled: true
Style/SlicingWithRange:
Enabled: true
+Style/ArgumentsForwarding:
+ Enabled: true
+
+Style/CollectionCompact:
+ Enabled: true
+
+Style/DocumentDynamicEvalDefinition:
+ Enabled: true
+
+Style/EndlessMethod:
+ Enabled: true
+
+Style/HashConversion:
+ Enabled: true
+
+Style/HashExcept:
+ Enabled: true
+
+Style/IfWithBooleanLiteralBranches:
+ Enabled: true
+
+Style/NegatedIfElseCondition:
+ Enabled: true
+
+Style/NilLambda:
+ Enabled: true
+
+Style/RedundantArgument:
+ Enabled: true
+
+Style/StringChars:
+ Enabled: true
+
+Style/SwapValues:
+ Enabled: true
+
Style/IfUnlessModifier:
Exclude:
- 'lib/truemail/client/http.rb'
Layout/LineLength:
@@ -131,10 +167,13 @@
- private_methods
Layout/EmptyLineAfterGuardClause:
Enabled: false
+Layout/SpaceBeforeBrackets:
+ Enabled: true
+
Lint/NonDeterministicRequireOrder:
Enabled: true
Lint/DeprecatedOpenSSLConstant:
Enabled: true
@@ -149,10 +188,58 @@
Enabled: true
Lint/StructNewOverride:
Enabled: true
+Lint/AmbiguousAssignment:
+ Enabled: true
+
+Lint/DeprecatedConstants:
+ Enabled: true
+
+Lint/DuplicateBranch:
+ Enabled: true
+
+Lint/DuplicateRegexpCharacterClassElement:
+ Enabled: true
+
+Lint/EmptyBlock:
+ Enabled: true
+
+Lint/EmptyClass:
+ Enabled: true
+
+Lint/LambdaWithoutLiteralBlock:
+ Enabled: true
+
+Lint/NoReturnInBeginEndBlocks:
+ Enabled: false
+
+Lint/NumberedParameterAssignment:
+ Enabled: true
+
+Lint/OrAssignmentToConstant:
+ Enabled: true
+
+Lint/RedundantDirGlobSort:
+ Enabled: true
+
+Lint/SymbolConversion:
+ Enabled: true
+
+Lint/ToEnumArguments:
+ Enabled: true
+
+Lint/TripleQuotes:
+ Enabled: true
+
+Lint/UnexpectedBlockArity:
+ Enabled: true
+
+Lint/UnmodifiedReduceAccumulator:
+ Enabled: true
+
Performance/AncestorsInclude:
Enabled: true
Performance/BigDecimalWithNumericArgument:
Enabled: true
@@ -173,10 +260,37 @@
Enabled: true
Performance/StringInclude:
Enabled: true
+Performance/BlockGivenWithExplicitBlock:
+ Enabled: true
+
+Performance/CollectionLiteralInLoop:
+ Enabled: true
+
+Performance/ConstantRegexp:
+ Enabled: true
+
+Performance/MapCompact:
+ Enabled: true
+
+Performance/MethodObjectAsBlock:
+ Enabled: true
+
+Performance/RedundantEqualityComparisonBlock:
+ Enabled: true
+
+Performance/RedundantSplitRegexpArgument:
+ Enabled: true
+
+Performance/Sum:
+ Enabled: true
+
+Gemspec/DateAssignment:
+ Enabled: true
+
RSpec/ExampleLength:
Enabled: false
RSpec/NestedGroups:
Enabled: false
@@ -198,6 +312,9 @@
RSpec/MultipleDescribes:
Enabled: false
RSpec/MultipleMemoizedHelpers:
+ Enabled: false
+
+RSpec/StubbedMock:
Enabled: false