lib/scss_lint/utils.rb in scss-lint-0.19.0 vs lib/scss_lint/utils.rb in scss-lint-0.20.0

- old
+ new

@@ -18,14 +18,10 @@ selector_array.reject { |item| item.is_a? Sass::Script::Node }. join. split end - def node_has_bad_name?(node) - node.name =~ /#{INVALID_NAME_CHARS}/ - end - def shortest_hex_form(hex) (can_be_condensed?(hex) ? (hex[0..1] + hex[3] + hex[5]) : hex).downcase end def can_be_condensed?(hex) @@ -57,11 +53,7 @@ end def pluralize(value, word) value == 1 ? "#{value} #{word}" : "#{value} #{word}s" end - - private - - INVALID_NAME_CHARS = '[_A-Z]' end end