Skip to content
Snippets Groups Projects
Commit 9de7eb57 authored by Robert Speicher's avatar Robert Speicher
Browse files

Merge branch '27884-disable-the-safenavigation-cop' into 'master'

Resolve "Consider enforcing the use of the new Ruby safe navigation operator (aka `&.`)"

Closes #27884

See merge request gitlab-org/gitlab-ce!21140
parents e733c446 e874fdba
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -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:
Loading
Loading
Loading
Loading
@@ -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:
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment