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
Jérome Perrin
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
# `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
# 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: 15
4
# Offense count: 15
8
Lint/AmbiguousRegexpLiteral
:
Enabled
:
false
# Offense count: 4
3
# Offense count: 4
1
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition
:
Enabled
:
false
# Offense count: 1
4
# Offense count: 1
6
Lint/HandleExceptions
:
Enabled
:
false
...
...
@@ -23,28 +23,28 @@ Lint/HandleExceptions:
Lint/Loop
:
Enabled
:
false
# Offense count: 1
5
# Offense count: 1
6
Lint/ShadowingOuterLocalVariable
:
Enabled
:
false
# Offense count:
3
# Offense count:
6
# Cop supports --auto-correct.
Lint/StringConversionInInterpolation
:
Enabled
:
false
# Offense count: 4
4
# Offense count: 4
9
# Cop supports --auto-correct.
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
Lint/UnusedBlockArgument
:
Enabled
:
false
# Offense count: 1
29
# Offense count: 1
44
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
Lint/UnusedMethodArgument
:
Enabled
:
false
# Offense count:
12
# Offense count:
9
# Cop supports --auto-correct.
Performance/PushSplat
:
Enabled
:
false
...
...
@@ -59,51 +59,51 @@ Performance/RedundantBlockCall:
Performance/RedundantMatch
:
Enabled
:
false
# Offense count: 2
4
# Offense count: 2
7
# Cop supports --auto-correct.
# Configuration parameters: MaxKeyValuePairs.
Performance/RedundantMerge
:
Enabled
:
false
# Offense count: 6
0
# Offense count: 6
1
Rails/OutputSafety
:
Enabled
:
false
# Offense count: 12
8
# Offense count: 12
9
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: strict, flexible
Rails/TimeZone
:
Enabled
:
false
# Offense count: 1
2
# Offense count: 1
5
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/Validation
:
Enabled
:
false
# Offense count: 2
17
# Offense count: 2
73
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: with_first_parameter, with_fixed_indentation
Style/AlignParameters
:
Enabled
:
false
# Offense count: 3
2
# Offense count: 3
0
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: always, conditionals
Style/AndOr
:
Enabled
:
false
# Offense count:
47
# Offense count:
50
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: percent_q, bare_percent
Style/BarePercentLiterals
:
Enabled
:
false
# Offense count: 2
58
# Offense count: 2
89
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: braces, no_braces, context_dependent
...
...
@@ -126,14 +126,14 @@ Style/ColonMethodCall:
Style/CommentAnnotation
:
Enabled
:
false
# Offense count: 3
4
# Offense count: 3
3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment
:
Enabled
:
false
# Offense count:
789
# Offense count:
881
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: leading, trailing
...
...
@@ -144,11 +144,12 @@ Style/DotPosition:
Style/DoubleNegation
:
Enabled
:
false
# Offense count: 3
# Offense count: 4
# Cop supports --auto-correct.
Style/EachWithObject
:
Enabled
:
false
# Offense count:
30
# Offense count:
25
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: empty, nil, both
...
...
@@ -160,7 +161,7 @@ Style/EmptyElse:
Style/EmptyLiteral
:
Enabled
:
false
# Offense count: 1
23
# Offense count: 1
35
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
Style/ExtraSpacing
:
...
...
@@ -172,16 +173,16 @@ Style/ExtraSpacing:
Style/FormatString
:
Enabled
:
false
# Offense count:
48
# Offense count:
51
# Configuration parameters: MinBodyLength.
Style/GuardClause
:
Enabled
:
false
# Offense count:
11
# Offense count:
9
Style/IfInsideElse
:
Enabled
:
false
# Offense count: 17
7
# Offense count: 17
4
# Cop supports --auto-correct.
# Configuration parameters: MaxLineLength.
Style/IfUnlessModifier
:
...
...
@@ -194,7 +195,7 @@ Style/IfUnlessModifier:
Style/IndentArray
:
Enabled
:
false
# Offense count:
89
# Offense count:
97
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_braces
...
...
@@ -208,7 +209,7 @@ Style/IndentHash:
Style/Lambda
:
Enabled
:
false
# Offense count:
6
# Offense count:
5
# Cop supports --auto-correct.
Style/LineEndConcatenation
:
Enabled
:
false
...
...
@@ -218,17 +219,21 @@ Style/LineEndConcatenation:
Style/MethodCallParentheses
:
Enabled
:
false
# Offense count: 62
# Offense count: 8
Style/MethodMissing
:
Enabled
:
false
# Offense count: 85
# Cop supports --auto-correct.
Style/MutableConstant
:
Enabled
:
false
# Offense count:
10
# Offense count:
8
# Cop supports --auto-correct.
Style/NestedParenthesizedCalls
:
Enabled
:
false
# Offense count: 1
2
# Offense count: 1
3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
# SupportedStyles: skip_modifier_ifs, always
...
...
@@ -242,12 +247,19 @@ Style/Next:
Style/NumericLiteralPrefix
:
Enabled
:
false
# Offense count: 64
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: predicate, comparison
Style/NumericPredicate
:
Enabled
:
false
# Offense count: 29
# Cop supports --auto-correct.
Style/ParallelAssignment
:
Enabled
:
false
# Offense count: 2
08
# Offense count: 2
64
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters
:
...
...
@@ -265,7 +277,7 @@ Style/PercentQLiterals:
Style/PerlBackrefs
:
Enabled
:
false
# Offense count: 3
2
# Offense count: 3
5
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
...
...
@@ -273,7 +285,7 @@ Style/PerlBackrefs:
Style/PredicateName
:
Enabled
:
false
# Offense count: 2
8
# Offense count: 2
7
# Cop supports --auto-correct.
Style/PreferredHashMethods
:
Enabled
:
false
...
...
@@ -283,14 +295,14 @@ Style/PreferredHashMethods:
Style/Proc
:
Enabled
:
false
# Offense count: 2
0
# Offense count: 2
2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: compact, exploded
Style/RaiseArgs
:
Enabled
:
false
# Offense count:
3
# Offense count:
4
# Cop supports --auto-correct.
Style/RedundantBegin
:
Enabled
:
false
...
...
@@ -300,29 +312,29 @@ Style/RedundantBegin:
Style/RedundantException
:
Enabled
:
false
# Offense count: 2
3
# Offense count: 2
4
# Cop supports --auto-correct.
Style/RedundantFreeze
:
Enabled
:
false
# Offense count:
377
# Offense count:
408
# Cop supports --auto-correct.
Style/RedundantSelf
:
Enabled
:
false
# Offense count: 9
4
# Offense count: 9
3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral
:
Enabled
:
false
# Offense count: 1
7
# Offense count: 1
8
# Cop supports --auto-correct.
Style/RescueModifier
:
Enabled
:
false
# Offense count:
2
# Offense count:
5
# Cop supports --auto-correct.
Style/SelfAssignment
:
Enabled
:
false
...
...
@@ -339,42 +351,42 @@ Style/SingleLineBlockParams:
Style/SingleLineMethods
:
Enabled
:
false
# Offense count: 1
19
# Offense count: 1
24
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: space, no_space
Style/SpaceBeforeBlockBraces
:
Enabled
:
false
# Offense count: 1
1
# Offense count: 1
0
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment.
Style/SpaceBeforeFirstArg
:
Enabled
:
false
# Offense count: 1
30
# Offense count: 1
41
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
# SupportedStyles: space, no_space
Style/SpaceInsideBlockBraces
:
Enabled
:
false
# Offense count: 9
8
# Offense count: 9
6
# Cop supports --auto-correct.
Style/SpaceInsideBrackets
:
Enabled
:
false
# Offense count: 6
0
# Offense count: 6
2
# Cop supports --auto-correct.
Style/SpaceInsideParens
:
Enabled
:
false
# Offense count:
5
# Offense count:
7
# Cop supports --auto-correct.
Style/SpaceInsidePercentLiteralDelimiters
:
Enabled
:
false
# Offense count:
36
# Offense count:
40
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles.
# SupportedStyles: use_perl_names, use_english_names
...
...
@@ -388,21 +400,28 @@ Style/SpecialGlobalVars:
Style/StringLiteralsInInterpolation
:
Enabled
:
false
# Offense count:
24
# Offense count:
32
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
# IgnoredMethods: respond_to, define_method
Style/SymbolProc
:
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.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
# SupportedStyles: comma, consistent_comma, no_comma
Style/TrailingCommaInArguments
:
Enabled
:
false
# Offense count: 1
13
# Offense count: 1
02
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
# SupportedStyles: comma, consistent_comma, no_comma
...
...
@@ -415,7 +434,7 @@ Style/TrailingCommaInLiteral:
Style/TrailingUnderscoreVariable
:
Enabled
:
false
# Offense count:
90
# Offense count:
76
# Cop supports --auto-correct.
Style/TrailingWhitespace
:
Enabled
:
false
...
...
@@ -427,12 +446,12 @@ Style/TrailingWhitespace:
Style/TrivialAccessors
:
Enabled
:
false
# Offense count:
3
# Offense count:
2
# Cop supports --auto-correct.
Style/UnlessElse
:
Enabled
:
false
# Offense count: 1
3
# Offense count: 1
4
# Cop supports --auto-correct.
Style/UnneededInterpolation
:
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