lib/scss_lint/linter/zero_unit.rb in scss-lint-0.11.1 vs lib/scss_lint/linter/zero_unit.rb in scss-lint-0.12.0
- old
+ new
@@ -1,5 +1,6 @@
module SCSSLint
+ # Checks for unnecessary units on zero values.
class Linter::ZeroUnit < Linter
include LinterRegistry
def visit_script_string(node)
node.value.scan(/\b(0[a-z]+)\b/i) do |match|