UNPKG

website-auditfy

Version:

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

20 lines 880 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NoImplicitCloseRule = void 0; const html_validator_helper_1 = require("../../../linters/html-validator.helper"); class NoImplicitCloseRule { constructor(dom, lightHouse, htmlValidator) { this.id = 'no-implicit-close'; this.tags = ['style', 'html']; this.description = 'Require elements with optional end tags to be explicitly closed'; this.ruleUrl = 'https://html-validate.org/rules/no-implicit-close.html'; this.dom = dom; this.lightHouse = lightHouse; this.htmlValidator = htmlValidator; } check() { return html_validator_helper_1.HtmlValidatorUtils.identifyRule(this.id, this.ruleFlow, this.htmlValidator); } } exports.NoImplicitCloseRule = NoImplicitCloseRule; //# sourceMappingURL=no-implicit-close.rule.js.map