Sha256: 7a737918437e72fb76f72ede41c61155422a4b946621873ce1da192cf8fd150d
Contents?: true
Size: 1.12 KB
Versions: 1
Compression:
Stored size: 1.12 KB
Contents
# Load all slim-lint modules necessary to parse and lint a file. # Ordering here can be important depending on class references in each module. require 'slim_lint/constants' require 'slim_lint/exceptions' require 'slim_lint/configuration' require 'slim_lint/configuration_loader' require 'slim_lint/sexp' require 'slim_lint/file_finder' require 'slim_lint/linter_registry' require 'slim_lint/logger' require 'slim_lint/version' # Need to load slim before we can require 'slim' # Load all filters (required by SlimLint::Engine) Dir[File.expand_path('slim_lint/filters/*.rb', File.dirname(__FILE__))].each do |file| require file end require 'slim_lint/engine' require 'slim_lint/document' require 'slim_lint/sexp_visitor' require 'slim_lint/lint' require 'slim_lint/ruby_parser' require 'slim_lint/linter' require 'slim_lint/reporter' require 'slim_lint/report' require 'slim_lint/runner' # Load all linters Dir[File.expand_path('slim_lint/linter/*.rb', File.dirname(__FILE__))].each do |file| require file end # Load all reporters Dir[File.expand_path('slim_lint/reporter/*.rb', File.dirname(__FILE__))].each do |file| require file end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slim_lint-0.1.0 | lib/slim_lint.rb |