@zthun/janitor-htmlhint-config
Version:
A shared configuration for htmlhint for @zthun scoped projects.
1 lines • 1.85 kB
Source Map (JSON)
{"version":3,"file":"index.cjs","sources":["../src/index.mts"],"sourcesContent":["/**\n * HTMLHint doesn't export it's rule set.\n *\n * This is the definition of it's Rules that are\n * now exported\n */\nexport interface RuleSet {\n \"alt-require\"?: boolean;\n \"attr-lowercase\"?: boolean | Array<string | RegExp>;\n \"attr-no-duplication\"?: boolean;\n \"attr-no-unnecessary-whitespace\"?: boolean;\n \"attr-sorted\"?: boolean;\n \"attr-unsafe-chars\"?: boolean;\n \"attr-value-double-quotes\"?: boolean;\n \"attr-value-not-empty\"?: boolean;\n \"attr-value-single-quotes\"?: boolean;\n \"attr-whitespace\"?: boolean;\n \"doctype-first\"?: boolean;\n \"doctype-html5\"?: boolean;\n \"empty-tag-not-self-closed\"?: boolean;\n \"head-script-disabled\"?: boolean;\n \"href-abs-or-rel\"?: \"abs\" | \"rel\";\n \"id-class-ad-disabled\"?: boolean;\n \"id-class-value\"?:\n | \"underline\"\n | \"dash\"\n | \"hump\"\n | { regId: RegExp; message: string };\n \"id-unique\"?: boolean;\n \"inline-script-disabled\"?: boolean;\n \"inline-style-disabled\"?: boolean;\n \"input-requires-label\"?: boolean;\n \"script-disabled\"?: boolean;\n \"space-tab-mixed-disabled\"?:\n | boolean\n | \"space\"\n | \"space1\"\n | \"space2\"\n | \"space3\"\n | \"space4\"\n | \"space5\"\n | \"space6\"\n | \"space7\"\n | \"space8\"\n | \"tab\";\n \"spec-char-escape\"?: boolean;\n \"src-not-empty\"?: boolean;\n \"style-disabled\"?: boolean;\n \"tag-pair\"?: boolean;\n \"tag-self-close\"?: boolean;\n \"tagname-lowercase\"?: boolean;\n \"tagname-specialchars\"?: boolean;\n \"tags-check\"?: { [tagName: string]: Record<string, unknown> };\n \"title-require\"?: boolean;\n}\n\nconst config: RuleSet = {};\nexport default config;\n"],"names":["config"],"mappings":";;AAAA;;;;;IAwDA,MAAMA,SAAkB;;;;"}