We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f9a039 commit 5b39007Copy full SHA for 5b39007
.rubocop.yml
@@ -326,7 +326,7 @@ Naming/MethodParameterName:
326
- id
327
- to
328
- _
329
- - on
+ - "on"
330
331
# Rubocop doesn't understand side-effects
332
Style/IdenticalConditionalBranches:
admin/app/helpers/solidus_admin/stimulus_helper.rb
@@ -10,7 +10,7 @@ def stimulus_controller
10
{ "data-controller": stimulus_id }
11
end
12
13
- def stimulus_action(action, on: nil) # rubocop:disable Naming/MethodParameterName
+ def stimulus_action(action, on: nil)
14
action_construct = []
15
action_construct << "#{on}->" if on.present?
16
action_construct << "#{stimulus_id}##{action}"
0 commit comments