config/default.yml in rubocop-springest-0.7.2 vs config/default.yml in rubocop-springest-0.7.3

- old
+ new

@@ -9,122 +9,175 @@ Enabled: true Bundler/OrderedGems: Enabled: true -Layout/BlockEndNewline: +Layout/AssignmentIndentation: Enabled: true -Layout/EndOfLine: +Layout/BeginEndAlignment: Enabled: true -Layout/IndentationStyle: +Layout/BlockAlignment: Enabled: true + EnforcedStyleAlignWith: start_of_line -Layout/InitialIndentation: +Layout/BlockEndNewline: Enabled: true -Layout/LineLength: - Enabled: false - -Layout/SpaceAfterColon: +Layout/CaseIndentation: Enabled: true -Layout/SpaceAfterComma: +Layout/ClosingParenthesisIndentation: Enabled: true -Layout/SpaceAfterMethodName: +Layout/CommentIndentation: Enabled: true -Layout/SpaceAfterNot: +Layout/ConditionPosition: Enabled: true -Layout/SpaceAfterSemicolon: +Layout/DefEndAlignment: Enabled: true -Layout/SpaceAroundBlockParameters: +Layout/DotPosition: Enabled: true + EnforcedStyle: trailing -Layout/SpaceAroundEqualsInParameterDefault: +Layout/ElseAlignment: Enabled: true -Layout/SpaceInsideArrayPercentLiteral: +Layout/EmptyComment: Enabled: true -Layout/SpaceInsideArrayLiteralBrackets: +Layout/EmptyLineAfterGuardClause: Enabled: true -Layout/SpaceInsideParens: +Layout/EmptyLineAfterMagicComment: Enabled: true -Layout/SpaceInsideRangeLiteral: - Enabled: true - -Layout/TrailingEmptyLines: - Enabled: true - -Layout/TrailingWhitespace: - Enabled: true - -Layout/SpaceBeforeFirstArg: - Enabled: true - Layout/EmptyLineBetweenDefs: Enabled: true AllowAdjacentOneLineDefs: true NumberOfEmptyLines: 1 Layout/EmptyLines: Enabled: true +Layout/EmptyLinesAroundAccessModifier: + Enabled: true + +Layout/EmptyLinesAroundArguments: + Enabled: true + Layout/EmptyLinesAroundBeginBody: Enabled: true Layout/EmptyLinesAroundBlockBody: Enabled: true Layout/EmptyLinesAroundClassBody: Enabled: true +Layout/EmptyLinesAroundExceptionHandlingKeywords: + Enabled: true + Layout/EmptyLinesAroundMethodBody: Enabled: true Layout/EmptyLinesAroundModuleBody: Enabled: true -Layout/EmptyLinesAroundExceptionHandlingKeywords: +Layout/EndAlignment: Enabled: true +Layout/EndOfLine: + Enabled: true + Layout/ExtraSpacing: Enabled: true AllowForAlignment: false -Layout/DotPosition: +Layout/IndentationConsistency: Enabled: true - EnforcedStyle: trailing -Layout/BlockAlignment: +Layout/IndentationStyle: Enabled: true -Lint/BinaryOperatorWithIdenticalOperands: +Layout/IndentationWidth: Enabled: true -Lint/CircularArgumentReference: +Layout/InitialIndentation: Enabled: true -Layout/ConditionPosition: +Layout/LeadingEmptyLines: Enabled: true -Lint/Debugger: +Layout/LineLength: + Enabled: false + +Layout/MultilineMethodCallIndentation: Enabled: true + EnforcedStyle: indented -Layout/DefEndAlignment: +Layout/SpaceAfterColon: Enabled: true -Layout/EndAlignment: +Layout/SpaceAfterComma: Enabled: true +Layout/SpaceAfterMethodName: + Enabled: true + +Layout/SpaceAfterNot: + Enabled: true + +Layout/SpaceAfterSemicolon: + Enabled: true + +Layout/SpaceAroundBlockParameters: + Enabled: true + +Layout/SpaceAroundEqualsInParameterDefault: + Enabled: true + +Layout/SpaceBeforeFirstArg: + Enabled: true + +Layout/SpaceInsideArrayLiteralBrackets: + Enabled: true + +Layout/SpaceInsideArrayPercentLiteral: + Enabled: true + +Layout/SpaceInsideParens: + Enabled: true + +Layout/SpaceInsideRangeLiteral: + Enabled: true + +Layout/TrailingEmptyLines: + Enabled: true + +Layout/TrailingWhitespace: + Enabled: true + +Lint/AmbiguousOperator: + Enabled: true + +Lint/AmbiguousRegexpLiteral: + Enabled: true + +Lint/BinaryOperatorWithIdenticalOperands: + Enabled: true + +Lint/CircularArgumentReference: + Enabled: true + +Lint/Debugger: + Enabled: true + Lint/DeprecatedClassMethods: Enabled: true Lint/DuplicateMethods: Enabled: true @@ -160,64 +213,52 @@ Enabled: true Lint/Loop: Enabled: true -Lint/NextWithoutAccumulator: +Lint/NestedMethodDefinition: Enabled: true -Lint/RandOne: +Lint/NextWithoutAccumulator: Enabled: true -Lint/RequireParentheses: +Lint/NonLocalExitFromIterator: Enabled: true -Lint/RescueException: +Lint/ParenthesesAsGroupedExpression: Enabled: true -Lint/RedundantStringCoercion: +Lint/RandOne: Enabled: true -Lint/UnderscorePrefixedVariableName: - Enabled: true - Lint/RedundantCopDisableDirective: Enabled: true Lint/RedundantSplatExpansion: Enabled: true -Lint/UnreachableCode: +Lint/RedundantStringCoercion: Enabled: true -Lint/UselessSetterCall: +Lint/RequireParentheses: Enabled: true -Lint/Void: +Lint/RescueException: Enabled: true -Lint/AmbiguousOperator: +Lint/ShadowingOuterLocalVariable: Enabled: true -Lint/AmbiguousRegexpLiteral: - Enabled: true - Lint/SuppressedException: Enabled: true -Lint/NestedMethodDefinition: +Lint/UnderscorePrefixedVariableName: Enabled: true -Lint/NonLocalExitFromIterator: +Lint/UnreachableCode: Enabled: true -Lint/ParenthesesAsGroupedExpression: - Enabled: true - -Lint/ShadowingOuterLocalVariable: - Enabled: true - Lint/UnusedBlockArgument: Enabled: true Lint/UnusedMethodArgument: Enabled: true @@ -229,10 +270,16 @@ Enabled: true Lint/UselessElseWithoutRescue: Enabled: true +Lint/UselessSetterCall: + Enabled: true + +Lint/Void: + Enabled: true + Metrics/AbcSize: Enabled: false Metrics/BlockLength: Enabled: false @@ -284,33 +331,33 @@ Enabled: true Performance/EndWith: Enabled: true +Performance/FlatMap: + Enabled: true + EnabledForFlattenWithoutParams: false + Performance/RangeInclude: Enabled: false Performance/RedundantMatch: Enabled: false Performance/RedundantMerge: Enabled: true MaxKeyValuePairs: 1 +Performance/ReverseEach: + Enabled: true + Performance/Size: Enabled: true Performance/StartWith: Enabled: true -Performance/FlatMap: - Enabled: true - EnabledForFlattenWithoutParams: false - -Performance/ReverseEach: - Enabled: true - Performance/StringReplacement: Enabled: true Security/Eval: Enabled: true @@ -371,20 +418,20 @@ Enabled: true Style/OneLineConditional: Enabled: true -Style/StabbyLambdaParentheses: +Style/RedundantSortBy: Enabled: true -Style/StringLiterals: +Style/Sample: Enabled: true - EnforcedStyle: double_quotes -Style/Strip: +Style/StabbyLambdaParentheses: Enabled: true -Style/RedundantSortBy: +Style/StringLiterals: Enabled: true + EnforcedStyle: double_quotes -Style/Sample: +Style/Strip: Enabled: true