summaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-12-17 13:10:22 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-12-17 13:10:22 +0000
commitc18f92eeb6e47de99e1a6e5ce193cda5afe3aa62 (patch)
treeca122d063dea2e4cb5c115b9ea20400799827197 /.rubocop.yml
parent783ade73d773e45c621cae9009378d4cc2650623 (diff)
downloadredmine-c18f92eeb6e47de99e1a6e5ce193cda5afe3aa62.tar.gz
redmine-c18f92eeb6e47de99e1a6e5ce193cda5afe3aa62.zip
add Style/Lambda to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@20658 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml4
1 files changed, 4 insertions, 0 deletions
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