diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-02 19:30:09 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-02 19:30:09 -0800 |
commit | 4f1d1fc51baf396d49f6b159c84e15194706847c (patch) | |
tree | 3b4ff8c22e5eaa4276813d661b37192d3f538994 /.rubocop.yml | |
parent | 7dad2663a671be5cc70db63333dfe033984452d0 (diff) | |
download | gitlab-ce-4f1d1fc51baf396d49f6b159c84e15194706847c.tar.gz |
Convert hashes to ruby 1.9 style
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 6 |
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 |