Sha256: d957e86b4f133de208bd7e5792eeab7ae957c787b14fcdcea9990eeef6e6559c

Contents?: true

Size: 575 Bytes

Versions: 7

Compression:

Stored size: 575 Bytes

Contents

require 'find'

module SCSSLint
  autoload :Engine, 'scss_lint/engine'
  autoload :Lint, 'scss_lint/lint'
  autoload :LinterRegistry, 'scss_lint/linter_registry'
  autoload :Linter, 'scss_lint/linter'
  autoload :Runner, 'scss_lint/runner'

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

  class << self
    def extract_files_from(list)
      files = []
      list.each do |file|
        Find.find(file) do |f|
          files << f
        end
      end
      files.uniq
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
scss-lint-0.5.2 lib/scss_lint.rb
scss-lint-0.5.1 lib/scss_lint.rb
scss-lint-0.5 lib/scss_lint.rb
scss-lint-0.4 lib/scss_lint.rb
scss-lint-0.3 lib/scss_lint.rb
scss-lint-0.2 lib/scss_lint.rb
scss-lint-0.1 lib/scss_lint.rb