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

.rubocop.yml

index 59092951ff5c6f67a2aa75aef865838bd8f8ad5a..ac3a5d9a18b9ccdd4a57122424bcd8d0408aa801 100644 (file)
@@ -185,6 +185,10 @@ Style/IdenticalConditionalBranches:
     - 'config/initializers/10-patches.rb'
     - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
 
+Style/Lambda:
+  Enabled: true
+  EnforcedStyle: lambda
+
 Style/NegatedIfElseCondition:
   Enabled: false