From: Toshi MARUYAMA Date: Thu, 17 Dec 2020 13:10:22 +0000 (+0000) Subject: add Style/Lambda to .rubocop.yml X-Git-Tag: 4.2.0~161 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c18f92eeb6e47de99e1a6e5ce193cda5afe3aa62;p=redmine.git add Style/Lambda to .rubocop.yml git-svn-id: http://svn.redmine.org/redmine/trunk@20658 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop.yml b/.rubocop.yml index 59092951f..ac3a5d9a1 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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