require: - rubocop-performance - rubocop-rake - rubocop-rspec AllCops: NewCops: enable TargetRubyVersion: 2.7 Layout/EmptyLinesAroundAttributeAccessor: Enabled: true Layout/LineLength: Max: 120 Layout/SpaceAroundMethodCallOperator: Enabled: true Lint/DeprecatedOpenSSLConstant: Enabled: true Lint/MixedRegexpCaptureTypes: Enabled: true Lint/RaiseException: Enabled: true Lint/StructNewOverride: Enabled: true Metrics/BlockLength: Exclude: - 'spec/**/*' Metrics/MethodLength: Max: 15 RSpec/ExampleLength: Max: 12 RSpec/MultipleExpectations: Max: 4 Style/ClassVars: Enabled: false Style/DoubleNegation: Enabled: false Style/ExponentialNotation: Enabled: true Style/HashEachMethods: Enabled: true Style/HashTransformKeys: Enabled: true Style/HashTransformValues: Enabled: true Style/RedundantRegexpCharacterClass: Enabled: true Style/RedundantRegexpEscape: Enabled: true Style/SlicingWithRange: Enabled: true