configs/rubocop/other-lint.yml in govuk-lint-4.0.0 vs configs/rubocop/other-lint.yml in govuk-lint-4.0.1

- old
+ new

@@ -1,129 +1,129 @@ -AmbiguousOperator: +Lint/AmbiguousOperator: Description: >- Checks for ambiguous operators in the first argument of a method invocation without parentheses. Enabled: true -AmbiguousRegexpLiteral: +Lint/AmbiguousRegexpLiteral: Description: >- Checks for ambiguous regexp literals in the first argument of a method invocation without parenthesis. Enabled: true -AssignmentInCondition: +Lint/AssignmentInCondition: Description: "Don't use assignment in conditions." Enabled: true -ConditionPosition: +Layout/ConditionPosition: Description: 'Checks for condition placed in a confusing position relative to the keyword.' Enabled: true -Debugger: +Lint/Debugger: Description: 'Check for debugger calls.' Enabled: true -DeprecatedClassMethods: +Lint/DeprecatedClassMethods: Description: 'Check for deprecated class method calls.' Enabled: true -EmptyEnsure: +Lint/EmptyEnsure: Description: 'Checks for empty ensure block.' Enabled: true -EmptyInterpolation: +Lint/EmptyInterpolation: Description: 'Checks for empty string interpolation.' Enabled: true -EndInMethod: +Lint/EndInMethod: Description: 'END blocks should not be placed inside method definitions.' Enabled: true -EnsureReturn: +Lint/EnsureReturn: Description: 'Never use return in an ensure block.' Enabled: true -Eval: +Security/Eval: Description: 'The use of eval represents a serious security risk.' Enabled: true -HandleExceptions: +Lint/HandleExceptions: Description: "Don't suppress exception." Enabled: true -LiteralAsCondition: +Lint/LiteralAsCondition: Description: 'Checks of literals used in conditions.' Enabled: true -LiteralInInterpolation: +Lint/LiteralInInterpolation: Description: 'Checks for literals used in interpolation.' Enabled: true -Loop: +Lint/Loop: Description: >- Use Kernel#loop with break rather than begin/end/until or begin/end/while for post-loop tests. Enabled: true -ParenthesesAsGroupedExpression: +Lint/ParenthesesAsGroupedExpression: Description: >- Checks for method calls with a space before the opening parenthesis. Enabled: true -PercentStringArray: +Lint/PercentStringArray: Description: Checks for unwanted commas and quotes in %w/%W literals eg %w('foo', “bar”). Enabled: true -RequireParentheses: +Lint/RequireParentheses: Description: >- Use parentheses in the method call to avoid confusion about precedence. Enabled: true -ShadowingOuterLocalVariable: +Lint/ShadowingOuterLocalVariable: Description: >- Do not use the same name as outer local variable for block arguments or block local variables. Enabled: true -SpaceBeforeFirstArg: +Layout/SpaceBeforeFirstArg: Description: >- Put a space between a method name and the first argument in a method call without parentheses. Enabled: true -UnderscorePrefixedVariableName: +Lint/UnderscorePrefixedVariableName: Description: 'Do not use prefix `_` for a variable that is used.' Enabled: true -UnusedMethodArgument: +Lint/UnusedMethodArgument: Description: 'Checks for unused method arguments.' Enabled: true -UnreachableCode: +Lint/UnreachableCode: Description: 'Unreachable code.' Enabled: true -UselessAccessModifier: +Lint/UselessAccessModifier: Description: 'Checks for useless access modifiers.' Enabled: true -UselessAssignment: +Lint/UselessAssignment: Description: 'Checks for useless assignment to a local variable.' Enabled: true -UselessComparison: +Lint/UselessComparison: Description: 'Checks for comparison of something with itself.' Enabled: true -UselessElseWithoutRescue: +Lint/UselessElseWithoutRescue: Description: 'Checks for useless `else` in `begin..end` without `rescue`.' Enabled: true -UselessSetterCall: +Lint/UselessSetterCall: Description: 'Checks for useless setter call to a local variable.' Enabled: true -Void: +Lint/Void: Description: 'Possible use of operator/literal/variable in void context.' Enabled: true