lib/scss_lint/linter/final_newline.rb in scss-lint-0.23.1 vs lib/scss_lint/linter/final_newline.rb in scss-lint-0.24.0
- old
+ new
@@ -1,10 +1,10 @@
module SCSSLint
# Checks for final newlines at the end of a file.
class Linter::FinalNewline < Linter
include LinterRegistry
- def visit_root(node)
+ def visit_root(_node)
return if engine.lines.empty?
ends_with_newline = engine.lines[-1][-1] == "\n"
if config['present']