mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
4208c63608
Change-Id: Id2170f8d0f83edcd318eb469fb1f961d9172c7b3
352 lines
7.4 KiB
YAML
352 lines
7.4 KiB
YAML
# This configuration was generated by `rubocop --auto-gen-config`
|
|
# on 2015-02-03 11:42:20 -0800 using RuboCop version 0.28.0.
|
|
# The point is for the user to remove these configuration records
|
|
# one by one as the offenses are removed from the code base.
|
|
# Note that changes in the inspected code, or installation of new
|
|
# versions of RuboCop, may require this file to be generated again.
|
|
|
|
# Offense count: 14
|
|
Lint/AmbiguousRegexpLiteral:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Configuration parameters: AllowSafeAssignment.
|
|
Lint/AssignmentInCondition:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Lint/BlockAlignment:
|
|
Enabled: false
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
Lint/DeprecatedClassMethods:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Configuration parameters: AlignWith, SupportedStyles.
|
|
Lint/EndAlignment:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
Lint/Eval:
|
|
Enabled: false
|
|
|
|
# Offense count: 3
|
|
Lint/HandleExceptions:
|
|
Enabled: false
|
|
|
|
# Offense count: 6
|
|
Lint/ParenthesesAsGroupedExpression:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
Lint/RescueException:
|
|
Enabled: false
|
|
|
|
# Offense count: 12
|
|
# Cop supports --auto-correct.
|
|
Lint/UnusedBlockArgument:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Lint/UnusedMethodArgument:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
Lint/UselessAssignment:
|
|
Enabled: false
|
|
|
|
# Offense count: 3
|
|
Metrics/AbcSize:
|
|
Max: 20
|
|
|
|
# Offense count: 1
|
|
Metrics/CyclomaticComplexity:
|
|
Max: 8
|
|
|
|
# Offense count: 490
|
|
# Configuration parameters: AllowURI, URISchemes.
|
|
Metrics/LineLength:
|
|
Max: 3224
|
|
|
|
# Offense count: 1
|
|
Metrics/PerceivedComplexity:
|
|
Max: 9
|
|
|
|
# Offense count: 8
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/AlignParameters:
|
|
Enabled: false
|
|
|
|
# Offense count: 5
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/AndOr:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Style/Blocks:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/BracesAroundHashParameters:
|
|
Enabled: false
|
|
|
|
# Offense count: 13
|
|
# Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep.
|
|
Style/CaseIndentation:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/ClassAndModuleChildren:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
Style/ConstantName:
|
|
Enabled: false
|
|
|
|
# Offense count: 5
|
|
Style/Documentation:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
Style/DoubleNegation:
|
|
Enabled: false
|
|
|
|
# Offense count: 6
|
|
# Cop supports --auto-correct.
|
|
Style/ElseAlignment:
|
|
Enabled: false
|
|
|
|
# Offense count: 12
|
|
# Cop supports --auto-correct.
|
|
Style/EmptyLines:
|
|
Enabled: false
|
|
|
|
# Offense count: 10
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/EmptyLinesAroundBlockBody:
|
|
Enabled: false
|
|
|
|
# Offense count: 7
|
|
# Configuration parameters: Exclude.
|
|
Style/FileName:
|
|
Enabled: false
|
|
|
|
# Offense count: 3
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/For:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/FormatString:
|
|
Enabled: false
|
|
|
|
# Offense count: 5
|
|
# Configuration parameters: AllowedVariables.
|
|
Style/GlobalVars:
|
|
Enabled: false
|
|
|
|
# Offense count: 170
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/HashSyntax:
|
|
Enabled: false
|
|
|
|
# Offense count: 6
|
|
# Configuration parameters: MaxLineLength.
|
|
Style/IfUnlessModifier:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/IndentationConsistency:
|
|
Enabled: false
|
|
|
|
# Offense count: 11
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: Width.
|
|
Style/IndentationWidth:
|
|
Enabled: false
|
|
|
|
# Offense count: 6
|
|
# Cop supports --auto-correct.
|
|
Style/LeadingCommentSpace:
|
|
Enabled: false
|
|
|
|
# Offense count: 14
|
|
# Cop supports --auto-correct.
|
|
Style/LineEndConcatenation:
|
|
Enabled: false
|
|
|
|
# Offense count: 67
|
|
# Cop supports --auto-correct.
|
|
Style/MultilineIfThen:
|
|
Enabled: false
|
|
|
|
# Offense count: 13
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/MultilineOperationIndentation:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/NegatedIf:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
|
|
Style/Next:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Style/NumericLiterals:
|
|
MinDigits: 8
|
|
|
|
# Offense count: 665
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: PreferredDelimiters.
|
|
Style/PercentLiteralDelimiters:
|
|
Enabled: false
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
Style/PerlBackrefs:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/RedundantBegin:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowMultipleReturnValues.
|
|
Style/RedundantReturn:
|
|
Enabled: false
|
|
|
|
# Offense count: 20
|
|
# Cop supports --auto-correct.
|
|
Style/RedundantSelf:
|
|
Enabled: false
|
|
|
|
# Offense count: 28
|
|
# Configuration parameters: MaxSlashes.
|
|
Style/RegexpLiteral:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
Style/RescueModifier:
|
|
Enabled: false
|
|
|
|
# Offense count: 9
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/SignalException:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/SpaceAfterComma:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Style/SpaceAfterControlKeyword:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/SpaceAfterNot:
|
|
Enabled: false
|
|
|
|
# Offense count: 17
|
|
# Cop supports --auto-correct.
|
|
Style/SpaceAroundOperators:
|
|
Enabled: false
|
|
|
|
# Offense count: 21
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/SpaceBeforeBlockBraces:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/SpaceBeforeComma:
|
|
Enabled: false
|
|
|
|
# Offense count: 13
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
|
Style/SpaceInsideBlockBraces:
|
|
Enabled: false
|
|
|
|
# Offense count: 28
|
|
# Cop supports --auto-correct.
|
|
Style/SpaceInsideBrackets:
|
|
Enabled: false
|
|
|
|
# Offense count: 67
|
|
# Cop supports --auto-correct.
|
|
Style/SpecialGlobalVars:
|
|
Enabled: false
|
|
|
|
# Offense count: 2317
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/StringLiterals:
|
|
Enabled: false
|
|
|
|
# Offense count: 10
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/StringLiteralsInInterpolation:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: IgnoredMethods.
|
|
Style/SymbolProc:
|
|
Enabled: false
|
|
|
|
# Offense count: 56
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/TrailingBlankLines:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
|
|
Style/TrailingComma:
|
|
Enabled: false
|
|
|
|
# Offense count: 43
|
|
# Cop supports --auto-correct.
|
|
Style/TrailingWhitespace:
|
|
Enabled: false
|
|
|
|
# Offense count: 579
|
|
# Cop supports --auto-correct.
|
|
Style/UnneededPercentQ:
|
|
Enabled: false
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: WordRegex.
|
|
Style/WordArray:
|
|
MinSize: 2
|