Skip to content

Commit a2a6290

Browse files
committed
Enable Lint/EnsureReturn cop
Follow up of rails/rails#44343.
1 parent f2561f7 commit a2a6290

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ Lint/DuplicateMethods:
186186
Lint/ErbNewArguments:
187187
Enabled: true
188188

189+
Lint/EnsureReturn:
190+
Enabled: true
191+
189192
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
190193
Lint/RequireParentheses:
191194
Enabled: true

0 commit comments

Comments
 (0)