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

361 lines
9.2 KiB
YAML
Raw Normal View History

# This configuration was generated by
2017-02-22 17:14:22 +00:00
# `rubocop --auto-gen-config --exclude-limit 0`
# on 2017-02-22 10:58:40 -0600 using RuboCop version 0.46.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.
2017-02-22 17:14:22 +00:00
# Offense count: 1
# Cop supports --auto-correct.
Performance/RedundantBlockCall:
Enabled: false
# Offense count: 15
# Configuration parameters: CustomIncludeMethods.
RSpec/EmptyExampleGroup:
2017-02-22 17:14:22 +00:00
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 63
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: implicit, each, example
RSpec/HookArgument:
Enabled: false
# Offense count: 12
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: is_expected, should
RSpec/ImplicitExpect:
2017-02-22 17:14:22 +00:00
Enabled: false
# Offense count: 1
RSpec/SingleArgumentMessageChain:
2017-02-22 17:14:22 +00:00
Enabled: false
# Offense count: 8
# Cop supports --auto-correct.
Style/AlignArray:
Enabled: false
# Offense count: 11
# Cop supports --auto-correct.
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
Style/AlignHash:
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 6
# Cop supports --auto-correct.
2016-07-03 20:18:39 +00:00
Style/EachWithObject:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
# Offense count: 24
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: empty, nil, both
Style/EmptyElse:
Enabled: false
# Offense count: 4
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/EmptyLiteral:
2017-02-22 17:14:22 +00:00
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 55
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: compact, expanded
Style/EmptyMethod:
2016-07-13 18:39:14 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
2017-02-22 00:04:05 +00:00
# Offense count: 173
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
Style/ExtraSpacing:
Enabled: false
# Offense count: 8
2016-07-03 20:18:39 +00:00
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: format, sprintf, percent
Style/FormatString:
2017-02-22 17:14:22 +00:00
Enabled: false
# Offense count: 263
2016-07-03 20:18:39 +00:00
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 12
2016-07-03 20:18:39 +00:00
Style/IfInsideElse:
2017-02-22 17:14:22 +00:00
Enabled: false
# Offense count: 177
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: MaxLineLength.
Style/IfUnlessModifier:
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 61
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
Style/IndentArray:
Enabled: false
2017-02-22 17:14:22 +00:00
# Offense count: 108
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_braces
Style/IndentHash:
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 45
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: line_count_dependent, lambda, literal
Style/Lambda:
2016-07-13 18:39:14 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
2017-02-22 00:04:05 +00:00
# Offense count: 7
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/LineEndConcatenation:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
2017-02-22 00:04:05 +00:00
# Offense count: 22
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/MethodCallParentheses:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
# Offense count: 9
Style/MethodMissing:
2017-02-22 17:14:22 +00:00
Enabled: false
# Offense count: 3
# Cop supports --auto-correct.
Style/MultilineIfModifier:
2017-02-22 17:14:22 +00:00
Enabled: false
# Offense count: 8
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/NestedParenthesizedCalls:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
2017-02-22 00:04:05 +00:00
# Offense count: 15
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
# SupportedStyles: skip_modifier_ifs, always
Style/Next:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
# Offense count: 19
# Cop supports --auto-correct.
# Configuration parameters: EnforcedOctalStyle, SupportedOctalStyles.
# SupportedOctalStyles: zero_with_o, zero_only
Style/NumericLiteralPrefix:
2017-02-22 17:14:22 +00:00
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 68
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 36
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/ParallelAssignment:
Enabled: false
2017-02-22 17:14:22 +00:00
# Offense count: 463
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
Enabled: false
2016-07-13 18:08:45 +00:00
# Offense count: 13
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/PerlBackrefs:
2017-02-22 17:14:22 +00:00
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 72
2016-07-03 20:18:39 +00:00
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
Style/PredicateName:
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 39
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: short, verbose
Style/PreferredHashMethods:
2016-07-03 20:18:39 +00:00
Enabled: false
# Offense count: 8
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/Proc:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
2017-02-22 00:04:05 +00:00
# Offense count: 62
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: compact, exploded
Style/RaiseArgs:
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 3
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/RedundantBegin:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
2017-02-22 00:04:05 +00:00
# Offense count: 32
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/RedundantFreeze:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
2017-02-22 00:04:05 +00:00
# Offense count: 15
# Cop supports --auto-correct.
# Configuration parameters: AllowMultipleReturnValues.
Style/RedundantReturn:
2017-02-22 17:14:22 +00:00
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 365
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/RedundantSelf:
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 107
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 22
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/RescueModifier:
Enabled: false
# Offense count: 7
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/SelfAssignment:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
# Offense count: 2
# Configuration parameters: Methods.
# Methods: {"reduce"=>["acc", "elem"]}, {"inject"=>["acc", "elem"]}
2016-07-03 20:18:39 +00:00
Style/SingleLineBlockParams:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
# Offense count: 50
# Cop supports --auto-correct.
# Configuration parameters: AllowIfMethodIsEmpty.
Style/SingleLineMethods:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
2017-02-22 17:14:22 +00:00
# Offense count: 153
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: space, no_space
Style/SpaceBeforeBlockBraces:
Enabled: false
# Offense count: 8
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment.
Style/SpaceBeforeFirstArg:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
2017-02-22 00:04:05 +00:00
# Offense count: 38
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: require_no_space, require_space
Style/SpaceInLambdaLiteral:
2017-02-22 17:14:22 +00:00
Enabled: false
# Offense count: 201
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
# SupportedStyles: space, no_space
Style/SpaceInsideBlockBraces:
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 90
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/SpaceInsideParens:
Enabled: false
# Offense count: 4
# Cop supports --auto-correct.
Style/SpaceInsidePercentLiteralDelimiters:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
2017-02-22 00:04:05 +00:00
# Offense count: 52
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles.
# SupportedStyles: use_perl_names, use_english_names
Style/SpecialGlobalVars:
EnforcedStyle: use_perl_names
# Offense count: 25
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiteralsInInterpolation:
2017-02-22 17:14:22 +00:00
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 57
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
# IgnoredMethods: respond_to, define_method
Style/SymbolProc:
Enabled: false
# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowSafeAssignment.
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
Style/TernaryParentheses:
2017-02-22 17:14:22 +00:00
Enabled: false
2017-02-22 00:04:05 +00:00
# Offense count: 43
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
# SupportedStyles: comma, consistent_comma, no_comma
Style/TrailingCommaInArguments:
Enabled: false
# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: AllowNamedUnderscoreVariables.
Style/TrailingUnderscoreVariable:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
2017-02-22 17:14:22 +00:00
# Offense count: 69
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/TrailingWhitespace:
Enabled: false
# Offense count: 3
2016-07-03 20:18:39 +00:00
# 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:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
# Offense count: 2
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/UnlessElse:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
2017-02-22 00:04:05 +00:00
# Offense count: 19
2016-07-03 20:18:39 +00:00
# Cop supports --auto-correct.
Style/UnneededInterpolation:
2017-02-22 17:14:22 +00:00
Enabled: false
2016-07-03 20:18:39 +00:00
# Offense count: 8
# Cop supports --auto-correct.
Style/ZeroLengthPredicate:
2017-02-22 17:14:22 +00:00
Enabled: false