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 8c91e22 commit ec12a4cCopy full SHA for ec12a4c
lib/rubocop/cop/github/render_literal_helpers.rb
@@ -29,11 +29,11 @@ module RenderLiteralHelpers
29
PATTERN
30
31
def_node_matcher :render_view_component_instance_with_content?, <<-PATTERN
32
- (send nil? {:render :render_to_string} (send (send _ :new ...) `:with_content ...))
+ (send nil? {:render :render_to_string} (send (send _ :new ...) :with_content ...))
33
34
35
def_node_matcher :render_view_component_instance_with_inline_block?, <<-PATTERN
36
- (send nil? {:render :render_to_string} (block (send (send _ :new ...) ...) ...))
+ (block (send nil? {:render :render_to_string} (send _ :new ...)) ...)
37
38
39
def_node_matcher :render_view_component_collection?, <<-PATTERN
0 commit comments