Explicitly disable the Style/SafeNavigation cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
9964b67811
commit
e874fdbacc
2 changed files with 4 additions and 6 deletions
|
@ -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:
|
||||
|
|
|
@ -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…
Reference in a new issue