lib/scss_lint.rb in scss-lint-0.6.7 vs lib/scss_lint.rb in scss-lint-0.7.0
- old
+ new
@@ -8,9 +8,13 @@
autoload :Linter, 'scss_lint/linter'
autoload :Reporter, 'scss_lint/reporter'
autoload :Runner, 'scss_lint/runner'
autoload :VERSION, 'scss_lint/version'
+ # Preload Sass so we can monkey patch it
+ require 'sass'
+ require 'sass/tree'
+
# Load all linters
Dir[File.expand_path('scss_lint/linter/*.rb', File.dirname(__FILE__))].each do |file|
require file
end