lib/scss_lint/sass/script.rb in scss_lint-0.56.0 vs lib/scss_lint/sass/script.rb in scss_lint-0.57.0
- old
+ new
@@ -20,11 +20,11 @@
Operation Selector StringInterpolation UnaryOperation Variable],
}.each do |namespace, types|
types.each do |type|
node_name = type.downcase
- eval <<-DECL
+ eval <<-DECL, binding, __FILE__, __LINE__ + 1
class #{namespace}::#{type}
def self.node_name
:script_#{node_name}
end
@@ -74,5 +74,7 @@
[value]
end
end
end
end
+
+# rubocop:enable Documentation