Layout/AccessModifierIndentation: Enabled: true EnforcedStyle: indent IndentationWidth: ~ Layout/ArgumentAlignment: Enabled: true IndentationWidth: ~ Layout/ArrayAlignment: Enabled: true EnforcedStyle: with_first_element IndentationWidth: ~ # NOTE: sometimes - good, sometimes - bad. readability depends on case by case. Layout/HashAlignment: Enabled: false EnforcedHashRocketStyle: table EnforcedColonStyle: table EnforcedLastArgumentHashStyle: always_inspect Layout/ParameterAlignment: Enabled: true EnforcedStyle: with_first_parameter IndentationWidth: ~ Layout/BlockAlignment: Enabled: true EnforcedStyleAlignWith: either Layout/BlockEndNewline: Enabled: true Layout/CaseIndentation: Enabled: true EnforcedStyle: case IndentationWidth: ~ IndentOneStep: false Layout/ClassStructure: Enabled: true Categories: module_inclusion: - include - prepend - extend ExpectedOrder: - module_inclusion - constants - public_class_methods - initializer - public_methods - protected_methods - private_methods Layout/ClosingHeredocIndentation: Enabled: true Layout/ClosingParenthesisIndentation: Enabled: true Layout/CommentIndentation: Enabled: true Layout/ConditionPosition: Enabled: true AutoCorrect: true Layout/DefEndAlignment: Enabled: true EnforcedStyleAlignWith: start_of_line AutoCorrect: false Severity: warning Layout/DotPosition: Enabled: true EnforcedStyle: leading Layout/ElseAlignment: Enabled: true Layout/EmptyComment: Enabled: true AllowBorderComment: true AllowMarginComment: true Layout/EmptyLineAfterGuardClause: Enabled: false Layout/EmptyLineAfterMagicComment: Enabled: true Layout/EmptyLinesAroundAttributeAccessor: Enabled: true Layout/EmptyLineBetweenDefs: Enabled: true NumberOfEmptyLines: 1 AllowAdjacentOneLineDefs: false Layout/EmptyLines: Enabled: true Layout/EmptyLinesAroundAccessModifier: Enabled: true EnforcedStyle: around Layout/EmptyLinesAroundArguments: Enabled: true Layout/EmptyLinesAroundBeginBody: Enabled: true Layout/EmptyLinesAroundBlockBody: Enabled: true EnforcedStyle: no_empty_lines Layout/EmptyLinesAroundClassBody: Enabled: true EnforcedStyle: no_empty_lines Layout/EmptyLinesAroundExceptionHandlingKeywords: Enabled: true Layout/EmptyLinesAroundMethodBody: Enabled: true Layout/EmptyLinesAroundModuleBody: Enabled: true EnforcedStyle: no_empty_lines Layout/EndAlignment: Enabled: true EnforcedStyleAlignWith: keyword AutoCorrect: false Severity: warning Layout/EndOfLine: Enabled: true EnforcedStyle: native Layout/ExtraSpacing: Enabled: true AllowForAlignment: true ForceEqualSignAlignment: false AllowBeforeTrailingComments: false Layout/FirstArrayElementLineBreak: Enabled: false Layout/FirstHashElementLineBreak: Enabled: false Layout/FirstMethodArgumentLineBreak: Enabled: false Layout/FirstMethodParameterLineBreak: Enabled: false Layout/FirstArgumentIndentation: Enabled: true EnforcedStyle: consistent IndentationWidth: ~ Layout/FirstParameterIndentation: Enabled: true EnforcedStyle: consistent IndentationWidth: ~ Layout/HeredocArgumentClosingParenthesis: Enabled: true Layout/FirstArrayElementIndentation: Enabled: true EnforcedStyle: consistent IndentationWidth: ~ Layout/AssignmentIndentation: Enabled: true IndentationWidth: ~ Layout/FirstHashElementIndentation: Enabled: true EnforcedStyle: consistent IndentationWidth: ~ Layout/HeredocIndentation: Enabled: true EnforcedStyle: squiggly Layout/IndentationConsistency: Enabled: true EnforcedStyle: normal Layout/IndentationWidth: Enabled: true Width: 2 IgnoredPatterns: [] Layout/InitialIndentation: Enabled: true Layout/LeadingEmptyLines: Enabled: true Layout/LeadingCommentSpace: Enabled: true AllowDoxygenCommentStyle: false AllowGemfileRubyComment: true Layout/LineLength: Enabled: true AutoCorrect: true Max: 100 AllowHeredoc: true AllowURI: true URISchemes: - http - https IgnoreCopDirectives: false IgnoredPatterns: [] Exclude: - Gemfile Layout/MultilineArrayBraceLayout: Enabled: true EnforcedStyle: symmetrical Layout/MultilineAssignmentLayout: Enabled: false Layout/MultilineBlockLayout: Enabled: true Layout/MultilineHashBraceLayout: Enabled: true EnforcedStyle: symmetrical Layout/MultilineMethodCallBraceLayout: Enabled: true EnforcedStyle: symmetrical Layout/MultilineMethodCallIndentation: Enabled: false EnforcedStyle: aligned IndentationWidth: ~ Layout/MultilineMethodDefinitionBraceLayout: Enabled: true EnforcedStyle: symmetrical Layout/MultilineOperationIndentation: Enabled: true EnforcedStyle: aligned IndentationWidth: ~ Layout/MultilineHashKeyLineBreaks: Enabled: false Layout/MultilineMethodArgumentLineBreaks: Enabled: false Layout/MultilineArrayLineBreaks: Enabled: false Layout/RescueEnsureAlignment: Enabled: true Layout/SpaceAfterColon: Enabled: true Layout/SpaceAfterComma: Enabled: true Layout/SpaceAfterMethodName: Enabled: true Layout/SpaceAfterNot: Enabled: true Layout/SpaceAfterSemicolon: Enabled: true Layout/SpaceAroundBlockParameters: Enabled: true EnforcedStyleInsidePipes: no_space Layout/SpaceAroundEqualsInParameterDefault: Enabled: true EnforcedStyle: space Layout/SpaceAroundKeyword: Enabled: true Layout/SpaceAroundOperators: Enabled: true AllowForAlignment: true EnforcedStyleForExponentOperator: no_space Layout/SpaceBeforeBlockBraces: Enabled: true EnforcedStyle: space EnforcedStyleForEmptyBraces: space Layout/SpaceBeforeComma: Enabled: true Layout/SpaceBeforeComment: Enabled: true Layout/SpaceBeforeFirstArg: Enabled: true AllowForAlignment: true Layout/SpaceBeforeSemicolon: Enabled: true Layout/SpaceInLambdaLiteral: Enabled: true EnforcedStyle: require_space Layout/SpaceInsideArrayLiteralBrackets: Enabled: true EnforcedStyle: no_space EnforcedStyleForEmptyBrackets: no_space Layout/SpaceInsideArrayPercentLiteral: Enabled: true Layout/SpaceInsideBlockBraces: Enabled: true EnforcedStyle: space EnforcedStyleForEmptyBraces: no_space SpaceBeforeBlockParameters: true Layout/SpaceInsideHashLiteralBraces: Enabled: true EnforcedStyle: space EnforcedStyleForEmptyBraces: no_space Layout/SpaceInsideParens: Enabled: true EnforcedStyle: no_space Layout/SpaceInsidePercentLiteralDelimiters: Enabled: true Layout/SpaceInsideRangeLiteral: Enabled: true Layout/SpaceInsideReferenceBrackets: Enabled: true EnforcedStyle: no_space EnforcedStyleForEmptyBrackets: no_space Layout/SpaceInsideStringInterpolation: Enabled: true EnforcedStyle: no_space Layout/IndentationStyle: Enabled: true EnforcedStyle: spaces IndentationWidth: 2 Layout/TrailingEmptyLines: Enabled: true EnforcedStyle: final_newline Layout/TrailingWhitespace: Enabled: true AllowInHeredoc: false