summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-08-10 17:17:08 +0200
committerRémy Coutable <remy@rymai.me>2018-08-10 17:17:08 +0200
commite874fdbacc8f177603c5300c2abf3c16d76d38d1 (patch)
treeb6f3aa8f95f657432795691e45aa87dcc85c9989 /.rubocop.yml
parent9964b678110e97c492a8b2f77ab899252c05f10e (diff)
downloadgitlab-ce-e874fdbacc8f177603c5300c2abf3c16d76d38d1.tar.gz
Explicitly disable the Style/SafeNavigation cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index c8b1ce327e2..a586190319b 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -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: