UNPKG

website-auditfy

Version:

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

19 lines (18 loc) 559 B
import { Message } from "./message.model"; import { MessageType } from "../enum/message.enum"; import { CheerioAPI } from "cheerio"; import { Result } from "html-validate"; import { LightHouseAuditType } from "../types/modules.type"; import { ESLint } from "eslint"; export interface RuleInterface { id: string; dom: CheerioAPI; tags?: string[]; ruleFlow: MessageType; ruleUrl?: string; lightHouse: LightHouseAuditType; description: string; htmlValidator?: Result[]; eslint?: ESLint.LintResult[]; check(): Message[]; }