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 525453e commit f4a2adcCopy full SHA for f4a2adc
lib/erblint-github/linters/custom_helpers.rb
@@ -47,7 +47,7 @@ def counter_correct?(processed_source)
47
if offenses_count.zero?
48
# have to adjust to get `\n` so we delete the whole line
49
add_offense(processed_source.to_source_range(comment_node.loc.adjust(end_pos: 1)), "Unused erblint:counter comment for #{rule_name}", "") if comment_node
50
- return
+ return false
51
end
52
53
first_offense = @offenses[0]
0 commit comments