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
525a9f92
Commit
525a9f92
authored
May 05, 2019
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .rubocop_todo.yml
parent
17db4bf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
21 deletions
+20
-21
.rubocop_todo.yml
.rubocop_todo.yml
+20
-21
No files found.
.rubocop_todo.yml
View file @
525a9f92
# This configuration was generated by
# This configuration was generated by
# `rubocop --auto-gen-config`
# `rubocop --auto-gen-config`
# on 2019-05-04
06:02:16
+0000 using RuboCop version 0.68.1.
# on 2019-05-04
16:01:00
+0000 using RuboCop version 0.68.1.
# 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
...
@@ -10,14 +10,14 @@
...
@@ -10,14 +10,14 @@
Capybara/CurrentPathExpectation
:
Capybara/CurrentPathExpectation
:
Enabled
:
false
Enabled
:
false
# Offense count: 109
6
# Offense count: 109
7
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: with_first_argument, with_fixed_indentation
# SupportedStyles: with_first_argument, with_fixed_indentation
Layout/AlignArguments
:
Layout/AlignArguments
:
Enabled
:
false
Enabled
:
false
# Offense count: 82
2
# Offense count: 82
4
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
# SupportedHashRocketStyles: key, separator, table
# SupportedHashRocketStyles: key, separator, table
...
@@ -81,14 +81,14 @@ Layout/EmptyLinesAroundArguments:
...
@@ -81,14 +81,14 @@ Layout/EmptyLinesAroundArguments:
-
'
lib/banzai/pipeline/single_line_pipeline.rb'
-
'
lib/banzai/pipeline/single_line_pipeline.rb'
-
'
spec/features/markdown/copy_as_gfm_spec.rb'
-
'
spec/features/markdown/copy_as_gfm_spec.rb'
# Offense count: 1
58
# Offense count: 1
60
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
Layout/IndentFirstArrayElement
:
Layout/IndentFirstArrayElement
:
Enabled
:
false
Enabled
:
false
# Offense count: 6
29
# Offense count: 6
31
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_braces
# SupportedStyles: special_inside_parentheses, consistent, align_braces
...
@@ -117,7 +117,7 @@ Layout/LeadingBlankLines:
...
@@ -117,7 +117,7 @@ Layout/LeadingBlankLines:
-
'
lib/tasks/yarn.rake'
-
'
lib/tasks/yarn.rake'
-
'
spec/javascripts/fixtures/merge_requests_diffs.rb'
-
'
spec/javascripts/fixtures/merge_requests_diffs.rb'
# Offense count:
28
# Offense count:
30
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: aligned, indented
# SupportedStyles: aligned, indented
...
@@ -148,7 +148,7 @@ Layout/RescueEnsureAlignment:
...
@@ -148,7 +148,7 @@ Layout/RescueEnsureAlignment:
Layout/SpaceInLambdaLiteral
:
Layout/SpaceInLambdaLiteral
:
Enabled
:
false
Enabled
:
false
# Offense count: 5
78
# Offense count: 5
83
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
# SupportedStyles: space, no_space
# SupportedStyles: space, no_space
...
@@ -156,7 +156,7 @@ Layout/SpaceInLambdaLiteral:
...
@@ -156,7 +156,7 @@ Layout/SpaceInLambdaLiteral:
Layout/SpaceInsideBlockBraces
:
Layout/SpaceInsideBlockBraces
:
Enabled
:
false
Enabled
:
false
# Offense count: 25
2
# Offense count: 25
5
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space
# SupportedStyles: space, no_space
...
@@ -256,7 +256,7 @@ Naming/HeredocDelimiterCase:
...
@@ -256,7 +256,7 @@ Naming/HeredocDelimiterCase:
Naming/HeredocDelimiterNaming
:
Naming/HeredocDelimiterNaming
:
Enabled
:
false
Enabled
:
false
# Offense count: 12
1
# Offense count: 12
5
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: PreferredName.
# Configuration parameters: PreferredName.
Naming/RescuedExceptionsVariableName
:
Naming/RescuedExceptionsVariableName
:
...
@@ -281,7 +281,7 @@ Performance/ReverseEach:
...
@@ -281,7 +281,7 @@ Performance/ReverseEach:
-
'
db/migrate/20190222051615_add_indexes_for_merge_request_diffs_query.rb'
-
'
db/migrate/20190222051615_add_indexes_for_merge_request_diffs_query.rb'
-
'
lib/gitlab/profiler.rb'
-
'
lib/gitlab/profiler.rb'
# Offense count: 70
50
# Offense count: 70
81
# Configuration parameters: Prefixes.
# Configuration parameters: Prefixes.
# Prefixes: when, with, without
# Prefixes: when, with, without
RSpec/ContextWording
:
RSpec/ContextWording
:
...
@@ -354,14 +354,14 @@ RSpec/OverwritingSetup:
...
@@ -354,14 +354,14 @@ RSpec/OverwritingSetup:
-
'
spec/services/merge_requests/add_todo_when_build_fails_service_spec.rb'
-
'
spec/services/merge_requests/add_todo_when_build_fails_service_spec.rb'
-
'
spec/services/notes/quick_actions_service_spec.rb'
-
'
spec/services/notes/quick_actions_service_spec.rb'
# Offense count: 182
5
# Offense count: 182
8
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: Strict, EnforcedStyle.
# Configuration parameters: Strict, EnforcedStyle.
# SupportedStyles: inflected, explicit
# SupportedStyles: inflected, explicit
RSpec/PredicateMatcher
:
RSpec/PredicateMatcher
:
Enabled
:
false
Enabled
:
false
# Offense count: 5
5
# Offense count: 5
7
RSpec/RepeatedExample
:
RSpec/RepeatedExample
:
Enabled
:
false
Enabled
:
false
...
@@ -604,7 +604,7 @@ Style/EvalWithLocation:
...
@@ -604,7 +604,7 @@ Style/EvalWithLocation:
Style/FormatString
:
Style/FormatString
:
Enabled
:
false
Enabled
:
false
# Offense count: 66
7
# Offense count: 66
9
# Configuration parameters: MinBodyLength.
# Configuration parameters: MinBodyLength.
Style/GuardClause
:
Style/GuardClause
:
Enabled
:
false
Enabled
:
false
...
@@ -613,12 +613,12 @@ Style/GuardClause:
...
@@ -613,12 +613,12 @@ Style/GuardClause:
Style/IfInsideElse
:
Style/IfInsideElse
:
Enabled
:
false
Enabled
:
false
# Offense count: 134
4
# Offense count: 134
6
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/IfUnlessModifier
:
Style/IfUnlessModifier
:
Enabled
:
false
Enabled
:
false
# Offense count: 18
3
# Offense count: 18
6
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: line_count_dependent, lambda, literal
# SupportedStyles: line_count_dependent, lambda, literal
...
@@ -650,7 +650,7 @@ Style/MixinUsage:
...
@@ -650,7 +650,7 @@ Style/MixinUsage:
-
'
spec/lib/gitlab/import_export/project_tree_restorer_spec.rb'
-
'
spec/lib/gitlab/import_export/project_tree_restorer_spec.rb'
-
'
spec/lib/gitlab/import_export/version_checker_spec.rb'
-
'
spec/lib/gitlab/import_export/version_checker_spec.rb'
# Offense count:
5
# Offense count:
4
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/MultilineIfModifier
:
Style/MultilineIfModifier
:
Exclude
:
Exclude
:
...
@@ -658,7 +658,6 @@ Style/MultilineIfModifier:
...
@@ -658,7 +658,6 @@ Style/MultilineIfModifier:
-
'
app/models/project_wiki.rb'
-
'
app/models/project_wiki.rb'
-
'
app/services/ci/process_pipeline_service.rb'
-
'
app/services/ci/process_pipeline_service.rb'
-
'
lib/api/commit_statuses.rb'
-
'
lib/api/commit_statuses.rb'
-
'
lib/gitlab/ci/trace.rb'
# Offense count: 72
# Offense count: 72
# Cop supports --auto-correct.
# Cop supports --auto-correct.
...
@@ -688,7 +687,7 @@ Style/Next:
...
@@ -688,7 +687,7 @@ Style/Next:
Style/NumericLiteralPrefix
:
Style/NumericLiteralPrefix
:
Enabled
:
false
Enabled
:
false
# Offense count: 18
5
# Offense count: 18
6
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
# SupportedStyles: predicate, comparison
# SupportedStyles: predicate, comparison
...
@@ -707,7 +706,7 @@ Style/OrAssignment:
...
@@ -707,7 +706,7 @@ Style/OrAssignment:
Style/ParallelAssignment
:
Style/ParallelAssignment
:
Enabled
:
false
Enabled
:
false
# Offense count: 13
83
# Offense count: 13
90
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters
:
Style/PercentLiteralDelimiters
:
...
@@ -770,7 +769,7 @@ Style/RedundantReturn:
...
@@ -770,7 +769,7 @@ Style/RedundantReturn:
-
'
lib/gitlab/utils.rb'
-
'
lib/gitlab/utils.rb'
-
'
lib/google_api/auth.rb'
-
'
lib/google_api/auth.rb'
# Offense count: 70
1
# Offense count: 70
0
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Style/RedundantSelf
:
Style/RedundantSelf
:
Enabled
:
false
Enabled
:
false
...
@@ -896,7 +895,7 @@ Style/UnneededCondition:
...
@@ -896,7 +895,7 @@ Style/UnneededCondition:
-
'
lib/gitlab/prometheus_client.rb'
-
'
lib/gitlab/prometheus_client.rb'
-
'
spec/lib/rspec_flaky/flaky_example_spec.rb'
-
'
spec/lib/rspec_flaky/flaky_example_spec.rb'
# Offense count: 7
1
# Offense count: 7
3
# 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