require: - rubocop/rspec/focused AllCops: Exclude: - "db/schema.rb" Bundler/DuplicatedGem: Enabled: true Bundler/OrderedGems: Enabled: false Layout/AccessModifierIndentation: Enabled: true Layout/AlignArray: Enabled: true Layout/AlignHash: Enabled: false Layout/AlignParameters: Enabled: true EnforcedStyle: with_fixed_indentation Layout/BlockEndNewline: Enabled: true Layout/CaseIndentation: Enabled: true EnforcedStyle: end Layout/ClosingParenthesisIndentation: Enabled: true Layout/CommentIndentation: Enabled: true Layout/DotPosition: Enabled: true Layout/ElseAlignment: Enabled: true Layout/EmptyLineAfterMagicComment: Enabled: true Layout/EmptyLineBetweenDefs: Enabled: true Layout/EmptyLines: Enabled: true Layout/EmptyLinesAroundAccessModifier: Enabled: true Layout/EmptyLinesAroundBeginBody: Enabled: true Layout/EmptyLinesAroundBlockBody: Enabled: true Layout/EmptyLinesAroundClassBody: Enabled: true Layout/EmptyLinesAroundExceptionHandlingKeywords: Enabled: false Layout/EmptyLinesAroundMethodBody: Enabled: true Layout/EmptyLinesAroundModuleBody: Enabled: true Layout/EndOfLine: Enabled: true EnforcedStyle: lf Layout/ExtraSpacing: Enabled: true Exclude: - "Guardfile" Layout/FirstArrayElementLineBreak: Enabled: true Layout/FirstHashElementLineBreak: Enabled: true Layout/FirstMethodArgumentLineBreak: Enabled: false Layout/FirstMethodParameterLineBreak: Enabled: false Layout/FirstParameterIndentation: Enabled: true Layout/IndentArray: Enabled: true EnforcedStyle: consistent Layout/IndentAssignment: Enabled: true Layout/IndentHash: Enabled: true EnforcedStyle: consistent Layout/IndentHeredoc: Enabled: true Layout/IndentationConsistency: Enabled: true Layout/IndentationWidth: Enabled: true Layout/InitialIndentation: Enabled: true Layout/LeadingCommentSpace: Enabled: true Layout/MultilineArrayBraceLayout: Enabled: true EnforcedStyle: new_line Layout/MultilineAssignmentLayout: Enabled: false Layout/MultilineBlockLayout: Enabled: true Layout/MultilineHashBraceLayout: Enabled: true EnforcedStyle: new_line Layout/MultilineMethodCallBraceLayout: Enabled: true EnforcedStyle: symmetrical Layout/MultilineMethodCallIndentation: Enabled: true EnforcedStyle: indented Layout/MultilineMethodDefinitionBraceLayout: Enabled: true Layout/MultilineOperationIndentation: Enabled: false Layout/RescueEnsureAlignment: Enabled: true Layout/SpaceAfterColon: Enabled: true Layout/SpaceAfterComma: Enabled: false Layout/SpaceAfterMethodName: Enabled: true Layout/SpaceAfterNot: Enabled: true Layout/SpaceAfterSemicolon: Enabled: true Layout/SpaceAroundBlockParameters: Enabled: true Layout/SpaceAroundEqualsInParameterDefault: Enabled: true Layout/SpaceAroundKeyword: Enabled: true Layout/SpaceAroundOperators: Enabled: true Layout/SpaceBeforeBlockBraces: Enabled: false Layout/SpaceBeforeComma: Enabled: true Layout/SpaceBeforeComment: Enabled: true Layout/SpaceBeforeFirstArg: Enabled: true Layout/SpaceBeforeSemicolon: Enabled: true Layout/SpaceInLambdaLiteral: Enabled: true EnforcedStyle: require_space Layout/SpaceInsideArrayPercentLiteral: Enabled: true Layout/SpaceInsideBlockBraces: Enabled: true Layout/SpaceInsideBrackets: Enabled: true Layout/SpaceInsideHashLiteralBraces: Enabled: true Layout/SpaceInsideArrayLiteralBrackets: Enabled: false Layout/SpaceInsideParens: Enabled: true Layout/SpaceInsidePercentLiteralDelimiters: Enabled: true Layout/SpaceInsideRangeLiteral: Enabled: true Layout/SpaceInsideStringInterpolation: Enabled: true Layout/Tab: Enabled: true Layout/TrailingBlankLines: Enabled: true Layout/TrailingWhitespace: Enabled: true Lint/AmbiguousBlockAssociation: Enabled: false Lint/AmbiguousOperator: Enabled: false Lint/AmbiguousRegexpLiteral: Enabled: false Lint/AssignmentInCondition: Enabled: false Lint/BlockAlignment: Enabled: false Lint/CircularArgumentReference: Enabled: false Lint/ConditionPosition: Enabled: false Lint/Debugger: Enabled: false Lint/DefEndAlignment: Enabled: false Lint/DeprecatedClassMethods: Enabled: false Lint/DuplicateCaseCondition: Enabled: false Lint/DuplicateMethods: Enabled: false Lint/DuplicatedKey: Enabled: false Lint/EachWithObjectArgument: Enabled: false Lint/ElseLayout: Enabled: false Lint/EmptyEnsure: Enabled: false Lint/EmptyExpression: Enabled: false Lint/EmptyInterpolation: Enabled: false Lint/EmptyWhen: Enabled: false Lint/EndAlignment: Enabled: true EnforcedStyleAlignWith: variable Lint/EndInMethod: Enabled: false Lint/EnsureReturn: Enabled: false Lint/FloatOutOfRange: Enabled: false Lint/FormatParameterMismatch: Enabled: false Lint/HandleExceptions: Enabled: false Lint/ImplicitStringConcatenation: Enabled: false Lint/IneffectiveAccessModifier: Enabled: false Lint/InheritException: Enabled: false Lint/LiteralInCondition: Enabled: false Lint/LiteralInInterpolation: Enabled: false Lint/Loop: Enabled: false Lint/MultipleCompare: Enabled: false Lint/NestedMethodDefinition: Enabled: false Lint/NextWithoutAccumulator: Enabled: false Lint/NonLocalExitFromIterator: Enabled: false Lint/ParenthesesAsGroupedExpression: Enabled: false Lint/PercentStringArray: Enabled: false Lint/PercentSymbolArray: Enabled: false Lint/RandOne: Enabled: false Lint/RequireParentheses: Enabled: false Lint/RescueException: Enabled: false Lint/RescueType: Enabled: false Lint/ReturnInVoidContext: Enabled: false Lint/SafeNavigationChain: Enabled: false Lint/ScriptPermission: Enabled: false Lint/ShadowedException: Enabled: false Lint/ShadowingOuterLocalVariable: Enabled: false Lint/StringConversionInInterpolation: Enabled: false Lint/Syntax: Enabled: true Lint/UnderscorePrefixedVariableName: Enabled: false Lint/UnifiedInteger: Enabled: false Lint/UnneededDisable: Enabled: false Lint/UnneededSplatExpansion: Enabled: false Lint/UnreachableCode: Enabled: false Lint/UnusedBlockArgument: Enabled: false Lint/UnusedMethodArgument: Enabled: false Lint/UriEscapeUnescape: Enabled: false Lint/UriRegexp: Enabled: false Lint/UselessAccessModifier: Enabled: false Lint/UselessAssignment: Enabled: false Lint/UselessComparison: Enabled: false Lint/UselessElseWithoutRescue: Enabled: false Lint/UselessSetterCall: Enabled: false Lint/Void: Enabled: false Metrics/AbcSize: Enabled: false Metrics/BlockLength: Enabled: false Metrics/BlockNesting: Enabled: false Metrics/ClassLength: Enabled: false Metrics/CyclomaticComplexity: Enabled: false Metrics/LineLength: Enabled: false Metrics/MethodLength: Enabled: false Metrics/ModuleLength: Enabled: false Metrics/ParameterLists: Enabled: false Metrics/PerceivedComplexity: Enabled: false Naming/AccessorMethodName: Enabled: false Naming/AsciiIdentifiers: Enabled: false Naming/BinaryOperatorParameterName: Enabled: false Naming/ClassAndModuleCamelCase: Enabled: false Naming/ConstantName: Enabled: false Naming/FileName: Enabled: false Naming/HeredocDelimiterNaming: Enabled: false Naming/MethodName: Enabled: false Naming/PredicateName: Enabled: false Naming/VariableName: Enabled: false Naming/VariableNumber: Enabled: false Performance/Caller: Enabled: true Performance/CaseWhenSplat: Enabled: true Performance/Casecmp: Enabled: true Performance/CompareWithBlock: Enabled: true Performance/Count: Enabled: true Performance/Detect: Enabled: true Performance/DoubleStartEndWith: Enabled: true Performance/EndWith: Enabled: true Performance/FixedSize: Enabled: true Performance/FlatMap: Enabled: true Performance/HashEachMethods: Enabled: true Performance/LstripRstrip: Enabled: true Performance/RangeInclude: Enabled: true Performance/RedundantBlockCall: Enabled: true Performance/RedundantMatch: Enabled: true Performance/RedundantMerge: Enabled: true Performance/RedundantSortBy: Enabled: true Performance/RegexpMatch: Enabled: true Performance/ReverseEach: Enabled: true Performance/Sample: Enabled: true Performance/Size: Enabled: true Performance/StartWith: Enabled: true Performance/StringReplacement: Enabled: true Performance/TimesMap: Enabled: true Rails/ActionFilter: Enabled: false Rails/ActiveSupportAliases: Enabled: false Rails/ApplicationJob: Enabled: false Rails/ApplicationRecord: Enabled: false Rails/Blank: Enabled: false Rails/CreateTableWithTimestamps: Enabled: false Rails/Date: Enabled: false Rails/Delegate: Enabled: false Rails/DelegateAllowBlank: Enabled: false Rails/DynamicFindBy: Enabled: false Rails/EnumUniqueness: Enabled: false Rails/EnvironmentComparison: Enabled: false Rails/Exit: Enabled: false Rails/FilePath: Enabled: false Rails/FindBy: Enabled: false Rails/FindEach: Enabled: false Rails/HasAndBelongsToMany: Enabled: false Rails/HasManyOrHasOneDependent: Enabled: false Rails/HttpPositionalArguments: Enabled: false Rails/InverseOf: Enabled: false Rails/LexicallyScopedActionFilter: Enabled: false Rails/NotNullColumn: Enabled: false Rails/Output: Enabled: false Rails/OutputSafety: Enabled: true Rails/PluralizationGrammar: Enabled: false Rails/Presence: Enabled: false Rails/Present: Enabled: true Rails/ReadWriteAttribute: Enabled: false Rails/RelativeDateConstant: Enabled: false Rails/RequestReferer: Enabled: false Rails/ReversibleMigration: Enabled: false Rails/SafeNavigation: Enabled: false Rails/SaveBang: Enabled: false Rails/ScopeArgs: Enabled: false Rails/SkipsModelValidations: Enabled: false Rails/TimeZone: Enabled: false Rails/UniqBeforePluck: Enabled: false Rails/UnknownEnv: Enabled: false Rails/Validation: Enabled: false Rails: Enabled: true RSpec/Focused: Enabled: true Security/Eval: Enabled: false Security/JSONLoad: Enabled: false Security/MarshalLoad: Enabled: false Security/YAMLLoad: Enabled: false Style/Alias: Enabled: false Style/AndOr: Enabled: false Style/ArrayJoin: Enabled: false Style/AsciiComments: Enabled: false Style/Attr: Enabled: false Style/AutoResourceCleanup: Enabled: false Style/BarePercentLiterals: Enabled: false Style/BeginBlock: Enabled: false Style/BlockComments: Enabled: false Style/BlockDelimiters: Enabled: false Style/BracesAroundHashParameters: Enabled: false Style/CaseEquality: Enabled: false Style/CharacterLiteral: Enabled: false Style/ClassAndModuleChildren: Enabled: false Style/ClassCheck: Enabled: false Style/ClassMethods: Enabled: false Style/ClassVars: Enabled: false Style/CollectionMethods: Enabled: false Style/ColonMethodCall: Enabled: false Style/CommandLiteral: Enabled: false Style/CommentAnnotation: Enabled: false Style/CommentedKeyword: Enabled: false Style/ConditionalAssignment: Enabled: false Style/Copyright: Enabled: false Style/DateTime: Enabled: false Style/DefWithParentheses: Enabled: false Style/Documentation: Enabled: false Style/DocumentationMethod: Enabled: false Style/DoubleNegation: Enabled: false Style/EachForSimpleLoop: Enabled: false Style/EachWithObject: Enabled: false Style/EmptyCaseCondition: Enabled: false Style/EmptyElse: Enabled: false Style/EmptyLiteral: Enabled: false Style/EmptyMethod: Enabled: false Style/Encoding: Enabled: false Style/EndBlock: Enabled: false Style/EvalWithLocation: Enabled: false Style/EvenOdd: Enabled: false Style/FlipFlop: Enabled: false Style/For: Enabled: false Style/FormatString: Enabled: false Style/FormatStringToken: Enabled: false Style/FrozenStringLiteralComment: Enabled: false Style/GlobalVars: Enabled: false Style/GuardClause: Enabled: false Style/HashSyntax: Enabled: false Style/HeredocDelimiters: Enabled: false Style/IdenticalConditionalBranches: Enabled: false Style/IfInsideElse: Enabled: false Style/IfUnlessModifier: Enabled: false Style/IfUnlessModifierOfIfUnless: Enabled: false Style/IfWithSemicolon: Enabled: false Style/ImplicitRuntimeError: Enabled: false Style/InfiniteLoop: Enabled: false Style/InlineComment: Enabled: false Style/InverseMethods: Enabled: false Style/Lambda: Enabled: false Style/LambdaCall: Enabled: false Style/LineEndConcatenation: Enabled: false Style/MethodCallWithArgsParentheses: Enabled: false Style/MethodCallWithoutArgsParentheses: Enabled: false Style/MethodCalledOnDoEndBlock: Enabled: false Style/MethodDefParentheses: Enabled: false Style/MethodMissing: Enabled: false Style/MissingElse: Enabled: false Style/MixinGrouping: Enabled: false Style/MixinUsage: Enabled: false Style/ModuleFunction: Enabled: false Style/MultilineBlockChain: Enabled: false Style/MultilineIfModifier: Enabled: false Style/MultilineIfThen: Enabled: false Style/MultilineMemoization: Enabled: false Style/MultilineTernaryOperator: Enabled: false Style/MultipleComparison: Enabled: false Style/MutableConstant: Enabled: false Style/NegatedIf: Enabled: false Style/NegatedWhile: Enabled: false Style/NestedModifier: Enabled: false Style/NestedParenthesizedCalls: Enabled: false Style/NestedTernaryOperator: Enabled: false Style/Next: Enabled: false Style/NilComparison: Enabled: false Style/NonNilCheck: Enabled: false Style/Not: Enabled: false Style/NumericLiteralPrefix: Enabled: false Style/NumericLiterals: Enabled: false Style/NumericPredicate: Enabled: false Style/OneLineConditional: Enabled: false Style/OptionHash: Enabled: false Style/OptionalArguments: Enabled: false Style/ParallelAssignment: Enabled: false Style/ParenthesesAroundCondition: Enabled: false Style/PercentLiteralDelimiters: Enabled: false Style/PercentQLiterals: Enabled: false Style/PerlBackrefs: Enabled: false Style/PreferredHashMethods: Enabled: false Style/Proc: Enabled: false Style/RaiseArgs: Enabled: false Style/RandomWithOffset: Enabled: false Style/RedundantBegin: Enabled: false Style/RedundantException: Enabled: false Style/RedundantFreeze: Enabled: false Style/RedundantParentheses: Enabled: false Style/RedundantReturn: Enabled: false Style/RedundantSelf: Enabled: false Style/RegexpLiteral: Enabled: false Style/RescueModifier: Enabled: false Style/RescueStandardError: Enabled: false Style/SafeNavigation: Enabled: false Style/SelfAssignment: Enabled: false Style/Semicolon: Enabled: false Style/Send: Enabled: false Style/SignalException: Enabled: false Style/SingleLineBlockParams: Enabled: false Style/SingleLineMethods: Enabled: false Style/SpecialGlobalVars: Enabled: false Style/StabbyLambdaParentheses: Enabled: false Style/StringLiterals: Enabled: false Style/StringLiteralsInInterpolation: Enabled: false Style/StringMethods: Enabled: false Style/StructInheritance: Enabled: false Style/SymbolArray: Enabled: false Style/SymbolLiteral: Enabled: false Style/SymbolProc: Enabled: false Style/TernaryParentheses: Enabled: false Style/TrailingCommaInArguments: Enabled: false Style/TrailingCommaInLiteral: Enabled: false Style/TrailingUnderscoreVariable: Enabled: false Style/TrivialAccessors: Enabled: false Style/UnlessElse: Enabled: true Style/UnneededCapitalW: Enabled: false Style/UnneededInterpolation: Enabled: false Style/UnneededPercentQ: Enabled: false Style/VariableInterpolation: Enabled: false Style/WhenThen: Enabled: false Style/WhileUntilDo: Enabled: false Style/WhileUntilModifier: Enabled: false Style/WordArray: Enabled: false Style/YodaCondition: Enabled: false Style/ZeroLengthPredicate: Enabled: false