lib/scss_lint/linter/selector_depth.rb in scss-lint-0.23.1 vs lib/scss_lint/linter/selector_depth.rb in scss-lint-0.24.0
- old
+ new
@@ -1,10 +1,10 @@
module SCSSLint
# Checks for selectors with large depths of applicability.
class Linter::SelectorDepth < Linter
include LinterRegistry
- def visit_root(node)
+ def visit_root(_node)
@max_depth = config['max_depth']
@depth = 0
yield # Continue
end