Explicitly disable the Style/SafeNavigation cop

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2018-08-10 17:17:08 +02:00
parent 9964b67811
commit e874fdbacc
No known key found for this signature in database
GPG Key ID: 98DFFD1C0C62B70B
2 changed files with 4 additions and 6 deletions

View File

@ -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:

View File

@ -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: