lib/haml_lint/runner.rb
def load_applicable_config(options)
      if options[:config_file]
        HamlLint::ConfigurationLoader.load_file(options[:config_file])
      else
        HamlLint::ConfigurationLoader.load_applicable_config
      end
    end
# Runs the appropriate linters against the desired files given the specified
# options.
#
# @param options [Hash]
# @raise [HamlLint::Exceptions::NoLintersError] when no linters are enabled
# @return [HamlLint::Report] a summary of all lints found
Runs the appropriate linters against the desired files given the specified
options.
Runs the appropriate linters against the desired files given the specified options .
def load_applicable_config(options)
      if options[:config_file]
        HamlLint::ConfigurationLoader.load_file(options[:config_file])
      else
        HamlLint::ConfigurationLoader.load_applicable_config
      end
    end
def load_applicable_config ( options ) if options [ :config_file ] HamlLint :: ConfigurationLoader . load_file ( options [ :config_file ] ) else HamlLint :: ConfigurationLoader . load_applicable_config end end
Runs the appropriate linters against the desired files given the specified
options.
Runs the appropriate linters against the desired files given the specified options .
a summary of all lints found
a summary of all lints found
HamlLint::Report
[HamlLint::Exceptions::NoLintersError] when no linters are enabled
[ HamlLint :: Exceptions :: NoLintersError ] when no linters are enabled
options
None