Skip to content

Commit 4a45e3c

Browse files
committed
Disable Lint/Void as it triggers incorrectly
* The return value of #initialize and #[]= can be observed by user programs.
1 parent ae783df commit 4a45e3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ Lint/UselessSetterCall:
329329

330330
Lint/Void:
331331
Description: Possible use of operator/literal/variable in void context.
332-
Enabled: true
332+
Enabled: false # Triggers for any return value for #initialize and #[]=
333333

334334
#################### Style ###########################
335335

0 commit comments

Comments
 (0)