require: rubocop-rspec Metrics/AbcSize: Max: 25 Exclude: - 'spec/**/*_spec.rb' Metrics/BlockLength: Exclude: - 'spec/**/*_spec.rb' Metrics/MethodLength: Max: 20 Layout/EmptyLineAfterGuardClause: Enabled: false Layout/LineLength: Max: 120 Style/BlockDelimiters: Exclude: - 'spec/**/*_spec.rb' Style/Documentation: Enabled: false Style/IfUnlessModifier: Enabled: false Style/FrozenStringLiteralComment: EnforcedStyle: always Style/StringLiterals: EnforcedStyle: double_quotes # rubocop-rspec RSpec/MultipleExpectations: Max: 15 RSpec/ExampleLength: Max: 15 # starting rubocop 0.80 newly added cops need to be explicitly enabled: Lint/DeprecatedOpenSSLConstant: Enabled: true Layout/EmptyLinesAroundAttributeAccessor: Enabled: true Lint/MixedRegexpCaptureTypes: Enabled: true Lint/RaiseException: Enabled: true Layout/SpaceAroundMethodCallOperator: Enabled: true Lint/StructNewOverride: Enabled: true Style/ExponentialNotation: Enabled: true Style/HashEachMethods: Enabled: true Style/HashTransformKeys: Enabled: true Style/HashTransformValues: Enabled: true Style/RedundantFetchBlock: Enabled: true Style/RedundantRegexpCharacterClass: Enabled: true Style/RedundantRegexpEscape: Enabled: true Style/SlicingWithRange: Enabled: true