lib/scss_lint/linter/url_format.rb in scss-lint-0.21.0 vs lib/scss_lint/linter/url_format.rb in scss-lint-0.22.0

- old
+ new

@@ -41,9 +41,10 @@ arg.value.type == :string end def check_url(url, node) + return if url.match(/^data:/) uri = URI(url) if uri.scheme || uri.host add_lint(node, "URL `#{url}` should not contain protocol or domain") end