Skip to content

Commit c18f92e

Browse files
committed
add Style/Lambda to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@20658 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent 783ade7 commit c18f92e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,10 @@ Style/IdenticalConditionalBranches:
185185
- 'config/initializers/10-patches.rb'
186186
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
187187

188+
Style/Lambda:
189+
Enabled: true
190+
EnforcedStyle: lambda
191+
188192
Style/NegatedIfElseCondition:
189193
Enabled: false
190194

0 commit comments

Comments
 (0)