.rubocop.yml in truemail-rspec-0.1.3 vs .rubocop.yml in truemail-rspec-0.2.0

- old
+ new

@@ -1,7 +1,8 @@ require: - rubocop-rspec + - rubocop-performance AllCops: DisplayCopNames: true DisplayStyleGuide: true TargetRubyVersion: 2.5 @@ -37,29 +38,92 @@ Enabled: false Style/RescueStandardError: Enabled: false +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 + +Layout/EmptyLinesAroundAttributeAccessor: + Enabled: true + +Layout/SpaceAroundMethodCallOperator: + Enabled: true + Layout/LineLength: Max: 140 Layout/ClassStructure: Enabled: true Categories: module_inclusion: - include - prepend - extend - associations: - - has_one - - has_many - - belongs_to - - has_and_belongs_to_many ExpectedOrder: - module_inclusion - constants - - associations - public_class_methods - initializer - public_methods - protected_methods - private_methods @@ -68,43 +132,10 @@ Enabled: false Lint/NonDeterministicRequireOrder: Enabled: false -RSpec/ExampleLength: - Enabled: false - -RSpec/NestedGroups: - Enabled: false - -RSpec/MultipleExpectations: - Enabled: false - -RSpec/MessageChain: - Enabled: false - -RSpec/ContextWording: - Enabled: false - -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 @@ -143,67 +174,55 @@ Enabled: true Lint/UnreachableLoop: Enabled: true -Style/AccessorGrouping: +Performance/AncestorsInclude: Enabled: true -Style/ArrayCoercion: +Performance/BigDecimalWithNumericArgument: Enabled: true -Style/BisectedAttrAccessor: +Performance/RedundantSortBlock: Enabled: true -Style/CaseLikeIf: +Performance/RedundantStringChars: Enabled: true -Style/ExplicitBlockArgument: +Performance/ReverseFirst: Enabled: true -Style/ExponentialNotation: +Performance/SortReverse: Enabled: true -Style/GlobalStdStream: +Performance/Squeeze: Enabled: true -Style/HashAsLastArrayItem: +Performance/StringInclude: Enabled: true -Style/HashEachMethods: - Enabled: true +RSpec/ExampleLength: + Enabled: false -Style/HashLikeCase: - Enabled: true +RSpec/NestedGroups: + Enabled: false -Style/HashTransformKeys: - Enabled: true +RSpec/MultipleExpectations: + Enabled: false -Style/HashTransformValues: - Enabled: true +RSpec/MessageChain: + Enabled: false -Style/OptionalBooleanParameter: - Enabled: true +RSpec/ContextWording: + Enabled: false -Style/RedundantAssignment: - Enabled: true +RSpec/AnyInstance: + Enabled: false -Style/RedundantFetchBlock: - Enabled: true +RSpec/MessageSpies: + Enabled: false -Style/RedundantFileExtensionInRequire: - Enabled: true +RSpec/MultipleDescribes: + Enabled: false -Style/RedundantRegexpCharacterClass: - Enabled: true - -Style/RedundantRegexpEscape: - Enabled: true - -Style/SingleArgumentDig: - Enabled: true - -Style/SlicingWithRange: - Enabled: true - -Style/StringConcatenation: - Enabled: true +RSpec/MultipleMemoizedHelpers: + Enabled: false