]> source.dussan.org Git - redmine.git/commitdiff
add Layout/FirstHashElementIndentation to .rubocop.yml
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 17 Dec 2020 13:10:40 +0000 (13:10 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 17 Dec 2020 13:10:40 +0000 (13:10 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20660 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop.yml

index ac3a5d9a18b9ccdd4a57122424bcd8d0408aa801..11469004fd021619f3c4651df31c4635248c9b26 100644 (file)
@@ -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*\#']