@html-eslint/eslint-plugin
Version:
ESLint plugin for HTML
27 lines • 940 B
TypeScript
/** @satisfies {import("eslint").Linter.Config["rules"]} */
export const recommendedRules: {
"html/require-lang": "error";
"html/require-img-alt": "error";
"html/require-doctype": "error";
"html/require-title": "error";
"html/no-multiple-h1": "error";
"html/no-extra-spacing-attrs": "error";
"html/attrs-newline": "error";
"html/element-newline": ["error", {
inline: string[];
}];
"html/no-duplicate-id": "error";
"html/indent": "error";
"html/require-li-container": "error";
"html/quotes": "error";
"html/no-obsolete-tags": "error";
"html/no-obsolete-attrs": "error";
"html/require-closing-tags": "error";
"html/no-duplicate-attrs": "error";
"html/use-baseline": "error";
"html/no-duplicate-in-head": "error";
};
export const recommendedLegacyRules: Record<string, "error" | ["error", {
inline: string[];
}]>;
//# sourceMappingURL=recommended.d.ts.map