Layout/AccessModifierIndentation: Enabled: true EnforcedStyle: indent IndentationWidth: ~ Layout/ArgumentAlignment: Enabled: true IndentationWidth: ~ EnforcedStyle: with_first_argument 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/BeginEndAlignment: Enabled: true EnforcedStyleAlignWith: start_of_line Severity: warning Lint/RequireRelativeSelfPath: Enabled: true Layout/RedundantLineBreak: InspectBlocks: false Enabled: false 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 AllowForAlignment: 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/EmptyLineAfterMultilineCondition: Enabled: false Layout/EmptyLinesAroundAttributeAccessor: Enabled: true AllowAliasSyntax: true AllowedMethods: - alias_method - public - protected - private Layout/EmptyLineBetweenDefs: Enabled: true NumberOfEmptyLines: 1 AllowAdjacentOneLineDefs: true EmptyLineBetweenMethodDefs: true EmptyLineBetweenClassDefs: true EmptyLineBetweenModuleDefs: true 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 Layout/IndentationConsistency: Enabled: true EnforcedStyle: normal Layout/IndentationWidth: Enabled: true Width: 2 AllowedPatterns: [] Layout/InitialIndentation: Enabled: true Layout/LeadingEmptyLines: Enabled: true Layout/LeadingCommentSpace: Enabled: true AllowDoxygenCommentStyle: false AllowGemfileRubyComment: true Layout/LineContinuationLeadingSpace: Enabled: true AutoCorrect: true EnforcedStyle: trailing Layout/LineContinuationSpacing: Enabled: true EnforcedStyle: space AutoCorrect: true Layout/LineLength: Enabled: true AutoCorrect: true Max: 100 AllowHeredoc: true AllowURI: true URISchemes: - http - https IgnoreCopDirectives: false AllowedPatterns: [] Exclude: - Gemfile Layout/MultilineMethodParameterLineBreaks: Enabled: true AllowMultilineFinalElement: true 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 AllowMultilineFinalElement: false Layout/MultilineMethodArgumentLineBreaks: Enabled: false AllowMultilineFinalElement: true Layout/MultilineArrayLineBreaks: Enabled: false AllowMultilineFinalElement: true 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/SpaceBeforeBrackets: Enabled: false 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/SpaceAroundMethodCallOperator: Enabled: true Layout/TrailingEmptyLines: Enabled: true EnforcedStyle: final_newline Layout/TrailingWhitespace: Enabled: true AllowInHeredoc: false