From: Toshi MARUYAMA Date: Thu, 17 Dec 2020 13:10:40 +0000 (+0000) Subject: add Layout/FirstHashElementIndentation to .rubocop.yml X-Git-Tag: 4.2.0~159 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bfca89519f375bd1d9621ef49d5ef416e200ca69;p=redmine.git add Layout/FirstHashElementIndentation to .rubocop.yml git-svn-id: http://svn.redmine.org/redmine/trunk@20660 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop.yml b/.rubocop.yml index ac3a5d9a1..11469004f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -49,6 +49,11 @@ Layout/EmptyLinesAroundAccessModifier: Layout/EmptyLineBetweenDefs: AllowAdjacentOneLineDefs: true +Layout/FirstHashElementIndentation: + Enabled: true + Exclude: + - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' + Layout/LineLength: Enabled: true IgnoredPatterns: ['\A\s+test \".+\" do\z', '\A\s*\#']