UNPKG

website-auditfy

Version:

> Tool for validate your project on SEO, HTML, CSS, JS, TS, Performance, Security and A11Y

19 lines 872 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ForcedReflowInsightRule = void 0; const lighthouse_helper_1 = require("../../../linters/lighthouse.helper"); class ForcedReflowInsightRule { constructor(dom, lightHouse) { this.id = 'forced-reflow-insight'; this.tags = ['performance']; this.description = 'Forced reflow'; this.ruleUrl = 'https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing#avoid-forced-synchronous-layouts'; this.dom = dom; this.lightHouse = lightHouse; } check() { return lighthouse_helper_1.LighthouseHelper.identifyRule(this.id, this.ruleFlow, this.lightHouse); } } exports.ForcedReflowInsightRule = ForcedReflowInsightRule; //# sourceMappingURL=forced-reflow-insight.rule.js.map