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
e874fdba
Commit
e874fdba
authored
Aug 10, 2018
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explicitly disable the Style/SafeNavigation cop
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
9964b678
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
.rubocop.yml
.rubocop.yml
+4
-0
.rubocop_todo.yml
.rubocop_todo.yml
+0
-6
No files found.
.rubocop.yml
View file @
e874fdba
...
...
@@ -31,6 +31,10 @@ Style/MutableConstant:
-
'
ee/db/post_migrate/**/*'
-
'
ee/db/geo/migrate/**/*'
# TODO: Move this to gitlab-styles
Style/SafeNavigation
:
Enabled
:
false
Naming/FileName
:
ExpectMatchingDefinition
:
true
Exclude
:
...
...
.rubocop_todo.yml
View file @
e874fdba
...
...
@@ -706,12 +706,6 @@ Style/RescueModifier:
Style/RescueStandardError
:
Enabled
:
false
# Offense count: 92
# Cop supports --auto-correct.
# Configuration parameters: ConvertCodeThatCanStartToReturnNil.
Style/SafeNavigation
:
Enabled
:
false
# Offense count: 8
# Cop supports --auto-correct.
Style/SelfAssignment
:
...
...
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