AllCops: TargetRubyVersion: '3.2' Exclude: - 'bin/**' Gemspec/DeprecatedAttributeAssignment: Enabled: true Gemspec/DevelopmentDependencies: Enabled: true Gemspec/RequireMFA: Enabled: false Layout/AccessModifierIndentation: EnforcedStyle: outdent Layout/BeginEndAlignment: EnforcedStyleAlignWith: begin Layout/BlockAlignment: EnforcedStyleAlignWith: start_of_block Layout/CommentIndentation: AllowForAlignment: true Layout/EmptyLineAfterMultilineCondition: Enabled: true Layout/EndOfLine: EnforcedStyle: lf Layout/ExtraSpacing: AllowForAlignment: true AllowBeforeTrailingComments: true Layout/HashAlignment: EnforcedHashRocketStyle: table EnforcedColonStyle: table EnforcedLastArgumentHashStyle: ignore_implicit Layout/LineContinuationLeadingSpace: Enabled: true Layout/LineContinuationSpacing: Enabled: true Layout/LineEndStringConcatenationIndentation: Enabled: true Layout/MultilineArrayLineBreaks: Enabled: true Layout/MultilineAssignmentLayout: Enabled: true EnforcedStyle: same_line Layout/MultilineHashKeyLineBreaks: Enabled: true Layout/MultilineMethodArgumentLineBreaks: Enabled: true Layout/MultilineMethodCallIndentation: EnforcedStyle: indented_relative_to_receiver Layout/SingleLineBlockChain: Enabled: true Layout/SpaceAroundEqualsInParameterDefault: EnforcedStyle: no_space Layout/SpaceAroundOperators: EnforcedStyleForExponentOperator: space Layout/SpaceBeforeBrackets: Enabled: true Layout/SpaceInsideHashLiteralBraces: EnforcedStyle: no_space Layout/TrailingWhitespace: AllowInHeredoc: true Lint/AmbiguousAssignment: Enabled: true Lint/AmbiguousOperatorPrecedence: Enabled: true Lint/AmbiguousRange: Enabled: true RequireParenthesesForMethodChains: true Lint/AssignmentInCondition: AllowSafeAssignment: false Lint/ConstantOverwrittenInRescue: Enabled: true Lint/DeprecatedConstants: Enabled: true Lint/DuplicateBranch: Enabled: true IgnoreLiteralBranches: true IgnoreConstantBranches: true Lint/DuplicateMagicComment: Enabled: true Lint/DuplicateRegexpCharacterClassElement: Enabled: true Lint/EmptyBlock: Enabled: true Lint/EmptyClass: Enabled: true AllowComments: true Lint/EmptyInPattern: Enabled: true Lint/HeredocMethodCallPosition: Enabled: true Lint/IncompatibleIoSelectWithFiberScheduler: Enabled: false Lint/LambdaWithoutLiteralBlock: Enabled: true Lint/NoReturnInBeginEndBlocks: Enabled: true Lint/NonAtomicFileOperation: Enabled: true Lint/NumberedParameterAssignment: Enabled: true Lint/OrAssignmentToConstant: Enabled: true Lint/RedundantDirGlobSort: Enabled: true Lint/RedundantSplatExpansion: AllowPercentLiteralArrayArgument: false Lint/RefinementImportMethods: Enabled: true Lint/RequireRangeParentheses: Enabled: true Lint/RequireRelativeSelfPath: Enabled: true Lint/SymbolConversion: Enabled: true Lint/ToEnumArguments: Enabled: true Lint/TripleQuotes: Enabled: true Lint/UnexpectedBlockArity: Enabled: true Lint/UnmodifiedReduceAccumulator: Enabled: true Lint/UnusedBlockArgument: AutoCorrect: false Lint/UnusedMethodArgument: AutoCorrect: false Lint/UselessRescue: Enabled: true Lint/UselessRuby2Keywords: Enabled: true Metrics: Enabled: false Naming/BlockForwarding: Enabled: true Naming/InclusiveLanguage: Enabled: false Security/CompoundHash: Enabled: true Security/Eval: Enabled: false Security/IoMethods: Enabled: true Style/AccessorGrouping: EnforcedStyle: separated Style/ArgumentsForwarding: Enabled: false Style/ArrayIntersect: Enabled: true Style/AutoResourceCleanup: Enabled: true Style/CollectionCompact: Enabled: true Style/CollectionMethods: Enabled: true Style/ComparableClamp: Enabled: true Style/ConcatArrayLiterals: Enabled: true Style/DirEmpty: Enabled: true Style/DocumentDynamicEvalDefinition: Enabled: false Style/Documentation: Enabled: false Style/DocumentationMethod: Enabled: false Style/DoubleNegation: EnforcedStyle: forbidden Style/EmptyHeredoc: Enabled: true Style/EmptyMethod: EnforcedStyle: expanded Style/EndlessMethod: Enabled: true EnforcedStyle: disallow Style/EnvHome: Enabled: true Style/FetchEnvVar: Enabled: false Style/FileEmpty: Enabled: true Style/FileRead: Enabled: true Style/FileWrite: Enabled: true Style/FormatString: EnforcedStyle: percent Style/FrozenStringLiteralComment: Enabled: false Style/HashConversion: Enabled: true Style/HashExcept: Enabled: true Style/HashSyntax: EnforcedShorthandSyntax: never Style/IfWithBooleanLiteralBranches: Enabled: true Style/ImplicitRuntimeError: Enabled: true Style/InPatternThen: Enabled: true Style/IpAddresses: Enabled: true Style/MagicCommentFormat: Enabled: true Style/MapCompactWithConditionalBlock: Enabled: true Style/MapToHash: Enabled: true Style/MapToSet: Enabled: true Style/MethodCallWithArgsParentheses: Enabled: true EnforcedStyle: omit_parentheses AllowParenthesesInMultilineCall: true AllowParenthesesInChaining: true AllowParenthesesInCamelCaseMethod: true Style/MethodDefParentheses: EnforcedStyle: require_no_parentheses_except_multiline Style/MinMaxComparison: Enabled: true Style/MultilineBlockChain: Enabled: false Style/MultilineInPatternThen: Enabled: true Style/NegatedIfElseCondition: Enabled: true Style/NestedFileDirname: Enabled: true Style/NestedParenthesizedCalls: Enabled: false Style/NilLambda: Enabled: true Style/NonNilCheck: Enabled: false Style/NumberedParameters: Enabled: true EnforcedStyle: disallow Style/NumberedParametersLimit: Enabled: true Style/ObjectThen: Enabled: true Style/OpenStructUse: Enabled: false Style/OperatorMethodCall: Enabled: true Style/OptionHash: Enabled: true Style/QuotedSymbols: Enabled: true Style/RedundantArgument: Enabled: false Style/RedundantConstantBase: Enabled: false Style/RedundantDoubleSplatHashBraces: Enabled: true Style/RedundantEach: Enabled: true Style/RedundantException: Enabled: false Style/RedundantHeredocDelimiterQuotes: Enabled: true Style/RedundantInitialize: Enabled: true Style/RedundantParentheses: Enabled: false Style/RedundantSelfAssignmentBranch: Enabled: true Style/RedundantStringEscape: Enabled: true Style/RegexpLiteral: EnforcedStyle: percent_r Style/ReturnNil: Enabled: true Style/SelectByRegexp: Enabled: true Style/SingleLineMethods: AllowIfMethodIsEmpty: false Style/StaticClass: Enabled: true Style/StringChars: Enabled: true Style/StringHashKeys: Enabled: false Style/SwapValues: Enabled: true Style/SymbolArray: EnforcedStyle: brackets Style/TernaryParentheses: EnforcedStyle: require_parentheses_when_complex AllowSafeAssignment: false Style/TopLevelMethodDefinition: Enabled: true Style/TrailingCommaInArguments: Enabled: true EnforcedStyleForMultiline: no_comma Style/TrailingCommaInArrayLiteral: Enabled: true EnforcedStyleForMultiline: no_comma Style/TrailingCommaInBlockArgs: Enabled: true Style/TrailingCommaInHashLiteral: Enabled: true EnforcedStyleForMultiline: no_comma Style/UnlessLogicalOperators: EnforcedStyle: forbid_logical_operators Style/WordArray: EnforcedStyle: brackets Style/YodaCondition: Enabled: true EnforcedStyle: forbid_for_all_comparison_operators