/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/polylint@2.10.4/lib/polylint.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
/**
 * @license
 * Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
 * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
 * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
 * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
 * Code distributed by Google as part of the polymer project is also
 * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
 */
"use strict";const hydrolysis=require("hydrolysis"),linters_1=require("./linters");function polylint(t,n){var r;return n||(n={}),n.attachAST=!0,n.filter=function(){return!1},"redirect"in n||(n.redirect="bower_components"),hydrolysis.Analyzer.analyze(t,n).then((function(n){return(r=n).html[t].depsLoaded})).then((function(){var e=[];for(var i in linters_1.linters){var l=(0,linters_1.linters[i])(r,t,n);e=e.concat(l)}return e})).catch((function(t){throw t}))}exports.polylint=polylint,polylint.polylint=polylint,module.exports=polylint;
//# sourceMappingURL=/sm/08f6bacb1cd741ef7c08070ec3e108cf7520a3e2b4331c87a51f6fb132c96a68.map