diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-22 12:43:48 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 09:32:42 -0600 |
commit | ba0d27fe940fc120774c331492a849684ff1f9ad (patch) | |
tree | 10e5b84b1eabe8f1fae6c85ef2502e65f8c73443 /.rubocop.yml | |
parent | ec5a74ecfa4cf5f8a6b3b66526d614d71b192105 (diff) | |
download | gitlab-ce-ba0d27fe940fc120774c331492a849684ff1f9ad.tar.gz |
Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 8 |
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. |