UNPKG

website-auditfy

Version:

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

19 lines 760 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CrawlableAnchorsRule = void 0; const lighthouse_helper_1 = require("../../../linters/lighthouse.helper"); class CrawlableAnchorsRule { constructor(dom, lightHouse) { this.id = 'crawlable-anchors'; this.tags = ['html', 'seo']; this.description = 'Links are crawlable'; this.ruleUrl = 'https://support.google.com/webmasters/answer/9112205'; this.dom = dom; this.lightHouse = lightHouse; } check() { return lighthouse_helper_1.LighthouseHelper.identifyRule(this.id, this.ruleFlow, this.lightHouse); } } exports.CrawlableAnchorsRule = CrawlableAnchorsRule; //# sourceMappingURL=crawlable-anchors.rule.js.map