summaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-12-17 13:10:40 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-12-17 13:10:40 +0000
commitbfca89519f375bd1d9621ef49d5ef416e200ca69 (patch)
treede08afca6a8fdd2225e90d8847759ef0b873e3d2 /.rubocop.yml
parent2edd00b3b70e80d770de56724725c839f7c85697 (diff)
downloadredmine-bfca89519f375bd1d9621ef49d5ef416e200ca69.tar.gz
redmine-bfca89519f375bd1d9621ef49d5ef416e200ca69.zip
add Layout/FirstHashElementIndentation to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@20660 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml5
1 files changed, 5 insertions, 0 deletions
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*\#']