Skip to content

Commit 987a16e

Browse files
committed
Explicitly disable offending cop
There's some bug with Rubocop that even though `on` is specified as allowed parameter name, rubocop still complains
1 parent 4f143ad commit 987a16e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin/app/helpers/solidus_admin/stimulus_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def stimulus_controller
1010
{ "data-controller": stimulus_id }
1111
end
1212

13-
def stimulus_action(action, on: nil)
13+
def stimulus_action(action, on: nil) # rubocop:disable Naming/MethodParameterName
1414
action_construct = []
1515
action_construct << "#{on}->" if on.present?
1616
action_construct << "#{stimulus_id}##{action}"

0 commit comments

Comments
 (0)