require: - rubocop-rspec - rubocop-performance AllCops: DisplayCopNames: true DisplayStyleGuide: true TargetRubyVersion: 2.5 Metrics/ClassLength: Max: 150 Metrics/MethodLength: Max: 15 Metrics/BlockLength: Enabled: false Metrics/CyclomaticComplexity: Enabled: false Metrics/PerceivedComplexity: Enabled: false Naming/VariableNumber: Enabled: false Naming/RescuedExceptionsVariableName: Enabled: false Style/Documentation: Enabled: false Style/DoubleNegation: Enabled: false Style/EmptyCaseCondition: 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 Style/CombinableLoops: Enabled: true Style/KeywordParametersOrder: Enabled: true Style/RedundantSelfAssignment: Enabled: true Style/SoleNestedConditional: Enabled: true Style/ClassEqualityComparison: Enabled: true Style/ArgumentsForwarding: Enabled: true Style/CollectionCompact: Enabled: true Style/DocumentDynamicEvalDefinition: Enabled: true Style/NegatedIfElseCondition: Enabled: true Style/NilLambda: Enabled: true Style/SwapValues: Enabled: true Style/RedundantArgument: Enabled: true Style/HashExcept: Enabled: true Style/EndlessMethod: Enabled: true Style/IfWithBooleanLiteralBranches: Enabled: true Style/HashConversion: Enabled: true Style/StringChars: Enabled: true Layout/LineLength: Max: 140 Layout/ClassStructure: Enabled: true Categories: module_inclusion: - include - prepend - extend ExpectedOrder: - module_inclusion - constants - public_class_methods - initializer - public_methods - protected_methods - private_methods Layout/EmptyLineAfterGuardClause: Enabled: false Layout/SpaceAroundMethodCallOperator: Enabled: true Layout/EmptyLinesAroundAttributeAccessor: Enabled: true Layout/BeginEndAlignment: Enabled: true Layout/SpaceBeforeBrackets: Enabled: true Lint/NonDeterministicRequireOrder: Enabled: false Lint/BinaryOperatorWithIdenticalOperands: Enabled: true Lint/DeprecatedOpenSSLConstant: Enabled: true Lint/DuplicateElsifCondition: Enabled: true Lint/DuplicateRescueException: Enabled: true Lint/EmptyConditionalBody: Enabled: true Lint/FloatComparison: Enabled: true Lint/MissingSuper: Enabled: false Lint/MixedRegexpCaptureTypes: Enabled: true Lint/OutOfRangeRegexpRef: Enabled: true Lint/RaiseException: Enabled: true Lint/SelfAssignment: Enabled: true Lint/StructNewOverride: Enabled: true Lint/TopLevelReturnWithArgument: Enabled: true Lint/UnreachableLoop: Enabled: true Lint/ConstantDefinitionInBlock: Enabled: true Lint/DuplicateRequire: Enabled: true Lint/EmptyFile: Enabled: true Lint/IdentityComparison: Enabled: true Lint/TrailingCommaInAttributeDeclaration: Enabled: true Lint/UselessMethodDefinition: Enabled: true Lint/UselessTimes: Enabled: true Lint/HashCompareByIdentity: Enabled: true Lint/RedundantSafeNavigation: Enabled: true Lint/DuplicateBranch: Enabled: true Lint/DuplicateRegexpCharacterClassElement: Enabled: true Lint/EmptyBlock: Enabled: true Lint/EmptyClass: Enabled: true Lint/NoReturnInBeginEndBlocks: Enabled: false Lint/ToEnumArguments: Enabled: true Lint/UnmodifiedReduceAccumulator: Enabled: true Lint/UnexpectedBlockArity: Enabled: true Lint/AmbiguousAssignment: Enabled: true Lint/DeprecatedConstants: Enabled: true Lint/LambdaWithoutLiteralBlock: Enabled: true Lint/RedundantDirGlobSort: Enabled: true Lint/NumberedParameterAssignment: Enabled: true Lint/OrAssignmentToConstant: Enabled: true Lint/SymbolConversion: Enabled: true Lint/TripleQuotes: Enabled: true Gemspec/DateAssignment: Enabled: true Performance/AncestorsInclude: Enabled: true Performance/BigDecimalWithNumericArgument: Enabled: true Performance/RedundantSortBlock: Enabled: true Performance/RedundantStringChars: Enabled: true Performance/ReverseFirst: Enabled: true Performance/SortReverse: Enabled: true Performance/Squeeze: Enabled: true Performance/StringInclude: Enabled: true Performance/Sum: Enabled: true Performance/BlockGivenWithExplicitBlock: Enabled: true Performance/CollectionLiteralInLoop: Enabled: true Performance/ConstantRegexp: Enabled: true Performance/MethodObjectAsBlock: Enabled: true Performance/RedundantEqualityComparisonBlock: Enabled: true Performance/RedundantSplitRegexpArgument: Enabled: true 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 RSpec/StubbedMock: Enabled: false