gitlab-org--gitlab-foss/.rubocop_todo.yml

444 lines
11 KiB
YAML
Raw Normal View History

# This configuration was generated by
2016-07-13 14:39:14 -04:00
# `rubocop --auto-gen-config --exclude-limit 0`
# on 2016-07-13 12:36:08 -0600 using RuboCop version 0.41.2.
# 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.
2016-07-05 12:33:50 -04:00
# Offense count: 154
2016-07-03 16:18:39 -04:00
Lint/AmbiguousRegexpLiteral:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 43
2016-07-03 16:18:39 -04:00
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Enabled: false
# Offense count: 14
Lint/HandleExceptions:
Enabled: false
# Offense count: 2
Lint/Loop:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-13 14:08:45 -04:00
# Offense count: 15
2016-07-03 16:18:39 -04:00
Lint/ShadowingOuterLocalVariable:
Enabled: false
# Offense count: 3
# Cop supports --auto-correct.
Lint/StringConversionInInterpolation:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-13 14:08:45 -04:00
# Offense count: 44
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
Lint/UnusedBlockArgument:
Enabled: false
2016-07-05 12:33:50 -04:00
# Offense count: 129
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
Lint/UnusedMethodArgument:
Enabled: false
# Offense count: 12
# Cop supports --auto-correct.
Performance/PushSplat:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
# Offense count: 2
# Cop supports --auto-correct.
Performance/RedundantBlockCall:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-13 14:08:45 -04:00
# Offense count: 4
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
Performance/RedundantMatch:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
# Offense count: 24
# Cop supports --auto-correct.
# Configuration parameters: MaxKeyValuePairs.
Performance/RedundantMerge:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 60
Rails/OutputSafety:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 128
2016-07-03 16:18:39 -04:00
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: strict, flexible
Rails/TimeZone:
Enabled: false
# Offense count: 12
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/Validation:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 217
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: with_first_parameter, with_fixed_indentation
Style/AlignParameters:
Enabled: false
# Offense count: 32
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: always, conditionals
Style/AndOr:
Enabled: false
# Offense count: 47
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: percent_q, bare_percent
Style/BarePercentLiterals:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 258
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: braces, no_braces, context_dependent
Style/BracesAroundHashParameters:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 5
2016-07-03 16:18:39 -04:00
Style/CaseEquality:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
# Offense count: 19
# Cop supports --auto-correct.
Style/ColonMethodCall:
Enabled: false
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: Keywords.
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
Style/CommentAnnotation:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-13 14:08:45 -04:00
# Offense count: 34
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment:
Enabled: false
2016-07-13 14:39:14 -04:00
# Offense count: 789
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: leading, trailing
Style/DotPosition:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 13
2016-07-03 16:18:39 -04:00
Style/DoubleNegation:
Enabled: false
# Offense count: 3
Style/EachWithObject:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-05 12:33:50 -04:00
# Offense count: 30
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: empty, nil, both
Style/EmptyElse:
Enabled: false
# Offense count: 3
# Cop supports --auto-correct.
Style/EmptyLiteral:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-13 14:08:45 -04:00
# Offense count: 123
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
Style/ExtraSpacing:
Enabled: false
# Offense count: 7
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: format, sprintf, percent
Style/FormatString:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-13 14:08:45 -04:00
# Offense count: 48
2016-07-03 16:18:39 -04:00
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 11
2016-07-03 16:18:39 -04:00
Style/IfInsideElse:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 177
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: MaxLineLength.
Style/IfUnlessModifier:
Enabled: false
2016-07-13 14:39:14 -04:00
# Offense count: 52
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
Style/IndentArray:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 89
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_braces
Style/IndentHash:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 12
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: line_count_dependent, lambda, literal
Style/Lambda:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
# Offense count: 6
# Cop supports --auto-correct.
Style/LineEndConcatenation:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
# Offense count: 13
# Cop supports --auto-correct.
Style/MethodCallParentheses:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-13 14:08:45 -04:00
# Offense count: 62
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
Style/MutableConstant:
Enabled: false
# Offense count: 10
# Cop supports --auto-correct.
Style/NestedParenthesizedCalls:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-13 14:08:45 -04:00
# Offense count: 12
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
# SupportedStyles: skip_modifier_ifs, always
Style/Next:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: EnforcedOctalStyle, SupportedOctalStyles.
# SupportedOctalStyles: zero_with_o, zero_only
Style/NumericLiteralPrefix:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
# Offense count: 29
# Cop supports --auto-correct.
Style/ParallelAssignment:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 208
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
Enabled: false
# Offense count: 11
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: lower_case_q, upper_case_q
Style/PercentQLiterals:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-13 14:08:45 -04:00
# Offense count: 13
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
Style/PerlBackrefs:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 32
2016-07-03 16:18:39 -04:00
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
Style/PredicateName:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 28
# Cop supports --auto-correct.
Style/PreferredHashMethods:
2016-07-03 16:18:39 -04:00
Enabled: false
# Offense count: 6
# Cop supports --auto-correct.
Style/Proc:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-05 12:33:50 -04:00
# Offense count: 20
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: compact, exploded
Style/RaiseArgs:
Enabled: false
# Offense count: 3
# Cop supports --auto-correct.
Style/RedundantBegin:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
# Offense count: 1
# Cop supports --auto-correct.
Style/RedundantException:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-13 14:08:45 -04:00
# Offense count: 23
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
Style/RedundantFreeze:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 377
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
Style/RedundantSelf:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 94
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
Enabled: false
2016-07-13 14:08:45 -04:00
# Offense count: 17
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
Style/RescueModifier:
Enabled: false
# Offense count: 2
# Cop supports --auto-correct.
Style/SelfAssignment:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
# Offense count: 2
# Configuration parameters: Methods.
# Methods: {"reduce"=>["a", "e"]}, {"inject"=>["a", "e"]}
Style/SingleLineBlockParams:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
# Offense count: 50
# Cop supports --auto-correct.
# Configuration parameters: AllowIfMethodIsEmpty.
Style/SingleLineMethods:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-05 12:33:50 -04:00
# Offense count: 119
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: space, no_space
Style/SpaceBeforeBlockBraces:
Enabled: false
# Offense count: 11
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment.
Style/SpaceBeforeFirstArg:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-13 14:08:45 -04:00
# Offense count: 130
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
# SupportedStyles: space, no_space
Style/SpaceInsideBlockBraces:
Enabled: false
2016-07-05 12:33:50 -04:00
# Offense count: 98
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
Style/SpaceInsideBrackets:
Enabled: false
# Offense count: 60
# Cop supports --auto-correct.
Style/SpaceInsideParens:
Enabled: false
# Offense count: 5
# Cop supports --auto-correct.
Style/SpaceInsidePercentLiteralDelimiters:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-13 14:08:45 -04:00
# Offense count: 36
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles.
# SupportedStyles: use_perl_names, use_english_names
Style/SpecialGlobalVars:
EnforcedStyle: use_perl_names
# Offense count: 30
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiteralsInInterpolation:
Enabled: false
# Offense count: 24
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
# IgnoredMethods: respond_to, define_method
Style/SymbolProc:
Enabled: false
# Offense count: 23
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
# SupportedStyles: comma, consistent_comma, no_comma
Style/TrailingCommaInArguments:
Enabled: false
2016-07-13 14:39:14 -04:00
# Offense count: 113
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
# SupportedStyles: comma, consistent_comma, no_comma
Style/TrailingCommaInLiteral:
Enabled: false
# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: AllowNamedUnderscoreVariables.
Style/TrailingUnderscoreVariable:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-13 14:08:45 -04:00
# Offense count: 90
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
Style/TrailingWhitespace:
Enabled: false
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
# Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
Style/TrivialAccessors:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
# Offense count: 3
# Cop supports --auto-correct.
Style/UnlessElse:
2016-07-13 14:39:14 -04:00
Enabled: false
2016-07-03 16:18:39 -04:00
2016-07-13 14:08:45 -04:00
# Offense count: 13
2016-07-03 16:18:39 -04:00
# Cop supports --auto-correct.
Style/UnneededInterpolation:
Enabled: false
# Offense count: 8
# Cop supports --auto-correct.
Style/ZeroLengthPredicate:
2016-07-13 14:39:14 -04:00
Enabled: false