Sha256: 9879b76d655e17e9c4c476b5a1c960fef488314c76c148151fc6f3c6301db76e

Contents?: true

Size: 1.48 KB

Versions: 14

Compression:

Stored size: 1.48 KB

Contents

# frozen_string_literal: true

# Load all slim-lint modules necessary to parse and lint a file.
# Ordering here can be important depending on class references in each module.

# Need to load slim before we can reference some classes or define filters
require 'slim'

require 'slim_lint/constants'
require 'slim_lint/exceptions'
require 'slim_lint/configuration'
require 'slim_lint/configuration_loader'
require 'slim_lint/utils'
require 'slim_lint/atom'
require 'slim_lint/sexp'
require 'slim_lint/file_finder'
require 'slim_lint/linter_registry'
require 'slim_lint/logger'
require 'slim_lint/version'

# Load all filters (required by SlimLint::Engine)
Dir[File.expand_path('slim_lint/filters/*.rb', File.dirname(__FILE__))].sort.each do |file|
  require file
end

require 'slim_lint/engine'
require 'slim_lint/document'
require 'slim_lint/capture_map'
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/linter_selector'
require 'slim_lint/runner'

# Load all matchers
require 'slim_lint/matcher/base'
Dir[File.expand_path('slim_lint/matcher/*.rb', File.dirname(__FILE__))].sort.each do |file|
  require file
end

# Load all linters
Dir[File.expand_path('slim_lint/linter/*.rb', File.dirname(__FILE__))].sort.each do |file|
  require file
end

# Load all reporters
Dir[File.expand_path('slim_lint/reporter/*.rb', File.dirname(__FILE__))].sort.each do |file|
  require file
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
slim_lint-0.29.0 lib/slim_lint.rb
slim_lint-0.28.0 lib/slim_lint.rb
slim_lint-0.27.0 lib/slim_lint.rb
slim_lint-0.26.0 lib/slim_lint.rb
slim_lint-0.25.0 lib/slim_lint.rb
slim_lint-0.24.0 lib/slim_lint.rb
slim_lint-0.23.0 lib/slim_lint.rb
slim_lint-0.22.1 lib/slim_lint.rb
slim_lint-0.22.0 lib/slim_lint.rb
slim_lint-0.21.1 lib/slim_lint.rb
slim_lint-0.21.0 lib/slim_lint.rb
slim_lint-0.20.2 lib/slim_lint.rb
slim_lint-0.20.1 lib/slim_lint.rb
slim_lint-0.20.0 lib/slim_lint.rb