summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Mazetto <gabriel@gitlab.com>2015-12-15 00:54:26 -0200
committerGabriel Mazetto <gabriel@gitlab.com>2015-12-15 00:54:26 -0200
commitf479ed306647bad84f3870f263f946646bb3f477 (patch)
tree49b61d439700d2a1cb48ef850ceb6e1a608211eb
parentb5291f95996743067bbec5a32f9c6cf0d34b36c7 (diff)
downloadgitlab-ce-f479ed306647bad84f3870f263f946646bb3f477.tar.gz
Disabled Rails/Date cop
-rw-r--r--.rubocop.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index e92f10a7917..89aa0591c31 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -979,6 +979,12 @@ Rails/ActionFilter:
Description: 'Enforces consistent use of action filter methods.'
Enabled: true
+Rails/Date:
+ Description: >-
+ Checks the correct usage of date aware methods,
+ such as Date.today, Date.current etc.
+ Enabled: false
+
Rails/DefaultScope:
Description: 'Checks if the argument passed to default_scope is a block.'
Enabled: false