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
68042f56
Commit
68042f56
authored
Dec 26, 2017
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Require our own custom cops; Remove missing cops
Also try to use the same config from EE
parent
bf6149a5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
.rubocop.yml
.rubocop.yml
+1
-0
rubocop/rubocop.rb
rubocop/rubocop.rb
+0
-3
No files found.
.rubocop.yml
View file @
68042f56
...
...
@@ -3,6 +3,7 @@ inherit_gem:
-
rubocop-default.yml
inherit_from
:
.rubocop_todo.yml
require
:
./rubocop/rubocop
AllCops
:
TargetRailsVersion
:
4.2
...
...
rubocop/rubocop.rb
View file @
68042f56
require_relative
'cop/active_record_dependent'
require_relative
'cop/gitlab/module_with_instance_variables'
require_relative
'cop/include_sidekiq_worker'
require_relative
'cop/migration/add_column'
...
...
@@ -18,6 +17,4 @@ require_relative 'cop/migration/update_column_in_batches'
require_relative
'cop/migration/update_large_table'
require_relative
'cop/project_path_helper'
require_relative
'cop/rspec/env_assignment'
require_relative
'cop/rspec/single_line_hook'
require_relative
'cop/rspec/verbose_include_metadata'
require_relative
'cop/sidekiq_options_queue'
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