website-auditfy
Version:
> Tool for validate your project on SEO, HTML, CSS, JS, TS, Performance, Security and A11Y
19 lines • 771 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ViewportInsightRule = void 0;
const lighthouse_helper_1 = require("../../../linters/lighthouse.helper");
class ViewportInsightRule {
constructor(dom, lightHouse) {
this.id = 'viewport-insight';
this.tags = ['performance'];
this.description = 'Optimize viewport for mobile';
this.ruleUrl = 'https://developer.chrome.com/blog/300ms-tap-delay-gone-away/';
this.dom = dom;
this.lightHouse = lightHouse;
}
check() {
return lighthouse_helper_1.LighthouseHelper.identifyRule(this.id, this.ruleFlow, this.lightHouse);
}
}
exports.ViewportInsightRule = ViewportInsightRule;
//# sourceMappingURL=viewport-insight.rule.js.map