lib/scss_lint/linter/name_format.rb in scss-lint-0.20.2 vs lib/scss_lint/linter/name_format.rb in scss-lint-0.20.3
- old
+ new
@@ -12,10 +12,10 @@
check_name(node, 'function')
yield # Continue into content block of this function definition
end
def visit_mixin(node)
- check_name(node, 'mixin')
+ check_name(node, 'mixin') unless FUNCTION_WHITELIST.include?(node.name)
yield # Continue into content block of this mixin's block
end
def visit_mixindef(node)
check_name(node, 'mixin')