require: - rubocop-rspec AllCops: NewCops: enable TargetRubyVersion: "3.2.1" Layout/BeginEndAlignment: Enabled: true Layout/BlockAlignment: Enabled: true EnforcedStyleAlignWith: start_of_block Layout/EmptyLineBetweenDefs: Enabled: false Layout/EmptyLinesAroundAttributeAccessor: Enabled: true Layout/FirstArgumentIndentation: Enabled: true EnforcedStyle: consistent Layout/FirstArrayElementIndentation: Enabled: true EnforcedStyle: consistent Layout/FirstArrayElementLineBreak: Enabled: true Layout/FirstHashElementIndentation: Enabled: true EnforcedStyle: consistent Layout/FirstHashElementLineBreak: Enabled: true Layout/FirstMethodArgumentLineBreak: Enabled: true Layout/FirstParameterIndentation: Enabled: true EnforcedStyle: consistent Layout/LineLength: Enabled: true Max: 115 Layout/MultilineArrayBraceLayout: Enabled: true EnforcedStyle: new_line Layout/MultilineArrayLineBreaks: Enabled: true Layout/MultilineHashBraceLayout: Enabled: true EnforcedStyle: new_line Layout/MultilineHashKeyLineBreaks: Enabled: true Layout/MultilineMethodArgumentLineBreaks: Enabled: true Layout/MultilineMethodCallBraceLayout: Enabled: true EnforcedStyle: new_line Layout/MultilineMethodCallIndentation: Enabled: true EnforcedStyle: indented Layout/SpaceAroundMethodCallOperator: Enabled: true Layout/TrailingWhitespace: AllowInHeredoc: true Enabled: true Lint/AmbiguousBlockAssociation: Exclude: - spec/**/* Lint/BinaryOperatorWithIdenticalOperands: Enabled: true Lint/ConstantDefinitionInBlock: Enabled: true Lint/DeprecatedOpenSSLConstant: Enabled: true Lint/DuplicateBranch: Enabled: false Lint/DuplicateElsifCondition: Enabled: true Lint/DuplicateRequire: Enabled: true Lint/DuplicateRescueException: Enabled: true Lint/EmptyConditionalBody: Enabled: true Lint/EmptyFile: Enabled: true Lint/FloatComparison: Enabled: true Lint/IdentityComparison: Enabled: true Lint/MissingSuper: Enabled: true 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/TrailingCommaInAttributeDeclaration: Enabled: true Lint/UnreachableLoop: Enabled: true Lint/UselessAssignment: Enabled: true Lint/UselessMethodDefinition: Enabled: true Lint/UselessTimes: Enabled: true Metrics/AbcSize: Enabled: false Metrics/BlockLength: Enabled: true Metrics/ClassLength: Enabled: false Metrics/CyclomaticComplexity: Max: 42 Metrics/MethodLength: Max: 42 Metrics/ModuleLength: Enabled: false Metrics/ParameterLists: CountKeywordArgs: false Enabled: true Metrics/PerceivedComplexity: Max: 42 Naming/PredicateName: Enabled: true ForbiddenPrefixes: is_ Naming/VariableNumber: Enabled: true RSpec/AnyInstance: Enabled: false RSpec/DescribeClass: Enabled: false RSpec/DescribedClass: Enabled: false RSpec/ExampleLength: Enabled: false RSpec/MultipleExpectations: Enabled: false RSpec/NestedGroups: Max: 4 RSpec/NoExpectationExample: Exclude: - spec/domain/**/* RSpec/VerifiedDoubles: Enabled: true Style/AccessorGrouping: Enabled: true Style/ArrayCoercion: Enabled: true Style/AsciiComments: Enabled: false Style/BisectedAttrAccessor: Enabled: true Style/BlockDelimiters: Enabled: true Style/CaseLikeIf: Enabled: true Style/ClassAndModuleChildren: Enabled: false Style/CombinableLoops: Enabled: true Style/Documentation: Enabled: false Style/EmptyMethod: EnforcedStyle: expanded Style/ExplicitBlockArgument: Enabled: true Style/ExponentialNotation: Enabled: true Style/FrozenStringLiteralComment: EnforcedStyle: never Style/GlobalStdStream: Enabled: true Style/GuardClause: Enabled: false Style/HashAsLastArrayItem: Enabled: true Style/HashEachMethods: Enabled: true Style/HashLikeCase: Enabled: true Style/HashTransformKeys: Enabled: true Style/HashTransformValues: Enabled: true Style/IfInsideElse: Enabled: false Style/IfUnlessModifier: Enabled: false Style/KeywordParametersOrder: Enabled: true Style/Lambda: EnforcedStyle: literal Style/MultilineBlockChain: Enabled: false Style/NumericLiterals: Enabled: false 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/RedundantSelfAssignment: Enabled: true Style/RescueModifier: Enabled: false Style/SingleArgumentDig: Enabled: true Style/SlicingWithRange: Enabled: true Style/SoleNestedConditional: Enabled: true Style/StringConcatenation: Enabled: true Style/StringLiterals: EnforcedStyle: double_quotes Style/StringLiteralsInInterpolation: EnforcedStyle: double_quotes Style/SymbolArray: EnforcedStyle: brackets Style/TrailingCommaInArguments: Enabled: true EnforcedStyleForMultiline: comma Style/TrailingCommaInArrayLiteral: Enabled: true EnforcedStyleForMultiline: comma Style/TrailingCommaInHashLiteral: Enabled: true EnforcedStyleForMultiline: comma