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
6a124219
Commit
6a124219
authored
Jan 05, 2021
by
Peter Leitzen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Rubocop TODO Lint/NonDeterministicRequireOrder
parent
5fa60a22
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
.rubocop_todo.yml
.rubocop_todo.yml
+0
-6
rubocop/rubocop.rb
rubocop/rubocop.rb
+1
-1
No files found.
.rubocop_todo.yml
View file @
6a124219
...
...
@@ -166,12 +166,6 @@ Lint/MixedRegexpCaptureTypes:
-
'
lib/gitlab/slash_commands/issue_new.rb'
-
'
lib/gitlab/slash_commands/run.rb'
# Offense count: 1
# Cop supports --auto-correct.
Lint/NonDeterministicRequireOrder
:
Exclude
:
-
'
rubocop/rubocop.rb'
# Offense count: 135
# Cop supports --auto-correct.
Lint/RedundantCopDisableDirective
:
...
...
rubocop/rubocop.rb
View file @
6a124219
# frozen_string_literal: true
# Auto-require all cops under `rubocop/cop/**/*.rb`
Dir
[
File
.
join
(
__dir__
,
'cop'
,
'**'
,
'*.rb'
)].
each
(
&
method
(
:require
))
Dir
[
File
.
join
(
__dir__
,
'cop'
,
'**'
,
'*.rb'
)].
sort
.
each
(
&
method
(
:require
))
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