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
Boxiang Sun
gitlab-ce
Commits
378ad332
Commit
378ad332
authored
Feb 21, 2017
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable a few RSpec cops
parent
73382c2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
63 deletions
+27
-63
.rubocop.yml
.rubocop.yml
+27
-0
.rubocop_todo.yml
.rubocop_todo.yml
+0
-63
No files found.
.rubocop.yml
View file @
378ad332
...
...
@@ -861,3 +861,30 @@ RSpec/NotToNot:
# Prefer using verifying doubles over normal doubles.
RSpec/VerifiedDoubles
:
Enabled
:
false
RSpec/MultipleExpectations
:
Enabled
:
false
RSpec/NamedSubject
:
Enabled
:
false
RSpec/NestedGroups
:
Enabled
:
false
RSpec/LeadingSubject
:
Enabled
:
false
RSpec/LetSetup
:
Enabled
:
false
RSpec/MessageChain
:
Enabled
:
false
RSpec/MessageSpies
:
Enabled
:
false
RSpec/RepeatedDescription
:
Enabled
:
false
RSpec/SubjectStub
:
Enabled
:
false
.rubocop_todo.yml
View file @
378ad332
...
...
@@ -124,74 +124,11 @@ RSpec/ImplicitExpect:
-
'
spec/models/project_services/external_wiki_service_spec.rb'
-
'
spec/models/project_spec.rb'
# Offense count: 258
RSpec/LeadingSubject
:
Enabled
:
false
# Offense count: 281
RSpec/LetSetup
:
Enabled
:
false
# Offense count: 13
RSpec/MessageChain
:
Exclude
:
-
'
spec/finders/move_to_project_finder_spec.rb'
-
'
spec/helpers/issues_helper_spec.rb'
-
'
spec/initializers/secret_token_spec.rb'
-
'
spec/models/ci/build_spec.rb'
-
'
spec/requests/api/internal_spec.rb'
-
'
spec/services/ci/retry_build_service_spec.rb'
-
'
spec/services/ci/retry_pipeline_service_spec.rb'
-
'
spec/services/merge_requests/build_service_spec.rb'
-
'
spec/workers/emails_on_push_worker_spec.rb'
# Offense count: 505
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: have_received, receive
RSpec/MessageSpies
:
Enabled
:
false
# Offense count: 3625
RSpec/MultipleExpectations
:
Max
:
37
# Offense count: 2217
RSpec/NamedSubject
:
Enabled
:
false
# Offense count: 2126
# Configuration parameters: MaxNesting.
RSpec/NestedGroups
:
Enabled
:
false
# Offense count: 36
RSpec/RepeatedDescription
:
Exclude
:
-
'
spec/controllers/projects/todo_controller_spec.rb'
-
'
spec/features/boards/boards_spec.rb'
-
'
spec/helpers/issuables_helper_spec.rb'
-
'
spec/lib/banzai/filter/emoji_filter_spec.rb'
-
'
spec/models/commit_range_spec.rb'
-
'
spec/models/global_milestone_spec.rb'
-
'
spec/models/hooks/system_hook_spec.rb'
-
'
spec/requests/api/commits_spec.rb'
-
'
spec/requests/api/merge_requests_spec.rb'
-
'
spec/requests/api/milestones_spec.rb'
-
'
spec/requests/api/users_spec.rb'
-
'
spec/requests/api/v3/merge_requests_spec.rb'
-
'
spec/requests/lfs_http_spec.rb'
-
'
spec/routing/admin_routing_spec.rb'
-
'
spec/services/notification_service_spec.rb'
# Offense count: 1
RSpec/SingleArgumentMessageChain
:
Exclude
:
-
'
spec/requests/api/internal_spec.rb'
# Offense count: 140
RSpec/SubjectStub
:
Enabled
:
false
# Offense count: 126
# Cop supports --auto-correct.
# Configuration parameters: Whitelist.
...
...
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