.rubocop.yml in mrkt-0.11.1 vs .rubocop.yml in mrkt-1.0.0

- old
+ new

@@ -1,22 +1,35 @@ AllCops: - TargetRubyVersion: 2.3 + TargetRubyVersion: 2.5 Exclude: - 'bin/**/*' - 'vendor/**/*' +Layout/EmptyLinesAroundAttributeAccessor: + Enabled: true Layout/EmptyLineAfterGuardClause: Enabled: false Layout/FirstHashElementIndentation: Enabled: false Layout/HashAlignment: Enabled: false Layout/LineLength: Max: 128 Layout/MultilineMethodCallIndentation: EnforcedStyle: indented +Layout/SpaceAroundMethodCallOperator: + Enabled: true +Lint/DeprecatedOpenSSLConstant: + Enabled: true +Lint/MixedRegexpCaptureTypes: + Enabled: true +Lint/RaiseException: + Enabled: true +Lint/StructNewOverride: + Enabled: true + Metrics/AbcSize: Max: 17 Metrics/BlockLength: Exclude: - 'spec/**/*' @@ -26,11 +39,33 @@ Max: 6 Naming/AccessorMethodName: Enabled: false +Style/AccessorGrouping: + Enabled: true +Style/BisectedAttrAccessor: + Enabled: true Style/ClassAndModuleChildren: Enabled: false Style/Documentation: Enabled: false +Style/ExponentialNotation: + Enabled: true Style/FrozenStringLiteralComment: Enabled: false +Style/HashEachMethods: + Enabled: true +Style/HashTransformKeys: + Enabled: true +Style/HashTransformValues: + Enabled: true +Style/RedundantAssignment: + Enabled: true +Style/RedundantFetchBlock: + Enabled: true +Style/RedundantRegexpCharacterClass: + Enabled: true +Style/RedundantRegexpEscape: + Enabled: true +Style/SlicingWithRange: + Enabled: true