lib/slim_lint/linter.rb
# Runs the linter against the given Slim document.
#
# @param document [SlimLint::Document]
Runs the linter against the given Slim document.
Runs the linter against the given Slim document .
def run(document)
      @document = document
      @lints = []
      @disabled_lines = nil
      trigger_pattern_callbacks(document.sexp)
      @lints
    end
def run ( document ) @document = document @lints = [ ] @disabled_lines = nil trigger_pattern_callbacks ( document . sexp ) @lints end
Runs the linter against the given Slim document.
Runs the linter against the given Slim document .
document
None