summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 19:30:09 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 19:30:09 -0800
commit4f1d1fc51baf396d49f6b159c84e15194706847c (patch)
tree3b4ff8c22e5eaa4276813d661b37192d3f538994 /.rubocop.yml
parent7dad2663a671be5cc70db63333dfe033984452d0 (diff)
downloadgitlab-ce-4f1d1fc51baf396d49f6b159c84e15194706847c.tar.gz
Convert hashes to ruby 1.9 style
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 8f54d5d3765..807527e8d4b 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -267,7 +267,7 @@ Style/HashSyntax:
Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax
{ :a => 1, :b => 2 }.
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#hash-literals'
- Enabled: false
+ Enabled: true
Style/IfUnlessModifier:
Description: >-
@@ -817,10 +817,6 @@ Lint/DeprecatedClassMethods:
Description: 'Check for deprecated class method calls.'
Enabled: false
-Lint/DuplicateMethods:
- Description: 'Check for duplicate methods calls.'
- Enabled: false
-
Lint/ElseLayout:
Description: 'Check for odd code arrangement in an else block.'
Enabled: false