From 8db904c4011d335676b1d0a2c2b89a0d111c2b05 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 20 Nov 2019 17:05:35 +0000 Subject: rubocop: use "EnforcedStyle: empty" for Style/EmptyElse git-svn-id: http://svn.redmine.org/redmine/trunk@19108 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.rubocop.yml') diff --git a/.rubocop.yml b/.rubocop.yml index 6394a8fe0..5786dfc09 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -80,6 +80,9 @@ Style/AsciiComments: # We can not change nor remove it. - 'app/models/repository/git.rb' +Style/EmptyElse: + EnforcedStyle: empty + Style/FormatStringToken: Enabled: false -- cgit v1.2.3