lib/slim_lint/linter.rb
def report_lint(node, message)
      return if disabled_for_line?(node.line)

      @lints << SlimLint::Lint.new(self, @document.file, node.line, message)
    end
# Record a lint for reporting back to the user.
#
# @param node [#line] node to extract the line number from
# @param message [String] error/warning to display to the user
Record a lint for reporting back to the user.
Record a lint for reporting back to the user .
def report_lint(node, message)
      return if disabled_for_line?(node.line)
      @lints << SlimLint::Lint.new(self, @document.file, node.line, message)
    end
def report_lint ( node , message ) return if disabled_for_line? ( node . line ) @lints << SlimLint :: Lint . new ( self , @document . file , node . line , message ) end
Record a lint for reporting back to the user.
Record a lint for reporting back to the user .
node
node to extract the line number from
node to extract the line number from
message
error/warning to display to the user
error / warning to display to the user