Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
287293be
Commit
287293be
authored
Sep 14, 2016
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Regenerate .rubocop_todo.yml based on rubocop 0.42.0
parent
c1a99008
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
72 additions
and
53 deletions
+72
-53
.rubocop_todo.yml
.rubocop_todo.yml
+72
-53
No files found.
.rubocop_todo.yml
View file @
287293be
# This configuration was generated by
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 0`
# `rubocop --auto-gen-config --exclude-limit 0`
# on 2016-0
7-13 12:36:08 -0600 using RuboCop version 0.41.2
.
# on 2016-0
9-14 15:44:53 -0400 using RuboCop version 0.42.0
.
# The point is for the user to remove these configuration records
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# versions of RuboCop, may require this file to be generated again.
# Offense count: 15
4
# Offense count: 15
8
Lint/AmbiguousRegexpLiteral
:
Lint/AmbiguousRegexpLiteral
:
Enabled
:
false
Enabled
:
false
# Offense count: 4
3
# Offense count: 4
1
# Configuration parameters: AllowSafeAssignment.
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition
:
Lint/AssignmentInCondition
:
Enabled
:
false
Enabled
:
false
# Offense count: 1
4
# Offense count: 1
6
Lint/HandleExceptions
:
Lint/HandleExceptions
:
Enabled
:
false
Enabled
:
false
...
@@ -23,28 +23,28 @@ Lint/HandleExceptions:
...
@@ -23,28 +23,28 @@ Lint/HandleExceptions:
Lint/Loop
:
Lint/Loop
:
Enabled
:
false
Enabled
:
false
# Offense count: 1
5
# Offense count: 1
6
Lint/ShadowingOuterLocalVariable
:
Lint/ShadowingOuterLocalVariable
:
Enabled
:
false
Enabled
:
false
# Offense count:
3
# Offense count:
6
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Lint/StringConversionInInterpolation
:
Lint/StringConversionInInterpolation
:
Enabled
:
false
Enabled
:
false
# Offense count: 4
4
# Offense count: 4
9
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
Lint/UnusedBlockArgument
:
Lint/UnusedBlockArgument
:
Enabled
:
false
Enabled
:
false
# Offense count: 1
29
# Offense count: 1
44
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
Lint/UnusedMethodArgument
:
Lint/UnusedMethodArgument
:
Enabled
:
false
Enabled
:
false
# Offense count:
12
# Offense count:
9
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Performance/PushSplat
:
Performance/PushSplat
:
Enabled
:
false
Enabled
:
false
...
@@ -59,51 +59,51 @@ Performance/RedundantBlockCall:
...
@@ -59,51 +59,51 @@ Performance/RedundantBlockCall:
Performance/RedundantMatch
:
Performance/RedundantMatch
:
Enabled
:
false
Enabled
:
false
# Offense count: 2
4
# Offense count: 2
7
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: MaxKeyValuePairs.
# Configuration parameters: MaxKeyValuePairs.
Performance/RedundantMerge
:
Performance/RedundantMerge
:
Enabled
:
false
Enabled
:
false
# Offense count: 6
0
# Offense count: 6
1
Rails/OutputSafety
:
Rails/OutputSafety
:
Enabled
:
false
Enabled
:
false
# Offense count: 12
8
# Offense count: 12
9
# Configuration parameters: EnforcedStyle, SupportedStyles.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: strict, flexible
# SupportedStyles: strict, flexible
Rails/TimeZone
:
Rails/TimeZone
:
Enabled
:
false
Enabled
:
false
# Offense count: 1
2
# Offense count: 1
5
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Configuration parameters: Include.
# Include: app/models/**/*.rb
# Include: app/models/**/*.rb
Rails/Validation
:
Rails/Validation
:
Enabled
:
false
Enabled
:
false
# Offense count: 2
17
# Offense count: 2
73
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: with_first_parameter, with_fixed_indentation
# SupportedStyles: with_first_parameter, with_fixed_indentation
Style/AlignParameters
:
Style/AlignParameters
:
Enabled
:
false
Enabled
:
false
# Offense count: 3
2
# Offense count: 3
0
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: always, conditionals
# SupportedStyles: always, conditionals
Style/AndOr
:
Style/AndOr
:
Enabled
:
false
Enabled
:
false
# Offense count:
47
# Offense count:
50
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: percent_q, bare_percent
# SupportedStyles: percent_q, bare_percent
Style/BarePercentLiterals
:
Style/BarePercentLiterals
:
Enabled
:
false
Enabled
:
false
# Offense count: 2
58
# Offense count: 2
89
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: braces, no_braces, context_dependent
# SupportedStyles: braces, no_braces, context_dependent
...
@@ -126,14 +126,14 @@ Style/ColonMethodCall:
...
@@ -126,14 +126,14 @@ Style/ColonMethodCall:
Style/CommentAnnotation
:
Style/CommentAnnotation
:
Enabled
:
false
Enabled
:
false
# Offense count: 3
4
# Offense count: 3
3
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
# SupportedStyles: assign_to_condition, assign_inside_condition
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment
:
Style/ConditionalAssignment
:
Enabled
:
false
Enabled
:
false
# Offense count:
789
# Offense count:
881
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: leading, trailing
# SupportedStyles: leading, trailing
...
@@ -144,11 +144,12 @@ Style/DotPosition:
...
@@ -144,11 +144,12 @@ Style/DotPosition:
Style/DoubleNegation
:
Style/DoubleNegation
:
Enabled
:
false
Enabled
:
false
# Offense count: 3
# Offense count: 4
# Cop supports --auto-correct.
Style/EachWithObject
:
Style/EachWithObject
:
Enabled
:
false
Enabled
:
false
# Offense count:
30
# Offense count:
25
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: empty, nil, both
# SupportedStyles: empty, nil, both
...
@@ -160,7 +161,7 @@ Style/EmptyElse:
...
@@ -160,7 +161,7 @@ Style/EmptyElse:
Style/EmptyLiteral
:
Style/EmptyLiteral
:
Enabled
:
false
Enabled
:
false
# Offense count: 1
23
# Offense count: 1
35
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
Style/ExtraSpacing
:
Style/ExtraSpacing
:
...
@@ -172,16 +173,16 @@ Style/ExtraSpacing:
...
@@ -172,16 +173,16 @@ Style/ExtraSpacing:
Style/FormatString
:
Style/FormatString
:
Enabled
:
false
Enabled
:
false
# Offense count:
48
# Offense count:
51
# Configuration parameters: MinBodyLength.
# Configuration parameters: MinBodyLength.
Style/GuardClause
:
Style/GuardClause
:
Enabled
:
false
Enabled
:
false
# Offense count:
11
# Offense count:
9
Style/IfInsideElse
:
Style/IfInsideElse
:
Enabled
:
false
Enabled
:
false
# Offense count: 17
7
# Offense count: 17
4
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: MaxLineLength.
# Configuration parameters: MaxLineLength.
Style/IfUnlessModifier
:
Style/IfUnlessModifier
:
...
@@ -194,7 +195,7 @@ Style/IfUnlessModifier:
...
@@ -194,7 +195,7 @@ Style/IfUnlessModifier:
Style/IndentArray
:
Style/IndentArray
:
Enabled
:
false
Enabled
:
false
# Offense count:
89
# Offense count:
97
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_braces
# SupportedStyles: special_inside_parentheses, consistent, align_braces
...
@@ -208,7 +209,7 @@ Style/IndentHash:
...
@@ -208,7 +209,7 @@ Style/IndentHash:
Style/Lambda
:
Style/Lambda
:
Enabled
:
false
Enabled
:
false
# Offense count:
6
# Offense count:
5
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/LineEndConcatenation
:
Style/LineEndConcatenation
:
Enabled
:
false
Enabled
:
false
...
@@ -218,17 +219,21 @@ Style/LineEndConcatenation:
...
@@ -218,17 +219,21 @@ Style/LineEndConcatenation:
Style/MethodCallParentheses
:
Style/MethodCallParentheses
:
Enabled
:
false
Enabled
:
false
# Offense count: 62
# Offense count: 8
Style/MethodMissing
:
Enabled
:
false
# Offense count: 85
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/MutableConstant
:
Style/MutableConstant
:
Enabled
:
false
Enabled
:
false
# Offense count:
10
# Offense count:
8
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/NestedParenthesizedCalls
:
Style/NestedParenthesizedCalls
:
Enabled
:
false
Enabled
:
false
# Offense count: 1
2
# Offense count: 1
3
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
# SupportedStyles: skip_modifier_ifs, always
# SupportedStyles: skip_modifier_ifs, always
...
@@ -242,12 +247,19 @@ Style/Next:
...
@@ -242,12 +247,19 @@ Style/Next:
Style/NumericLiteralPrefix
:
Style/NumericLiteralPrefix
:
Enabled
:
false
Enabled
:
false
# Offense count: 64
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: predicate, comparison
Style/NumericPredicate
:
Enabled
:
false
# Offense count: 29
# Offense count: 29
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/ParallelAssignment
:
Style/ParallelAssignment
:
Enabled
:
false
Enabled
:
false
# Offense count: 2
08
# Offense count: 2
64
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters
:
Style/PercentLiteralDelimiters
:
...
@@ -265,7 +277,7 @@ Style/PercentQLiterals:
...
@@ -265,7 +277,7 @@ Style/PercentQLiterals:
Style/PerlBackrefs
:
Style/PerlBackrefs
:
Enabled
:
false
Enabled
:
false
# Offense count: 3
2
# Offense count: 3
5
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
...
@@ -273,7 +285,7 @@ Style/PerlBackrefs:
...
@@ -273,7 +285,7 @@ Style/PerlBackrefs:
Style/PredicateName
:
Style/PredicateName
:
Enabled
:
false
Enabled
:
false
# Offense count: 2
8
# Offense count: 2
7
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/PreferredHashMethods
:
Style/PreferredHashMethods
:
Enabled
:
false
Enabled
:
false
...
@@ -283,14 +295,14 @@ Style/PreferredHashMethods:
...
@@ -283,14 +295,14 @@ Style/PreferredHashMethods:
Style/Proc
:
Style/Proc
:
Enabled
:
false
Enabled
:
false
# Offense count: 2
0
# Offense count: 2
2
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: compact, exploded
# SupportedStyles: compact, exploded
Style/RaiseArgs
:
Style/RaiseArgs
:
Enabled
:
false
Enabled
:
false
# Offense count:
3
# Offense count:
4
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/RedundantBegin
:
Style/RedundantBegin
:
Enabled
:
false
Enabled
:
false
...
@@ -300,29 +312,29 @@ Style/RedundantBegin:
...
@@ -300,29 +312,29 @@ Style/RedundantBegin:
Style/RedundantException
:
Style/RedundantException
:
Enabled
:
false
Enabled
:
false
# Offense count: 2
3
# Offense count: 2
4
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/RedundantFreeze
:
Style/RedundantFreeze
:
Enabled
:
false
Enabled
:
false
# Offense count:
377
# Offense count:
408
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/RedundantSelf
:
Style/RedundantSelf
:
Enabled
:
false
Enabled
:
false
# Offense count: 9
4
# Offense count: 9
3
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral
:
Style/RegexpLiteral
:
Enabled
:
false
Enabled
:
false
# Offense count: 1
7
# Offense count: 1
8
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/RescueModifier
:
Style/RescueModifier
:
Enabled
:
false
Enabled
:
false
# Offense count:
2
# Offense count:
5
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/SelfAssignment
:
Style/SelfAssignment
:
Enabled
:
false
Enabled
:
false
...
@@ -339,42 +351,42 @@ Style/SingleLineBlockParams:
...
@@ -339,42 +351,42 @@ Style/SingleLineBlockParams:
Style/SingleLineMethods
:
Style/SingleLineMethods
:
Enabled
:
false
Enabled
:
false
# Offense count: 1
19
# Offense count: 1
24
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: space, no_space
# SupportedStyles: space, no_space
Style/SpaceBeforeBlockBraces
:
Style/SpaceBeforeBlockBraces
:
Enabled
:
false
Enabled
:
false
# Offense count: 1
1
# Offense count: 1
0
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment.
# Configuration parameters: AllowForAlignment.
Style/SpaceBeforeFirstArg
:
Style/SpaceBeforeFirstArg
:
Enabled
:
false
Enabled
:
false
# Offense count: 1
30
# Offense count: 1
41
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
# SupportedStyles: space, no_space
# SupportedStyles: space, no_space
Style/SpaceInsideBlockBraces
:
Style/SpaceInsideBlockBraces
:
Enabled
:
false
Enabled
:
false
# Offense count: 9
8
# Offense count: 9
6
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/SpaceInsideBrackets
:
Style/SpaceInsideBrackets
:
Enabled
:
false
Enabled
:
false
# Offense count: 6
0
# Offense count: 6
2
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/SpaceInsideParens
:
Style/SpaceInsideParens
:
Enabled
:
false
Enabled
:
false
# Offense count:
5
# Offense count:
7
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/SpaceInsidePercentLiteralDelimiters
:
Style/SpaceInsidePercentLiteralDelimiters
:
Enabled
:
false
Enabled
:
false
# Offense count:
36
# Offense count:
40
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles.
# Configuration parameters: SupportedStyles.
# SupportedStyles: use_perl_names, use_english_names
# SupportedStyles: use_perl_names, use_english_names
...
@@ -388,21 +400,28 @@ Style/SpecialGlobalVars:
...
@@ -388,21 +400,28 @@ Style/SpecialGlobalVars:
Style/StringLiteralsInInterpolation
:
Style/StringLiteralsInInterpolation
:
Enabled
:
false
Enabled
:
false
# Offense count:
24
# Offense count:
32
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
# Configuration parameters: IgnoredMethods.
# IgnoredMethods: respond_to, define_method
# IgnoredMethods: respond_to, define_method
Style/SymbolProc
:
Style/SymbolProc
:
Enabled
:
false
Enabled
:
false
# Offense count: 23
# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowSafeAssignment.
# SupportedStyles: require_parentheses, require_no_parentheses
Style/TernaryParentheses
:
Enabled
:
false
# Offense count: 24
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
# SupportedStyles: comma, consistent_comma, no_comma
# SupportedStyles: comma, consistent_comma, no_comma
Style/TrailingCommaInArguments
:
Style/TrailingCommaInArguments
:
Enabled
:
false
Enabled
:
false
# Offense count: 1
13
# Offense count: 1
02
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
# SupportedStyles: comma, consistent_comma, no_comma
# SupportedStyles: comma, consistent_comma, no_comma
...
@@ -415,7 +434,7 @@ Style/TrailingCommaInLiteral:
...
@@ -415,7 +434,7 @@ Style/TrailingCommaInLiteral:
Style/TrailingUnderscoreVariable
:
Style/TrailingUnderscoreVariable
:
Enabled
:
false
Enabled
:
false
# Offense count:
90
# Offense count:
76
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/TrailingWhitespace
:
Style/TrailingWhitespace
:
Enabled
:
false
Enabled
:
false
...
@@ -427,12 +446,12 @@ Style/TrailingWhitespace:
...
@@ -427,12 +446,12 @@ Style/TrailingWhitespace:
Style/TrivialAccessors
:
Style/TrivialAccessors
:
Enabled
:
false
Enabled
:
false
# Offense count:
3
# Offense count:
2
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/UnlessElse
:
Style/UnlessElse
:
Enabled
:
false
Enabled
:
false
# Offense count: 1
3
# Offense count: 1
4
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/UnneededInterpolation
:
Style/UnneededInterpolation
:
Enabled
:
false
Enabled
:
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment