def discover_path(root = @config.working_dir, folder = '', extension = '')
      return @path unless @path.blank?
      if is_middleman?
        File.join(root, 'source', folder)
      elsif is_rails?
        File.join(root, 'app', 'assets', folder)
      else
        extension.blank? ? File.join(root) : File.join(root, '/**', "/*.#{extension}")
      end
    end
def discover_path(root = @config.working_dir, folder = '', extension = '')
      return @path unless @path.blank?
      if is_middleman?
        File.join(root, 'source', folder)
      elsif is_rails?
        File.join(root, 'app', 'assets', folder)
      else
        extension.blank? ? File.join(root) : File.join(root, '/**', "/*.#{extension}")
      end
    end
Default paths to check for lints and some stats
 @since 0.1.6.1
 Note: is_rails? must be defined second-to-last if more frameworks are added
 @param root [String] base directory
 @param folder [String] nested folder to search for for Rails or Middleman
 @param extension [String] file glob type to search for if neither
 @return [String] path to desired files