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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
368e38ba
Commit
368e38ba
authored
May 04, 2019
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Rubocop rules
parent
695da3a3
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 @
368e38ba
# This configuration was generated by
# `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
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
...
...
@@ -10,14 +10,14 @@
Capybara/CurrentPathExpectation
:
Enabled
:
false
# Offense count: 109
6
# Offense count: 109
7
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: with_first_argument, with_fixed_indentation
Layout/AlignArguments
:
Enabled
:
false
# Offense count: 82
2
# Offense count: 82
4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
# SupportedHashRocketStyles: key, separator, table
...
...
@@ -81,14 +81,14 @@ Layout/EmptyLinesAroundArguments:
-
'
lib/banzai/pipeline/single_line_pipeline.rb'
-
'
spec/features/markdown/copy_as_gfm_spec.rb'
# Offense count: 1
58
# Offense count: 1
60
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
Layout/IndentFirstArrayElement
:
Enabled
:
false
# Offense count: 6
29
# Offense count: 6
31
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_braces
...
...
@@ -117,7 +117,7 @@ Layout/LeadingBlankLines:
-
'
lib/tasks/yarn.rake'
-
'
spec/javascripts/fixtures/merge_requests_diffs.rb'
# Offense count:
28
# Offense count:
30
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: aligned, indented
...
...
@@ -148,7 +148,7 @@ Layout/RescueEnsureAlignment:
Layout/SpaceInLambdaLiteral
:
Enabled
:
false
# Offense count: 5
78
# Offense count: 5
83
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
# SupportedStyles: space, no_space
...
...
@@ -156,7 +156,7 @@ Layout/SpaceInLambdaLiteral:
Layout/SpaceInsideBlockBraces
:
Enabled
:
false
# Offense count: 25
2
# Offense count: 25
5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space
...
...
@@ -256,7 +256,7 @@ Naming/HeredocDelimiterCase:
Naming/HeredocDelimiterNaming
:
Enabled
:
false
# Offense count: 12
1
# Offense count: 12
5
# Cop supports --auto-correct.
# Configuration parameters: PreferredName.
Naming/RescuedExceptionsVariableName
:
...
...
@@ -281,7 +281,7 @@ Performance/ReverseEach:
-
'
db/migrate/20190222051615_add_indexes_for_merge_request_diffs_query.rb'
-
'
lib/gitlab/profiler.rb'
# Offense count: 70
50
# Offense count: 70
81
# Configuration parameters: Prefixes.
# Prefixes: when, with, without
RSpec/ContextWording
:
...
...
@@ -354,14 +354,14 @@ RSpec/OverwritingSetup:
-
'
spec/services/merge_requests/add_todo_when_build_fails_service_spec.rb'
-
'
spec/services/notes/quick_actions_service_spec.rb'
# Offense count: 182
5
# Offense count: 182
8
# Cop supports --auto-correct.
# Configuration parameters: Strict, EnforcedStyle.
# SupportedStyles: inflected, explicit
RSpec/PredicateMatcher
:
Enabled
:
false
# Offense count: 5
5
# Offense count: 5
7
RSpec/RepeatedExample
:
Enabled
:
false
...
...
@@ -604,7 +604,7 @@ Style/EvalWithLocation:
Style/FormatString
:
Enabled
:
false
# Offense count: 66
7
# Offense count: 66
9
# Configuration parameters: MinBodyLength.
Style/GuardClause
:
Enabled
:
false
...
...
@@ -613,12 +613,12 @@ Style/GuardClause:
Style/IfInsideElse
:
Enabled
:
false
# Offense count: 134
4
# Offense count: 134
6
# Cop supports --auto-correct.
Style/IfUnlessModifier
:
Enabled
:
false
# Offense count: 18
3
# Offense count: 18
6
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: line_count_dependent, lambda, literal
...
...
@@ -650,7 +650,7 @@ Style/MixinUsage:
-
'
spec/lib/gitlab/import_export/project_tree_restorer_spec.rb'
-
'
spec/lib/gitlab/import_export/version_checker_spec.rb'
# Offense count:
5
# Offense count:
4
# Cop supports --auto-correct.
Style/MultilineIfModifier
:
Exclude
:
...
...
@@ -658,7 +658,6 @@ Style/MultilineIfModifier:
-
'
app/models/project_wiki.rb'
-
'
app/services/ci/process_pipeline_service.rb'
-
'
lib/api/commit_statuses.rb'
-
'
lib/gitlab/ci/trace.rb'
# Offense count: 72
# Cop supports --auto-correct.
...
...
@@ -688,7 +687,7 @@ Style/Next:
Style/NumericLiteralPrefix
:
Enabled
:
false
# Offense count: 18
5
# Offense count: 18
6
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
# SupportedStyles: predicate, comparison
...
...
@@ -707,7 +706,7 @@ Style/OrAssignment:
Style/ParallelAssignment
:
Enabled
:
false
# Offense count: 13
83
# Offense count: 13
90
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters
:
...
...
@@ -770,7 +769,7 @@ Style/RedundantReturn:
-
'
lib/gitlab/utils.rb'
-
'
lib/google_api/auth.rb'
# Offense count: 70
1
# Offense count: 70
0
# Cop supports --auto-correct.
Style/RedundantSelf
:
Enabled
:
false
...
...
@@ -896,7 +895,7 @@ Style/UnneededCondition:
-
'
lib/gitlab/prometheus_client.rb'
-
'
spec/lib/rspec_flaky/flaky_example_spec.rb'
# Offense count: 7
1
# Offense count: 7
3
# 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