lib/scss_lint/linter/hex_format.rb in scss-lint-0.13.0 vs lib/scss_lint/linter/hex_format.rb in scss-lint-0.14.0
- old
+ new
@@ -1,5 +1,6 @@
module SCSSLint
+ # Checks for hexadecimal colors that can be shortened.
class Linter::HexFormat < Linter
include LinterRegistry
def visit_script_color(node)
return unless node.original_string && node.original_string.match(HEX_REGEX)