website-auditfy
Version:
> Tool for validate your project on SEO, HTML, CSS, JS, TS, Performance, Security and A11Y
19 lines • 797 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.LegacyJavascriptInsightRule = void 0;
const lighthouse_helper_1 = require("../../../linters/lighthouse.helper");
class LegacyJavascriptInsightRule {
constructor(dom, lightHouse) {
this.id = 'legacy-javascript-insight';
this.tags = ['performance'];
this.description = 'Legacy JavaScript';
this.ruleUrl = 'https://web.dev/articles/baseline-and-polyfills';
this.dom = dom;
this.lightHouse = lightHouse;
}
check() {
return lighthouse_helper_1.LighthouseHelper.identifyRule(this.id, this.ruleFlow, this.lightHouse);
}
}
exports.LegacyJavascriptInsightRule = LegacyJavascriptInsightRule;
//# sourceMappingURL=legacy-javascript-insight.rule.js.map