lib/slim_lint/linter/zwsp.rb in slim_lint-0.23.0 vs lib/slim_lint/linter/zwsp.rb in slim_lint-0.24.0
- old
+ new
@@ -2,10 +2,10 @@
module SlimLint
class Linter::Zwsp < Linter
include LinterRegistry
- MSG = 'Remove Zwsp'
+ MSG = 'Remove zero-width space'
on_start do |_sexp|
dummy_node = Struct.new(:line)
document.source_lines.each_with_index do |line, index|
next unless line.include?("\u200b")