diff options
author | Gabriel Mazetto <gabriel@gitlab.com> | 2015-12-15 00:54:26 -0200 |
---|---|---|
committer | Gabriel Mazetto <gabriel@gitlab.com> | 2015-12-15 00:54:26 -0200 |
commit | f479ed306647bad84f3870f263f946646bb3f477 (patch) | |
tree | 49b61d439700d2a1cb48ef850ceb6e1a608211eb /.rubocop.yml | |
parent | b5291f95996743067bbec5a32f9c6cf0d34b36c7 (diff) | |
download | gitlab-ce-f479ed306647bad84f3870f263f946646bb3f477.tar.gz |
Disabled Rails/Date cop
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 6 |
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 |