Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-22 21:43:48 +0300
committerDouwe Maan <douwe@selenight.nl>2017-02-23 18:32:42 +0300
commitba0d27fe940fc120774c331492a849684ff1f9ad (patch)
tree10e5b84b1eabe8f1fae6c85ef2502e65f8c73443 /.rubocop.yml
parentec5a74ecfa4cf5f8a6b3b66526d614d71b192105 (diff)
Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 4515bc431f1..77c4d2c3ea1 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -630,10 +630,6 @@ Lint/EndInMethod:
Lint/EnsureReturn:
Enabled: true
-# The use of eval represents a serious security risk.
-Lint/Eval:
- Enabled: true
-
# Catches floating-point literals too large or small for Ruby to represent.
Lint/FloatOutOfRange:
Enabled: true
@@ -810,6 +806,10 @@ Performance/TimesMap:
Security/JSONLoad:
Enabled: true
+# This cop checks for the use of *Kernel#eval*.
+Security/Eval:
+ Enabled: true
+
# Rails #######################################################################
# Enables Rails cops.