Style/AccessModifierDeclarations: Enabled: true EnforcedStyle: group AllowModifiersOnSymbols: true Style/Alias: Enabled: true EnforcedStyle: prefer_alias_method Style/AndOr: Enabled: false EnforcedStyle: always Style/ArrayJoin: Enabled: true Style/AsciiComments: Enabled: false AllowedChars: [] Style/Attr: Enabled: true Style/AutoResourceCleanup: Enabled: false Style/BarePercentLiterals: Enabled: true EnforcedStyle: bare_percent Style/BeginBlock: Enabled: true Style/BlockComments: Enabled: true Style/BlockDelimiters: Enabled: true EnforcedStyle: line_count_based AllowBracesOnProceduralOneLiners: false BracesRequiredMethods: ['sig'] Style/CaseEquality: Enabled: true Style/CharacterLiteral: Enabled: true Style/ClassAndModuleChildren: Enabled: false Style/ClassCheck: Enabled: true EnforcedStyle: is_a? Style/ClassMethods: Enabled: true Style/ClassVars: Enabled: true Style/CollectionMethods: Enabled: false Style/ColonMethodCall: Enabled: true Style/ColonMethodDefinition: Enabled: true Style/CommandLiteral: Enabled: false Style/CommentAnnotation: Enabled: false Style/CommentedKeyword: Enabled: false Style/ConditionalAssignment: Enabled: false Style/ConstantVisibility: Enabled: false Style/Copyright: Enabled: false Style/DateTime: Enabled: false AllowCoercion: false Style/DefWithParentheses: Enabled: true Style/Dir: Enabled: true Style/DisableCopsWithinSourceCodeDirective: Enabled: false Style/Documentation: Enabled: false Style/DocumentationMethod: Enabled: false Style/DoubleNegation: Enabled: false Style/EachForSimpleLoop: Enabled: false Style/EachWithObject: Enabled: true Style/EmptyBlockParameter: Enabled: true Style/EmptyCaseCondition: Enabled: false Style/EmptyElse: Enabled: true EnforcedStyle: empty Style/EmptyLambdaParameter: Enabled: true Style/EmptyLiteral: Enabled: true Style/EmptyMethod: Enabled: true EnforcedStyle: compact Style/Encoding: Enabled: false Style/EndBlock: Enabled: true AutoCorrect: true Style/EvalWithLocation: Enabled: true Style/EvenOdd: Enabled: true Style/ExpandPathArguments: Enabled: true Style/ExponentialNotation: Enabled: true EnforcedStyle: scientific Style/FloatDivision: Enabled: false Style/For: Enabled: true EnforcedStyle: each AutoCorrect: true Style/FormatString: Enabled: true EnforcedStyle: format Style/FormatStringToken: Enabled: true EnforcedStyle: annotated Style/FrozenStringLiteralComment: Enabled: true EnforcedStyle: always Style/GlobalVars: Enabled: true AllowedVariables: [] Style/GuardClause: Enabled: false MinBodyLength: 1 Style/HashEachMethods: Enabled: true Style/HashSyntax: Enabled: true EnforcedStyle: ruby19 UseHashRocketsWithSymbolValues: false PreferHashRocketsForNonAlnumEndingSymbols: false Style/HashTransformKeys: Enabled: false Style/HashTransformValues: Enabled: false Style/IdenticalConditionalBranches: Enabled: true Style/IfInsideElse: Enabled: true AllowIfModifier: true Style/IfUnlessModifier: Enabled: false Style/IfUnlessModifierOfIfUnless: Enabled: true Style/IfWithSemicolon: Enabled: true AutoCorrect: true Style/ImplicitRuntimeError: Enabled: false Style/InfiniteLoop: Enabled: true Style/InlineComment: Enabled: false Style/InverseMethods: Enabled: true Style/IpAddresses: Enabled: false Style/Lambda: Enabled: true EnforcedStyle: line_count_dependent Style/LambdaCall: Enabled: false Style/LineEndConcatenation: Enabled: true Style/MethodCallWithArgsParentheses: Enabled: false IgnoredMethods: [] Style/MethodCallWithoutArgsParentheses: Enabled: true Style/MethodCalledOnDoEndBlock: Enabled: false Style/MethodDefParentheses: Enabled: true EnforcedStyle: require_parentheses Style/MethodMissingSuper: Enabled: false Style/MinMax: Enabled: true Style/MissingElse: Enabled: false Style/MissingRespondToMissing: Enabled: true Style/MixinGrouping: Enabled: true EnforcedStyle: separated Style/MixinUsage: Enabled: true Style/ModuleFunction: Enabled: false Style/MultilineBlockChain: Enabled: false Style/MultilineIfModifier: Enabled: false Style/MultilineIfThen: Enabled: true Style/MultilineMemoization: Enabled: true EnforcedStyle: keyword Style/MultilineMethodSignature: Enabled: false Style/MultilineTernaryOperator: Enabled: false Style/MultilineWhenThen: Enabled: true Style/MultipleComparison: Enabled: true Style/MutableConstant: Enabled: true Style/NegatedIf: Enabled: true EnforcedStyle: both Style/NegatedUnless: Enabled: false EnforcedStyle: both Style/NegatedWhile: Enabled: true Style/NestedModifier: Enabled: true Style/NestedParenthesizedCalls: Enabled: true Style/NestedTernaryOperator: Enabled: true Style/Next: Enabled: true EnforcedStyle: skip_modifier_ifs MinBodyLength: 3 Style/NilComparison: Enabled: true EnforcedStyle: predicate Style/NonNilCheck: Enabled: true IncludeSemanticChanges: false Style/Not: Enabled: true Style/NumericLiteralPrefix: Enabled: true EnforcedOctalStyle: zero_with_o Style/NumericLiterals: Enabled: false Style/NumericPredicate: Enabled: true EnforcedStyle: predicate AutoCorrect: false IgnoredMethods: [] Style/OneLineConditional: Enabled: true Style/OptionHash: Enabled: false Style/OptionalArguments: Enabled: true Style/ParallelAssignment: Enabled: false Style/ParenthesesAroundCondition: Enabled: false Style/PercentLiteralDelimiters: Enabled: true Style/PercentQLiterals: Enabled: true EnforcedStyle: lower_case_q Style/PerlBackrefs: Enabled: true Style/PreferredHashMethods: Enabled: true EnforcedStyle: short Style/Proc: Enabled: true Style/RaiseArgs: Enabled: true EnforcedStyle: exploded Style/RandomWithOffset: Enabled: true Style/RedundantBegin: Enabled: true Style/RedundantConditional: Enabled: true Style/RedundantException: Enabled: false Style/RedundantFreeze: Enabled: true Style/RedundantParentheses: Enabled: true Style/RedundantReturn: Enabled: true AllowMultipleReturnValues: false Style/RedundantSelf: Enabled: true Style/RedundantSortBy: Enabled: true Style/RegexpLiteral: Enabled: false Style/RescueModifier: Enabled: false Style/RescueStandardError: Enabled: false Style/ReturnNil: Enabled: false Style/SafeNavigation: Enabled: true ConvertCodeThatCanStartToReturnNil: false Style/Sample: Enabled: true Style/SelfAssignment: Enabled: true Style/Semicolon: Enabled: true AllowAsExpressionSeparator: false Style/Send: Enabled: false Style/SignalException: Enabled: true EnforcedStyle: only_raise Style/SingleLineBlockParams: Enabled: false Style/SingleLineMethods: Enabled: true AllowIfMethodIsEmpty: true Exclude: - spec/**/* Style/SlicingWithRange: Enabled: true Style/SpecialGlobalVars: Enabled: true Style/StabbyLambdaParentheses: Enabled: true EnforcedStyle: require_parentheses Style/StderrPuts: Enabled: true Style/StringHashKeys: Enabled: false Style/StringLiterals: Enabled: true EnforcedStyle: single_quotes ConsistentQuotesInMultiline: true Style/StringLiteralsInInterpolation: Enabled: true EnforcedStyle: single_quotes Style/StringMethods: Enabled: false Style/Strip: Enabled: true Style/StructInheritance: Enabled: true Style/SymbolArray: Enabled: true EnforcedStyle: percent Style/SymbolLiteral: Enabled: true Style/SymbolProc: Enabled: true Style/TernaryParentheses: Enabled: true EnforcedStyle: require_parentheses_when_complex AllowSafeAssignment: true Style/TrailingBodyOnClass: Enabled: true Style/TrailingBodyOnMethodDefinition: Enabled: true Style/TrailingBodyOnModule: Enabled: true Style/TrailingCommaInArguments: Enabled: true EnforcedStyleForMultiline: no_comma Style/TrailingCommaInArrayLiteral: Enabled: true EnforcedStyleForMultiline: no_comma Style/TrailingCommaInBlockArgs: Enabled: false Style/TrailingCommaInHashLiteral: Enabled: true EnforcedStyleForMultiline: no_comma Style/TrailingMethodEndStatement: Enabled: true Style/TrailingUnderscoreVariable: Enabled: true AllowNamedUnderscoreVariables: true Style/TrivialAccessors: Enabled: false Style/UnlessElse: Enabled: false Style/RedundantCapitalW: Enabled: true Style/RedundantCondition: Enabled: true Style/RedundantInterpolation: Enabled: true Style/RedundantPercentQ: Enabled: true Style/RedundantSort: Enabled: true Style/UnpackFirst: Enabled: true Style/VariableInterpolation: Enabled: true Style/WhenThen: Enabled: true Style/WhileUntilDo: Enabled: true Style/WhileUntilModifier: Enabled: false Style/WordArray: Enabled: true EnforcedStyle: percent MinSize: 2 Style/YodaCondition: Enabled: false EnforcedStyle: forbid_for_all_comparison_operators Style/ZeroLengthPredicate: Enabled: true