lib/scss_lint/linter/string_quotes.rb in scss-lint-0.18.0 vs lib/scss_lint/linter/string_quotes.rb in scss-lint-0.19.0

- old
+ new

@@ -6,15 +6,15 @@ def visit_script_string(node) check_quotes(node, source_from_range(node.source_range)) end def visit_import(node) - # @import source range conveniently includes only the quoted string + # `@import` source range conveniently includes only the quoted string check_quotes(node, source_from_range(node.source_range)) end def visit_charset(node) - # @charset source range includes entire declaration, so exclude '@charset' prefix + # `@charset` source range includes entire declaration, so exclude that prefix source = source_from_range(node.source_range)[('@charset'.length)..-1] check_quotes(node, source) end