lib/scss_lint/linter/duplicate_root.rb in scss-lint-0.23.0 vs lib/scss_lint/linter/duplicate_root.rb in scss-lint-0.23.1
- old
+ new
@@ -21,9 +21,10 @@
# Don't yield so we only check one level deep
end
# Define stubs so we don't check rules nested in other constructs
%w[
+ directive
media
mixin
mixindef
].each do |node_type|
define_method("visit_#{node_type}") { |*args| }