summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-05-12 22:41:01 +0000
committerRobert Speicher <robert@gitlab.com>2016-05-12 22:41:01 +0000
commit4735a753407b364f7034cf4dbd6ae621b25396c2 (patch)
tree649e64a0cf21ff1d733ef7a0d9f4c358deafc207 /.rubocop.yml
parent5186f6e3bd541ffa13f9f907067c638790b9ebfe (diff)
parent9cc0937b3a41caca89fa6722149248a8f7b0a447 (diff)
downloadgitlab-ce-4735a753407b364f7034cf4dbd6ae621b25396c2.tar.gz
Merge branch 'deprecated-class-methods-cop' into 'master'
Enable the Rubocop DeprecatedClassMethods cop This reports uses of `File.exists?` and `Dir.exists?`, which were both deprecated in Ruby and will eventually be removed in favor of `.exist?`. Also fixes all existing uses of the deprecated methods. See merge request !4087
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index ccceea45963..3fb2f2df592 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -770,7 +770,7 @@ Lint/DefEndAlignment:
# Check for deprecated class method calls.
Lint/DeprecatedClassMethods:
- Enabled: false
+ Enabled: true
# Check for duplicate method definitions.
Lint/DuplicateMethods: