require: rubocop-rspec inherit_from: - .rubocop.directories.yml AllCops: TargetRubyVersion: 2.6 Gemspec/DateAssignment: Enabled: true Layout/EmptyLinesAroundAttributeAccessor: Enabled: true Layout/EndAlignment: Enabled: true EnforcedStyleAlignWith: variable Layout/FirstArgumentIndentation: Enabled: true EnforcedStyle: consistent Layout/FirstHashElementIndentation: Enabled: true EnforcedStyle: consistent Layout/HashAlignment: Enabled: true EnforcedHashRocketStyle: key EnforcedColonStyle: key EnforcedLastArgumentHashStyle: always_ignore Layout/LineLength: Max: 140 Layout/MultilineOperationIndentation: Enabled: true EnforcedStyle: indented IndentationWidth: 2 Layout/SpaceAroundMethodCallOperator: Enabled: false Layout/SpaceBeforeBrackets: Enabled: true Lint/AmbiguousAssignment: Enabled: true Lint/DeprecatedConstants: Enabled: true Lint/DeprecatedOpenSSLConstant: Enabled: true Lint/DuplicateBranch: Enabled: true Lint/DuplicateElsifCondition: Enabled: true Lint/DuplicateRegexpCharacterClassElement: Enabled: true Lint/EmptyBlock: Enabled: true Lint/EmptyClass: Enabled: true Lint/LambdaWithoutLiteralBlock: Enabled: true Lint/MixedRegexpCaptureTypes: Enabled: true Lint/NoReturnInBeginEndBlocks: Enabled: true Lint/NumberedParameterAssignment: Enabled: true Lint/OrAssignmentToConstant: Enabled: true Lint/RaiseException: Enabled: false Lint/RedundantDirGlobSort: Enabled: true Lint/StructNewOverride: Enabled: false Lint/SymbolConversion: Enabled: true Lint/ToEnumArguments: Enabled: true Lint/TripleQuotes: Enabled: true Lint/UnexpectedBlockArity: Enabled: true Lint/UnmodifiedReduceAccumulator: Enabled: true Metrics: Enabled: false RSpec/AnyInstance: Enabled: false RSpec/DescribedClass: Enabled: false RSpec/ExampleLength: Max: 20 RSpec/MultipleExpectations: Max: 5 RSpec/LeadingSubject: Enabled: false RSpec/MessageSpies: Enabled: false RSpec/NotToNot: EnforcedStyle: to_not Style/AccessorGrouping: Enabled: true Style/ArgumentsForwarding: Enabled: true Style/ArrayCoercion: Enabled: true Style/BisectedAttrAccessor: Enabled: true Style/CaseLikeIf: Enabled: true Style/CollectionCompact: Enabled: true Style/DocumentDynamicEvalDefinition: Enabled: true Style/EndlessMethod: Enabled: true Style/ExponentialNotation: Enabled: false Style/HashAsLastArrayItem: Enabled: true Style/HashConversion: Enabled: true Style/HashEachMethods: Enabled: false Style/HashExcept: Enabled: true Style/HashLikeCase: Enabled: true Style/HashTransformKeys: Enabled: false Style/HashTransformValues: Enabled: false Style/IfWithBooleanLiteralBranches: Enabled: true Style/BlockDelimiters: Enabled: false Style/Documentation: Enabled: false Style/EmptyMethod: Enabled: false Style/ExpandPathArguments: Enabled: false Style/FrozenStringLiteralComment: Enabled: false Style/IfUnlessModifier: Enabled: false Style/GuardClause: Enabled: false Style/MutableConstant: Enabled: false Style/NegatedIfElseCondition: Enabled: true Style/RaiseArgs: Enabled: false Style/RedundantArgument: Enabled: true Style/RedundantAssignment: Enabled: true Style/RedundantFetchBlock: Enabled: true Style/RedundantFileExtensionInRequire: Enabled: true Style/RedundantRegexpCharacterClass: Enabled: true Style/RedundantRegexpEscape: Enabled: true Style/RescueModifier: Enabled: false Style/RescueStandardError: EnforcedStyle: implicit Style/SlicingWithRange: Enabled: true Style/StringLiterals: EnforcedStyle: double_quotes Style/SwapValues: Enabled: true Style/NilLambda: Enabled: true Style/SymbolArray: Enabled: false Style/WordArray: Enabled: false