@html-eslint/eslint-plugin 0.51.0 → 0.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/lib/configs/recommended.js +8 -2
  2. package/lib/index.js +2 -6
  3. package/lib/languages/html-language.js +23 -15
  4. package/lib/languages/html-source-code.js +34 -26
  5. package/lib/languages/html-traversal-step.js +6 -10
  6. package/lib/rules/attrs-newline.js +15 -11
  7. package/lib/rules/class-spacing.js +148 -0
  8. package/lib/rules/element-newline.js +18 -21
  9. package/lib/rules/id-naming-convention.js +15 -12
  10. package/lib/rules/indent/indent-level.js +10 -17
  11. package/lib/rules/indent/indent.js +51 -56
  12. package/lib/rules/index.js +5 -1
  13. package/lib/rules/lowercase.js +11 -23
  14. package/lib/rules/max-element-depth.js +8 -10
  15. package/lib/rules/no-abstract-roles.js +8 -8
  16. package/lib/rules/no-accesskey-attrs.js +8 -8
  17. package/lib/rules/no-aria-hidden-body.js +2 -6
  18. package/lib/rules/no-aria-hidden-on-focusable.js +4 -5
  19. package/lib/rules/no-duplicate-attrs.js +12 -8
  20. package/lib/rules/no-duplicate-class.js +8 -14
  21. package/lib/rules/no-duplicate-id.js +9 -15
  22. package/lib/rules/no-duplicate-in-head.js +10 -17
  23. package/lib/rules/no-empty-headings.js +7 -8
  24. package/lib/rules/no-extra-spacing-attrs.js +13 -8
  25. package/lib/rules/no-extra-spacing-text.js +11 -14
  26. package/lib/rules/no-heading-inside-button.js +2 -6
  27. package/lib/rules/no-ineffective-attrs.js +14 -15
  28. package/lib/rules/no-inline-styles.js +2 -6
  29. package/lib/rules/no-invalid-entity.js +4 -8
  30. package/lib/rules/no-invalid-role.js +3 -10
  31. package/lib/rules/no-multiple-empty-lines.js +7 -7
  32. package/lib/rules/no-multiple-h1.js +4 -8
  33. package/lib/rules/no-nested-interactive.js +5 -9
  34. package/lib/rules/no-non-scalable-viewport.js +2 -6
  35. package/lib/rules/no-obsolete-attrs.js +83 -0
  36. package/lib/rules/no-obsolete-tags.js +2 -6
  37. package/lib/rules/no-positive-tabindex.js +8 -8
  38. package/lib/rules/no-restricted-attr-values.js +18 -21
  39. package/lib/rules/no-restricted-attrs.js +18 -22
  40. package/lib/rules/no-restricted-tags.js +17 -20
  41. package/lib/rules/no-script-style-type.js +7 -6
  42. package/lib/rules/no-skip-heading-levels.js +4 -8
  43. package/lib/rules/no-target-blank.js +3 -6
  44. package/lib/rules/no-trailing-spaces.js +7 -6
  45. package/lib/rules/no-whitespace-only-children.js +7 -8
  46. package/lib/rules/prefer-https.js +11 -14
  47. package/lib/rules/quotes.js +13 -16
  48. package/lib/rules/require-attrs.js +18 -17
  49. package/lib/rules/require-button-type.js +6 -5
  50. package/lib/rules/require-closing-tags.js +9 -12
  51. package/lib/rules/require-doctype.js +2 -6
  52. package/lib/rules/require-explicit-size.js +2 -5
  53. package/lib/rules/require-form-method.js +2 -6
  54. package/lib/rules/require-frame-title.js +2 -6
  55. package/lib/rules/require-img-alt.js +3 -6
  56. package/lib/rules/require-input-label.js +3 -5
  57. package/lib/rules/require-lang.js +2 -6
  58. package/lib/rules/require-li-container.js +2 -6
  59. package/lib/rules/require-meta-charset.js +6 -5
  60. package/lib/rules/require-meta-description.js +6 -5
  61. package/lib/rules/require-meta-viewport.js +6 -5
  62. package/lib/rules/require-open-graph-protocol.js +7 -8
  63. package/lib/rules/require-title.js +7 -5
  64. package/lib/rules/sort-attrs.js +13 -19
  65. package/lib/rules/use-baseline.js +8 -6
  66. package/lib/rules/utils/baseline.js +4 -6
  67. package/lib/rules/utils/naming.js +14 -7
  68. package/lib/rules/utils/node.js +63 -29
  69. package/lib/rules/utils/rule.js +1 -4
  70. package/lib/rules/utils/settings.js +9 -3
  71. package/lib/rules/utils/source-code.js +2 -6
  72. package/lib/rules/utils/template-literal.js +16 -7
  73. package/lib/rules/utils/visitors.js +4 -1
  74. package/lib/specs/index.js +5 -0
  75. package/lib/specs/obsolete-attrs.js +604 -0
  76. package/lib/types/ast.ts +5 -2
  77. package/package.json +6 -6
  78. package/types/configs/recommended.d.ts +2 -1
  79. package/types/configs/recommended.d.ts.map +1 -1
  80. package/types/index.d.ts +2 -6
  81. package/types/index.d.ts.map +1 -1
  82. package/types/languages/html-language.d.ts +12 -10
  83. package/types/languages/html-language.d.ts.map +1 -1
  84. package/types/languages/html-source-code.d.ts +13 -6
  85. package/types/languages/html-source-code.d.ts.map +1 -1
  86. package/types/languages/html-traversal-step.d.ts +5 -5
  87. package/types/languages/html-traversal-step.d.ts.map +1 -1
  88. package/types/rules/attrs-newline.d.ts +1 -1
  89. package/types/rules/attrs-newline.d.ts.map +1 -1
  90. package/types/rules/class-spacing.d.ts +4 -0
  91. package/types/rules/class-spacing.d.ts.map +1 -0
  92. package/types/rules/element-newline.d.ts +3 -3
  93. package/types/rules/element-newline.d.ts.map +1 -1
  94. package/types/rules/id-naming-convention.d.ts.map +1 -1
  95. package/types/rules/indent/indent-level.d.ts +10 -17
  96. package/types/rules/indent/indent-level.d.ts.map +1 -1
  97. package/types/rules/indent/indent.d.ts.map +1 -1
  98. package/types/rules/lowercase.d.ts.map +1 -1
  99. package/types/rules/max-element-depth.d.ts.map +1 -1
  100. package/types/rules/no-abstract-roles.d.ts.map +1 -1
  101. package/types/rules/no-accesskey-attrs.d.ts.map +1 -1
  102. package/types/rules/no-aria-hidden-body.d.ts.map +1 -1
  103. package/types/rules/no-aria-hidden-on-focusable.d.ts.map +1 -1
  104. package/types/rules/no-duplicate-attrs.d.ts.map +1 -1
  105. package/types/rules/no-duplicate-class.d.ts.map +1 -1
  106. package/types/rules/no-duplicate-id.d.ts.map +1 -1
  107. package/types/rules/no-duplicate-in-head.d.ts.map +1 -1
  108. package/types/rules/no-empty-headings.d.ts.map +1 -1
  109. package/types/rules/no-extra-spacing-attrs.d.ts.map +1 -1
  110. package/types/rules/no-extra-spacing-text.d.ts.map +1 -1
  111. package/types/rules/no-heading-inside-button.d.ts.map +1 -1
  112. package/types/rules/no-ineffective-attrs.d.ts.map +1 -1
  113. package/types/rules/no-inline-styles.d.ts.map +1 -1
  114. package/types/rules/no-invalid-entity.d.ts.map +1 -1
  115. package/types/rules/no-invalid-role.d.ts.map +1 -1
  116. package/types/rules/no-multiple-empty-lines.d.ts.map +1 -1
  117. package/types/rules/no-multiple-h1.d.ts.map +1 -1
  118. package/types/rules/no-nested-interactive.d.ts.map +1 -1
  119. package/types/rules/no-non-scalable-viewport.d.ts.map +1 -1
  120. package/types/rules/no-obsolete-attrs.d.ts +4 -0
  121. package/types/rules/no-obsolete-attrs.d.ts.map +1 -0
  122. package/types/rules/no-obsolete-tags.d.ts.map +1 -1
  123. package/types/rules/no-positive-tabindex.d.ts.map +1 -1
  124. package/types/rules/no-restricted-attr-values.d.ts.map +1 -1
  125. package/types/rules/no-restricted-attrs.d.ts.map +1 -1
  126. package/types/rules/no-restricted-tags.d.ts.map +1 -1
  127. package/types/rules/no-script-style-type.d.ts.map +1 -1
  128. package/types/rules/no-skip-heading-levels.d.ts.map +1 -1
  129. package/types/rules/no-target-blank.d.ts.map +1 -1
  130. package/types/rules/no-trailing-spaces.d.ts.map +1 -1
  131. package/types/rules/no-whitespace-only-children.d.ts.map +1 -1
  132. package/types/rules/prefer-https.d.ts.map +1 -1
  133. package/types/rules/quotes.d.ts.map +1 -1
  134. package/types/rules/require-attrs.d.ts.map +1 -1
  135. package/types/rules/require-button-type.d.ts.map +1 -1
  136. package/types/rules/require-closing-tags.d.ts.map +1 -1
  137. package/types/rules/require-doctype.d.ts.map +1 -1
  138. package/types/rules/require-explicit-size.d.ts.map +1 -1
  139. package/types/rules/require-form-method.d.ts.map +1 -1
  140. package/types/rules/require-frame-title.d.ts.map +1 -1
  141. package/types/rules/require-img-alt.d.ts.map +1 -1
  142. package/types/rules/require-input-label.d.ts.map +1 -1
  143. package/types/rules/require-lang.d.ts.map +1 -1
  144. package/types/rules/require-li-container.d.ts.map +1 -1
  145. package/types/rules/require-meta-charset.d.ts.map +1 -1
  146. package/types/rules/require-meta-description.d.ts.map +1 -1
  147. package/types/rules/require-meta-viewport.d.ts.map +1 -1
  148. package/types/rules/require-open-graph-protocol.d.ts.map +1 -1
  149. package/types/rules/require-title.d.ts.map +1 -1
  150. package/types/rules/sort-attrs.d.ts.map +1 -1
  151. package/types/rules/use-baseline.d.ts.map +1 -1
  152. package/types/rules/utils/baseline.d.ts +1 -3
  153. package/types/rules/utils/baseline.d.ts.map +1 -1
  154. package/types/rules/utils/naming.d.ts +14 -7
  155. package/types/rules/utils/naming.d.ts.map +1 -1
  156. package/types/rules/utils/node.d.ts +11 -10
  157. package/types/rules/utils/node.d.ts.map +1 -1
  158. package/types/rules/utils/rule.d.ts +1 -4
  159. package/types/rules/utils/rule.d.ts.map +1 -1
  160. package/types/rules/utils/settings.d.ts +0 -1
  161. package/types/rules/utils/settings.d.ts.map +1 -1
  162. package/types/rules/utils/source-code.d.ts +2 -6
  163. package/types/rules/utils/source-code.d.ts.map +1 -1
  164. package/types/rules/utils/template-literal.d.ts +2 -1
  165. package/types/rules/utils/template-literal.d.ts.map +1 -1
  166. package/types/rules/utils/visitors.d.ts.map +1 -1
  167. package/types/specs/index.d.ts +3 -0
  168. package/types/specs/index.d.ts.map +1 -0
  169. package/types/specs/obsolete-attrs.d.ts +19 -0
  170. package/types/specs/obsolete-attrs.d.ts.map +1 -0
  171. package/types/types/ast.d.ts +5 -2
  172. package/types/types/ast.d.ts.map +1 -1
@@ -1,34 +1,36 @@
1
1
  /**
2
- * @implements {Language<{ LangOptions: ParserOptions; Code: ReturnType<typeof createHTMLSourceCode>; RootNode: AST.Program; Node: {}}>}
2
+ * @implements {Language<{
3
+ * LangOptions: ParserOptions;
4
+ * Code: ReturnType<typeof createHTMLSourceCode>;
5
+ * RootNode: AST.Program;
6
+ * Node: {};
7
+ * }>}
3
8
  */
4
9
  export class HTMLLanguage implements Language {
5
10
  /**
6
- * @property
7
11
  * @type {"text"}
12
+ * @property
8
13
  */
9
14
  fileType: "text";
10
15
  /**
16
+ * @type {0 | 1}
11
17
  * @property
12
- * @type {0|1}
13
18
  */
14
19
  lineStart: 0 | 1;
15
20
  /**
21
+ * @type {0 | 1}
16
22
  * @property
17
- * @type {0|1}
18
23
  */
19
24
  columnStart: 0 | 1;
20
- /**
21
- * @type {string}
22
- */
25
+ /** @type {string} */
23
26
  nodeTypeKey: string;
24
27
  /**
25
28
  * The visitor keys for the es-html-parser AST.
29
+ *
26
30
  * @type {Record<string, string[]>}
27
31
  */
28
32
  visitorKeys: Record<string, string[]>;
29
- /**
30
- * @param {ParserOptions} languageOptions
31
- */
33
+ /** @param {ParserOptions} languageOptions */
32
34
  validateLanguageOptions(languageOptions: ParserOptions): void;
33
35
  /**
34
36
  * @param {File} file
@@ -1 +1 @@
1
- {"version":3,"file":"html-language.d.ts","sourceRoot":"","sources":["../../lib/languages/html-language.js"],"names":[],"mappings":"AASA;;GAEG;AACH;IAEI;;;OAGG;IACH,UAFU,MAAM,CAEM;IAEtB;;;OAGG;IACH,WAFU,CAAC,GAAC,CAAC,CAEK;IAElB;;;OAGG;IACH,aAFU,CAAC,GAAC,CAAC,CAEO;IAEpB;;OAEG;IACH,aAFU,MAAM,CAES;IAEzB;;;OAGG;IACH,aAFU,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAEJ;IAGhC;;OAEG;IACH,yCAFW,aAAa,QA8BvB;IAED;;;;;OAKG;IACH,YALW,IAAI,YAEZ;QAA+B,eAAe,EAAtC,aAAa;KACrB,GAAU,YAAY,WAAW,CAAC,CAkBpC;IAED;;;OAGG;IACH,uBAHW,IAAI,eACJ,cAAc,WAAW,CAAC;;;;;;;;;;MAQpC;CACF;8BA/GyE,cAAc;mCACtD,qBAAqB;0BADmB,cAAc;yBAEhE,QAAQ;iCAF0C,cAAc;mCAAd,cAAc"}
1
+ {"version":3,"file":"html-language.d.ts","sourceRoot":"","sources":["../../lib/languages/html-language.js"],"names":[],"mappings":"AAeA;;;;;;;GAOG;AACH;IAEI;;;OAGG;IACH,UAHU,MAAM,CAGM;IAEtB;;;OAGG;IACH,WAHU,CAAC,GAAG,CAAC,CAGG;IAElB;;;OAGG;IACH,aAHU,CAAC,GAAG,CAAC,CAGK;IAEpB,qBAAqB;IACrB,aADW,MAAM,CACQ;IAEzB;;;;OAIG;IACH,aAFU,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAEJ;IAGhC,6CAA6C;IAC7C,yCADY,aAAa,QA6BxB;IAED;;;;;OAKG;IACH,YALW,IAAI,YAEZ;QAA+B,eAAe,EAAtC,aAAa;KACrB,GAAU,YAAY,WAAW,CAAC,CAkBpC;IAED;;;OAGG;IACH,uBAHW,IAAI,eACJ,cAAc,WAAW,CAAC;;;;;;;;;;MAQpC;CACF;8BAjHS,cAAc;mCACQ,qBAAqB;0BAD3C,cAAc;yBAEF,QAAQ;iCAFpB,cAAc;mCAAd,cAAc"}
@@ -1,8 +1,15 @@
1
1
  /**
2
- * @param {{ast: AST.Program, text: string, comments: CommentContent[]}} config
2
+ * @param {{ ast: AST.Program; text: string; comments: CommentContent[] }} config
3
3
  * @returns {TextSourceCodeBase<any> & {
4
- * getDisableDirectives(): { problems: {ruleId: null | string, message: string; loc: SourceLocation}[]; directives: Directive[]}
5
- * getInlineConfigNodes(): CommentContent[]
4
+ * getDisableDirectives(): {
5
+ * problems: {
6
+ * ruleId: null | string;
7
+ * message: string;
8
+ * loc: SourceLocation;
9
+ * }[];
10
+ * directives: Directive[];
11
+ * };
12
+ * getInlineConfigNodes(): CommentContent[];
6
13
  * }}
7
14
  */
8
15
  export function createHTMLSourceCode(config: {
@@ -20,9 +27,9 @@ export function createHTMLSourceCode(config: {
20
27
  };
21
28
  getInlineConfigNodes(): CommentContent[];
22
29
  };
23
- import type { AST } from 'eslint';
24
- import type { CommentContent } from '@html-eslint/types';
30
+ import type { AST } from "eslint";
31
+ import type { CommentContent } from "@html-eslint/types";
25
32
  import { TextSourceCodeBase } from "@eslint/plugin-kit";
26
- import type { SourceLocation } from '@eslint/plugin-kit';
33
+ import type { SourceLocation } from "@eslint/plugin-kit";
27
34
  import { Directive } from "@eslint/plugin-kit";
28
35
  //# sourceMappingURL=html-source-code.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"html-source-code.d.ts","sourceRoot":"","sources":["../../lib/languages/html-source-code.js"],"names":[],"mappings":"AAyLA;;;;;;GAMG;AACH,6CANW;IAAC,GAAG,EAAE,WAAW,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,cAAc,EAAE,CAAA;CAAC,GAC1D,kBAAkB,CAAC,GAAG,CAAC,GAAG;IAClC,oBAAoB,IAAI;QAAE,QAAQ,EAAE;YAAC,MAAM,EAAE,IAAI,GAAG,MAAM,CAAC;YAAC,OAAO,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,cAAc,CAAA;SAAC,EAAE,CAAC;QAAC,UAAU,EAAE,SAAS,EAAE,CAAA;KAAC,CAAA;IAC7H,oBAAoB,IAAI,cAAc,EAAE,CAAA;CACzC,CAIH;yBAjMqB,QAAQ;oCAGgB,oBAAoB;;oCAFlB,oBAAoB"}
1
+ {"version":3,"file":"html-source-code.d.ts","sourceRoot":"","sources":["../../lib/languages/html-source-code.js"],"names":[],"mappings":"AA0LA;;;;;;;;;;;;;GAaG;AACH,6CAbW;IAAE,GAAG,EAAE,WAAW,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,cAAc,EAAE,CAAA;CAAE,GAC5D,kBAAkB,CAAC,GAAG,CAAC,GAAG;IAClC,oBAAoB,IAAI;QACtB,QAAQ,EAAE;YACR,MAAM,EAAE,IAAI,GAAG,MAAM,CAAC;YACtB,OAAO,EAAE,MAAM,CAAC;YAChB,GAAG,EAAE,cAAc,CAAC;SACrB,EAAE,CAAC;QACJ,UAAU,EAAE,SAAS,EAAE,CAAC;KACzB,CAAC;IACF,oBAAoB,IAAI,cAAc,EAAE,CAAC;CAC1C,CAIH;yBA7LqB,QAAQ;oCADpB,oBAAoB;;oCAJpB,oBAAoB"}
@@ -2,13 +2,13 @@ export class HTMLTraversalStep extends VisitNodeStep {
2
2
  /**
3
3
  * @param {Object} options
4
4
  * @param {AnyHTMLNode | AST.Program} options.target
5
- * @param {1|2} options.phase
6
- * @param {Array<any>} options.args
5
+ * @param {1 | 2} options.phase
6
+ * @param {any[]} options.args
7
7
  */
8
8
  constructor({ target, phase, args }: {
9
9
  target: AnyHTMLNode | AST.Program;
10
10
  phase: 1 | 2;
11
- args: Array<any>;
11
+ args: any[];
12
12
  });
13
13
  target: AST.Program | AnyHTMLNode;
14
14
  }
@@ -17,6 +17,6 @@ export namespace STEP_PHASE {
17
17
  let EXIT: 2;
18
18
  }
19
19
  import { VisitNodeStep } from "@eslint/plugin-kit";
20
- import type { AST } from 'eslint';
21
- import type { AnyHTMLNode } from '@html-eslint/types';
20
+ import type { AST } from "eslint";
21
+ import type { AnyHTMLNode } from "@html-eslint/types";
22
22
  //# sourceMappingURL=html-traversal-step.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"html-traversal-step.d.ts","sourceRoot":"","sources":["../../lib/languages/html-traversal-step.js"],"names":[],"mappings":"AAkBA;IACE;;;;;OAKG;IACH,qCAJG;QAA2C,MAAM,EAAzC,WAAW,GAAG,WAAW;QACZ,KAAK,EAAlB,CAAC,GAAC,CAAC;QACiB,IAAI,EAAxB,KAAK,CAAC,GAAG,CAAC;KACpB,EAIA;IADC,kCAAoB;CAEvB;;eApBW,CAAC;cAID,CAAC;;;yBAZS,QAAQ;iCACA,oBAAoB"}
1
+ {"version":3,"file":"html-traversal-step.d.ts","sourceRoot":"","sources":["../../lib/languages/html-traversal-step.js"],"names":[],"mappings":"AAcA;IACE;;;;;OAKG;IACH,qCAJG;QAA2C,MAAM,EAAzC,WAAW,GAAG,WAAW;QACV,KAAK,EAApB,CAAC,GAAG,CAAC;QACU,IAAI,EAAnB,GAAG,EAAE;KACf,EAIA;IADC,kCAAoB;CAEvB;;eAjBY,CAAC;cAED,CAAC;;;yBARQ,QAAQ;iCADA,oBAAoB"}
@@ -11,5 +11,5 @@ type Option = {
11
11
  closeStyle?: "sameline" | "newline" | undefined;
12
12
  ifAttrsMoreThan?: number | undefined;
13
13
  };
14
- import type { RuleModule } from '../types';
14
+ import type { RuleModule } from "../types";
15
15
  //# sourceMappingURL=attrs-newline.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"attrs-newline.d.ts","sourceRoot":"","sources":["../../lib/rules/attrs-newline.js"],"names":[],"mappings":";;;wBAyBU,WAAW,CAAC,MAAM,CAAC,CAAC;;;uBArBhB,iBAAiB;qBACjB,gBAAgB;;;;;;gCAJY,UAAU"}
1
+ {"version":3,"file":"attrs-newline.d.ts","sourceRoot":"","sources":["../../lib/rules/attrs-newline.js"],"names":[],"mappings":";;;wBAwBW,WAAW,CAAC,MAAM,CAAC,CAAC;;;uBAlBjB,iBAAiB;qBACjB,gBAAgB;;;;;;gCAHpB,UAAU"}
@@ -0,0 +1,4 @@
1
+ declare const _exports: RuleModule<[]>;
2
+ export = _exports;
3
+ import type { RuleModule } from "../types";
4
+ //# sourceMappingURL=class-spacing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"class-spacing.d.ts","sourceRoot":"","sources":["../../lib/rules/class-spacing.js"],"names":[],"mappings":"wBAeW,WAAW,EAAE,CAAC;;gCAfK,UAAU"}
@@ -8,7 +8,7 @@ type Option = {
8
8
  skip?: string[] | undefined;
9
9
  inline?: string[] | undefined;
10
10
  };
11
- import type { RuleModule } from '../types';
12
- import type { AnyNode } from '@html-eslint/types';
13
- import type { Line } from '../types';
11
+ import type { RuleModule } from "../types";
12
+ import type { AnyNode } from "@html-eslint/types";
13
+ import type { Line } from "../types";
14
14
  //# sourceMappingURL=element-newline.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"element-newline.d.ts","sourceRoot":"","sources":["../../lib/rules/element-newline.js"],"names":[],"mappings":";;;wBAmEU,WAAW,CAAC,MAAM,CAAC,CAAC;;qBAhEhB,OAAO,GAAG,IAAI;;;;;gCADS,UAAU;6BADS,oBAAoB;0BACvC,UAAU"}
1
+ {"version":3,"file":"element-newline.d.ts","sourceRoot":"","sources":["../../lib/rules/element-newline.js"],"names":[],"mappings":";;;wBAyEW,WAAW,CAAC,MAAM,CAAC,CAAC;;qBA9DlB,OAAO,GAAG,IAAI;;;;;gCADjB,UAAU;6BAJV,oBAAoB;0BAIpB,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"id-naming-convention.d.ts","sourceRoot":"","sources":["../../lib/rules/id-naming-convention.js"],"names":[],"mappings":";;;wBAyCU,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;;eArC3B,WAAW,GAAG,YAAY,GAAG,YAAY,GAAG,YAAY,GAAG,OAAO;;aAEjE,MAAM;;;gCAJS,UAAU"}
1
+ {"version":3,"file":"id-naming-convention.d.ts","sourceRoot":"","sources":["../../lib/rules/id-naming-convention.js"],"names":[],"mappings":";;;wBAiDW,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;;eA1C5B,WAAW,GACjB,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,OAAO;;aAIA,MAAM;;;gCATS,UAAU"}
@@ -1,7 +1,8 @@
1
1
  export = IndentLevel;
2
2
  /**
3
- * @import {AnyNode} from "@html-eslint/types";
4
- * @typedef {{ [key in AnyNode['type']]?: number}} IncLevelOptions
3
+ * @import {AnyNode} from "@html-eslint/types"
4
+ * @typedef {{ [key in AnyNode["type"]]?: number }} IncLevelOptions
5
+ *
5
6
  * @typedef {(node: AnyNode) => number} GetIncreasingLevel
6
7
  */
7
8
  declare class IndentLevel {
@@ -13,37 +14,29 @@ declare class IndentLevel {
13
14
  getIncreasingLevel: GetIncreasingLevel;
14
15
  });
15
16
  /**
16
- * @member
17
17
  * @private
18
+ * @member
18
19
  * @type {number}
19
20
  */
20
21
  private level;
21
22
  /**
22
- * @member
23
23
  * @private
24
+ * @member
24
25
  * @type {number}
25
26
  */
26
27
  private baseLevel;
27
28
  /**
28
- * @member
29
29
  * @private
30
+ * @member
30
31
  */
31
32
  private getInc;
32
- /**
33
- * @returns {number}
34
- */
33
+ /** @returns {number} */
35
34
  value(): number;
36
- /**
37
- * @param {AnyNode} node
38
- */
35
+ /** @param {AnyNode} node */
39
36
  indent(node: AnyNode): void;
40
- /**
41
- * @param {AnyNode} node
42
- */
37
+ /** @param {AnyNode} node */
43
38
  dedent(node: AnyNode): void;
44
- /**
45
- * @param {number} base
46
- */
39
+ /** @param {number} base */
47
40
  setBase(base: number): void;
48
41
  }
49
42
  declare namespace IndentLevel {
@@ -1 +1 @@
1
- {"version":3,"file":"indent-level.d.ts","sourceRoot":"","sources":["../../../lib/rules/indent/indent-level.js"],"names":[],"mappings":";AAAA;;;;GAIG;AAEH;IACE;;;OAGG;IACH,oBAFG;QAAmC,kBAAkB,EAA7C,kBAAkB;KAC5B,EAmBA;IAjBC;;;;OAIG;IACH,cAAe;IACf;;;;OAIG;IACH,kBAAkB;IAClB;;;OAGG;IACH,eAAuC;IAGzC;;OAEG;IACH,SAFa,MAAM,CAIlB;IAED;;OAEG;IACH,aAFW,OAAO,QAIjB;IAED;;OAEG;IACH,aAFW,OAAO,QAIjB;IAED;;OAEG;IACH,cAFW,MAAM,QAIhB;CACF;;;;6BAzDyB,oBAAoB;uBACjC,GAAG,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,GAAC;0BACpC,CAAC,IAAI,EAAE,OAAO,KAAK,MAAM"}
1
+ {"version":3,"file":"indent-level.d.ts","sourceRoot":"","sources":["../../../lib/rules/indent/indent-level.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AAEH;IACE;;;OAGG;IACH,oBAFG;QAAmC,kBAAkB,EAA7C,kBAAkB;KAC5B,EAmBA;IAjBC;;;;OAIG;IACH,cAAe;IACf;;;;OAIG;IACH,kBAAkB;IAClB;;;OAGG;IACH,eAAuC;IAGzC,wBAAwB;IACxB,SADc,MAAM,CAGnB;IAED,4BAA4B;IAC5B,aADY,OAAO,QAGlB;IAED,4BAA4B;IAC5B,aADY,OAAO,QAGlB;IAED,2BAA2B;IAC3B,cADY,MAAM,QAGjB;CACF;;;;6BAlDyB,oBAAoB;uBACjC,GAAG,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,GAAE;0BAErC,CAAC,IAAI,EAAE,OAAO,KAAK,MAAM"}
@@ -1 +1 @@
1
- {"version":3,"file":"indent.d.ts","sourceRoot":"","sources":["../../../lib/rules/indent/indent.js"],"names":[],"mappings":";;;wBAyDU,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;;qBApD3B,OAAO,GAAG,IAAI;;SAEb,KAAK;WACL,OAAO;;;kBAEP,aAAa;;;gBAEb,UAAU,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,OAAO,CAAC;gBACvC,MAAM;gBACN,MAAM;;eAEP,KAAK,GAAG,MAAM;;;;;;;gCAd+B,aAAa;6BAD+C,oBAAoB;0BAChF,aAAa"}
1
+ {"version":3,"file":"indent.d.ts","sourceRoot":"","sources":["../../../lib/rules/indent/indent.js"],"names":[],"mappings":";;;wBAyEW,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;;qBAtD5B,OAAO,GAAG,IAAI;;SAGb,KAAK;WACL,OAAO;;;kBAGP,aAAa;;;gBAGb,UAAU,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,OAAO,CAAC;gBACvC,MAAM;gBACN,MAAM;;eAEP,KAAK,GAAG,MAAM;;;;;;;gCAfjB,aAAa;6BAPb,oBAAoB;0BAOpB,aAAa"}
@@ -1 +1 @@
1
- {"version":3,"file":"lowercase.d.ts","sourceRoot":"","sources":["../../lib/rules/lowercase.js"],"names":[],"mappings":"wBAqBU,WAAW,EAAE,CAAC;;gCAdK,UAAU"}
1
+ {"version":3,"file":"lowercase.d.ts","sourceRoot":"","sources":["../../lib/rules/lowercase.js"],"names":[],"mappings":"wBAoBW,WAAW,EAAE,CAAC;;gCAbI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"max-element-depth.d.ts","sourceRoot":"","sources":["../../lib/rules/max-element-depth.js"],"names":[],"mappings":";;;wBAiBU,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;gCAfD,UAAU"}
1
+ {"version":3,"file":"max-element-depth.d.ts","sourceRoot":"","sources":["../../lib/rules/max-element-depth.js"],"names":[],"mappings":";;;wBAmBW,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;gCAbF,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-abstract-roles.d.ts","sourceRoot":"","sources":["../../lib/rules/no-abstract-roles.js"],"names":[],"mappings":"wBA8BU,WAAW,EAAE,CAAC;;gCA5BK,UAAU"}
1
+ {"version":3,"file":"no-abstract-roles.d.ts","sourceRoot":"","sources":["../../lib/rules/no-abstract-roles.js"],"names":[],"mappings":"wBAiCW,WAAW,EAAE,CAAC;;gCA3BI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-accesskey-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-accesskey-attrs.js"],"names":[],"mappings":"wBAeU,WAAW,EAAE,CAAC;;gCAbK,UAAU"}
1
+ {"version":3,"file":"no-accesskey-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-accesskey-attrs.js"],"names":[],"mappings":"wBAkBW,WAAW,EAAE,CAAC;;gCAZI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-aria-hidden-body.d.ts","sourceRoot":"","sources":["../../lib/rules/no-aria-hidden-body.js"],"names":[],"mappings":"wBAcU,WAAW,EAAE,CAAC;;gCAbK,UAAU"}
1
+ {"version":3,"file":"no-aria-hidden-body.d.ts","sourceRoot":"","sources":["../../lib/rules/no-aria-hidden-body.js"],"names":[],"mappings":"wBAWW,WAAW,EAAE,CAAC;;gCAXK,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-aria-hidden-on-focusable.d.ts","sourceRoot":"","sources":["../../lib/rules/no-aria-hidden-on-focusable.js"],"names":[],"mappings":"wBA8BU,WAAW,EAAE,CAAC;;gCA5BK,UAAU"}
1
+ {"version":3,"file":"no-aria-hidden-on-focusable.d.ts","sourceRoot":"","sources":["../../lib/rules/no-aria-hidden-on-focusable.js"],"names":[],"mappings":"wBA6BW,WAAW,EAAE,CAAC;;gCA3BI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-duplicate-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-attrs.js"],"names":[],"mappings":"wBAgBU,WAAW,EAAE,CAAC;;gCAdiC,UAAU"}
1
+ {"version":3,"file":"no-duplicate-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-attrs.js"],"names":[],"mappings":"wBAuBW,WAAW,EAAE,CAAC;;gCAbf,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-duplicate-class.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-class.js"],"names":[],"mappings":";;;wBAmBU,WAAW,EAAE,CAAC;;;UAfV,MAAM;SACN,OAAO,oBAAoB,EAAE,OAAO,CAAC,KAAK,CAAC;WAC3C,OAAO,oBAAoB,EAAE,OAAO,CAAC,OAAO,CAAC;;gCAJ9B,UAAU"}
1
+ {"version":3,"file":"no-duplicate-class.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-class.js"],"names":[],"mappings":";;;wBAkBW,WAAW,EAAE,CAAC;;;UAdX,MAAM;SACN,OAAO,oBAAoB,EAAE,OAAO,CAAC,KAAK,CAAC;WAC3C,OAAO,oBAAoB,EAAE,OAAO,CAAC,OAAO,CAAC;;gCAJ9B,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-duplicate-id.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-id.js"],"names":[],"mappings":"wBAoBU,WAAW,EAAE,CAAC;;gCAlBK,UAAU"}
1
+ {"version":3,"file":"no-duplicate-id.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-id.js"],"names":[],"mappings":"wBAsBW,WAAW,EAAE,CAAC;;gCAjBI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-duplicate-in-head.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-in-head.js"],"names":[],"mappings":"wBA6DU,WAAW,EAAE,CAAC;;gCA3DK,UAAU"}
1
+ {"version":3,"file":"no-duplicate-in-head.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-in-head.js"],"names":[],"mappings":"wBA6DW,WAAW,EAAE,CAAC;;gCA3DI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-empty-headings.d.ts","sourceRoot":"","sources":["../../lib/rules/no-empty-headings.js"],"names":[],"mappings":"wBAwFU,WAAW,EAAE,CAAC;;gCAtFK,UAAU"}
1
+ {"version":3,"file":"no-empty-headings.d.ts","sourceRoot":"","sources":["../../lib/rules/no-empty-headings.js"],"names":[],"mappings":"wBAwFW,WAAW,EAAE,CAAC;;gCAnFI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-extra-spacing-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-extra-spacing-attrs.js"],"names":[],"mappings":";;;wBA+BU,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;;;;gCA7BD,UAAU"}
1
+ {"version":3,"file":"no-extra-spacing-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-extra-spacing-attrs.js"],"names":[],"mappings":";;;wBAuCW,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;;;;gCA5BF,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-extra-spacing-text.d.ts","sourceRoot":"","sources":["../../lib/rules/no-extra-spacing-text.js"],"names":[],"mappings":";;;wBAkBU,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;gCAhBD,UAAU"}
1
+ {"version":3,"file":"no-extra-spacing-text.d.ts","sourceRoot":"","sources":["../../lib/rules/no-extra-spacing-text.js"],"names":[],"mappings":";;;wBAsBW,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;gCAfF,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-heading-inside-button.d.ts","sourceRoot":"","sources":["../../lib/rules/no-heading-inside-button.js"],"names":[],"mappings":"wBAgBU,WAAW,EAAE,CAAC;;gCAfK,UAAU"}
1
+ {"version":3,"file":"no-heading-inside-button.d.ts","sourceRoot":"","sources":["../../lib/rules/no-heading-inside-button.js"],"names":[],"mappings":"wBAaW,WAAW,EAAE,CAAC;;gCAbK,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-ineffective-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-ineffective-attrs.js"],"names":[],"mappings":";;;wBAiHU,WAAW,EAAE,CAAC;;wBA9GX;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,KAAK,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;CAAE;gCAF5D,UAAU;yBACN,oBAAoB;+BAApB,oBAAoB"}
1
+ {"version":3,"file":"no-ineffective-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-ineffective-attrs.js"],"names":[],"mappings":";;;wBAqHW,WAAW,EAAE,CAAC;;wBA/GZ;IACR,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,KAAK,OAAO,CAAC;IACzC,OAAO,EAAE,MAAM,CAAC;CACjB;gCALyB,UAAU;yBAD7B,oBAAoB;+BAApB,oBAAoB"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-inline-styles.d.ts","sourceRoot":"","sources":["../../lib/rules/no-inline-styles.js"],"names":[],"mappings":"wBAcU,WAAW,EAAE,CAAC;;gCAbK,UAAU"}
1
+ {"version":3,"file":"no-inline-styles.d.ts","sourceRoot":"","sources":["../../lib/rules/no-inline-styles.js"],"names":[],"mappings":"wBAWW,WAAW,EAAE,CAAC;;gCAXK,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-invalid-entity.d.ts","sourceRoot":"","sources":["../../lib/rules/no-invalid-entity.js"],"names":[],"mappings":";;;wBAwBU,WAAW,EAAE,CAAC;;;gBAhBV,MAAM,EAAE;gBACR,MAAM;;gCARS,UAAU"}
1
+ {"version":3,"file":"no-invalid-entity.d.ts","sourceRoot":"","sources":["../../lib/rules/no-invalid-entity.js"],"names":[],"mappings":";;;wBAuBW,WAAW,EAAE,CAAC;;;gBAfX,MAAM,EAAE;gBACR,MAAM;;gCAPS,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-invalid-role.d.ts","sourceRoot":"","sources":["../../lib/rules/no-invalid-role.js"],"names":[],"mappings":"wBAqOU,WAAW,EAAE,CAAC;;gCApOK,UAAU"}
1
+ {"version":3,"file":"no-invalid-role.d.ts","sourceRoot":"","sources":["../../lib/rules/no-invalid-role.js"],"names":[],"mappings":"wBAkOW,WAAW,EAAE,CAAC;;gCAlOK,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-multiple-empty-lines.d.ts","sourceRoot":"","sources":["../../lib/rules/no-multiple-empty-lines.js"],"names":[],"mappings":";;;wBA2BU,WAAW,CAAC,MAAM,CAAC,CAAC;;;SAtBhB,MAAM;;gCAHS,UAAU"}
1
+ {"version":3,"file":"no-multiple-empty-lines.d.ts","sourceRoot":"","sources":["../../lib/rules/no-multiple-empty-lines.js"],"names":[],"mappings":";;;wBA4BW,WAAW,CAAC,MAAM,CAAC,CAAC;;;SArBjB,MAAM;;gCAFS,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-multiple-h1.d.ts","sourceRoot":"","sources":["../../lib/rules/no-multiple-h1.js"],"names":[],"mappings":"wBAaU,WAAW,EAAE,CAAC;;gCAXK,UAAU"}
1
+ {"version":3,"file":"no-multiple-h1.d.ts","sourceRoot":"","sources":["../../lib/rules/no-multiple-h1.js"],"names":[],"mappings":"wBAYW,WAAW,EAAE,CAAC;;gCAVI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-nested-interactive.d.ts","sourceRoot":"","sources":["../../lib/rules/no-nested-interactive.js"],"names":[],"mappings":"wBA0DU,WAAW,EAAE,CAAC;;gCAxDK,UAAU"}
1
+ {"version":3,"file":"no-nested-interactive.d.ts","sourceRoot":"","sources":["../../lib/rules/no-nested-interactive.js"],"names":[],"mappings":"wBAyDW,WAAW,EAAE,CAAC;;gCAvDI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-non-scalable-viewport.d.ts","sourceRoot":"","sources":["../../lib/rules/no-non-scalable-viewport.js"],"names":[],"mappings":"wBAaU,WAAW,EAAE,CAAC;;gCAZK,UAAU"}
1
+ {"version":3,"file":"no-non-scalable-viewport.d.ts","sourceRoot":"","sources":["../../lib/rules/no-non-scalable-viewport.js"],"names":[],"mappings":"wBAUW,WAAW,EAAE,CAAC;;gCAVK,UAAU"}
@@ -0,0 +1,4 @@
1
+ declare const _exports: RuleModule<[]>;
2
+ export = _exports;
3
+ import type { RuleModule } from "../types";
4
+ //# sourceMappingURL=no-obsolete-attrs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-obsolete-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-obsolete-attrs.js"],"names":[],"mappings":"wBAmBW,WAAW,EAAE,CAAC;;gCAbI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-obsolete-tags.d.ts","sourceRoot":"","sources":["../../lib/rules/no-obsolete-tags.js"],"names":[],"mappings":"wBAeU,WAAW,EAAE,CAAC;;gCAdK,UAAU"}
1
+ {"version":3,"file":"no-obsolete-tags.d.ts","sourceRoot":"","sources":["../../lib/rules/no-obsolete-tags.js"],"names":[],"mappings":"wBAYW,WAAW,EAAE,CAAC;;gCAZK,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-positive-tabindex.d.ts","sourceRoot":"","sources":["../../lib/rules/no-positive-tabindex.js"],"names":[],"mappings":"wBAeU,WAAW,EAAE,CAAC;;gCAbK,UAAU"}
1
+ {"version":3,"file":"no-positive-tabindex.d.ts","sourceRoot":"","sources":["../../lib/rules/no-positive-tabindex.js"],"names":[],"mappings":"wBAkBW,WAAW,EAAE,CAAC;;gCAZI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-restricted-attr-values.d.ts","sourceRoot":"","sources":["../../lib/rules/no-restricted-attr-values.js"],"names":[],"mappings":";;;wBAeU,WAAW,OAAO,CAAC;;eAZhB;IAAC,YAAY,EAAE,MAAM,EAAE,CAAC;IAAC,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAC,EAAE;gCADzD,UAAU"}
1
+ {"version":3,"file":"no-restricted-attr-values.d.ts","sourceRoot":"","sources":["../../lib/rules/no-restricted-attr-values.js"],"names":[],"mappings":";;;wBAuBW,WAAW,OAAO,CAAC;;eAfjB;IACR,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,EAAE;gCALuB,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-restricted-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-restricted-attrs.js"],"names":[],"mappings":";;;wBAiBU,WAAW,OAAO,CAAC;;eAdhB;IAAC,WAAW,EAAE,MAAM,EAAE,CAAC;IAAC,YAAY,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAC,EAAE;gCADnD,UAAU"}
1
+ {"version":3,"file":"no-restricted-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-restricted-attrs.js"],"names":[],"mappings":";;;wBAwBW,WAAW,OAAO,CAAC;;eAhBjB;IACR,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,EAAE;gCALuB,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-restricted-tags.d.ts","sourceRoot":"","sources":["../../lib/rules/no-restricted-tags.js"],"names":[],"mappings":";;;wBAiBU,WAAW,OAAO,CAAC;;eAdhB;IAAC,WAAW,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAC,EAAE;gCAD3B,UAAU"}
1
+ {"version":3,"file":"no-restricted-tags.d.ts","sourceRoot":"","sources":["../../lib/rules/no-restricted-tags.js"],"names":[],"mappings":";;;wBAmBW,WAAW,OAAO,CAAC;;eAZjB;IAAE,WAAW,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE;gCAD7B,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-script-style-type.d.ts","sourceRoot":"","sources":["../../lib/rules/no-script-style-type.js"],"names":[],"mappings":"wBAeU,WAAW,EAAE,CAAC;;gCAdK,UAAU"}
1
+ {"version":3,"file":"no-script-style-type.d.ts","sourceRoot":"","sources":["../../lib/rules/no-script-style-type.js"],"names":[],"mappings":"wBAkBW,WAAW,EAAE,CAAC;;gCAZI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-skip-heading-levels.d.ts","sourceRoot":"","sources":["../../lib/rules/no-skip-heading-levels.js"],"names":[],"mappings":"wBAaU,WAAW,EAAE,CAAC;;gCAZK,UAAU"}
1
+ {"version":3,"file":"no-skip-heading-levels.d.ts","sourceRoot":"","sources":["../../lib/rules/no-skip-heading-levels.js"],"names":[],"mappings":"wBAYW,WAAW,EAAE,CAAC;;gCAVI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-target-blank.d.ts","sourceRoot":"","sources":["../../lib/rules/no-target-blank.js"],"names":[],"mappings":"wBAcU,WAAW,EAAE,CAAC;;gCAbK,UAAU"}
1
+ {"version":3,"file":"no-target-blank.d.ts","sourceRoot":"","sources":["../../lib/rules/no-target-blank.js"],"names":[],"mappings":"wBAWW,WAAW,EAAE,CAAC;;gCAXK,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-trailing-spaces.d.ts","sourceRoot":"","sources":["../../lib/rules/no-trailing-spaces.js"],"names":[],"mappings":"wBAwBU,WAAW,EAAE,CAAC;;gCAvBK,UAAU"}
1
+ {"version":3,"file":"no-trailing-spaces.d.ts","sourceRoot":"","sources":["../../lib/rules/no-trailing-spaces.js"],"names":[],"mappings":"wBA0BW,WAAW,EAAE,CAAC;;gCArBI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-whitespace-only-children.d.ts","sourceRoot":"","sources":["../../lib/rules/no-whitespace-only-children.js"],"names":[],"mappings":"wBA4CU,WAAW,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;CAAC,CAAC,CAAC;;gCA1CnB,UAAU"}
1
+ {"version":3,"file":"no-whitespace-only-children.d.ts","sourceRoot":"","sources":["../../lib/rules/no-whitespace-only-children.js"],"names":[],"mappings":"wBA4CW,WAAW,CAAC;IAAE,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CAAC;;gCAvCtB,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"prefer-https.d.ts","sourceRoot":"","sources":["../../lib/rules/prefer-https.js"],"names":[],"mappings":"wBAiEU,WAAW,EAAE,CAAC;;gCA/DK,UAAU"}
1
+ {"version":3,"file":"prefer-https.d.ts","sourceRoot":"","sources":["../../lib/rules/prefer-https.js"],"names":[],"mappings":"wBAiEW,WAAW,EAAE,CAAC;;gCA1DI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"quotes.d.ts","sourceRoot":"","sources":["../../lib/rules/quotes.js"],"names":[],"mappings":";;;wBA4BU,WAAW,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC;;2BAvB5C,QAAQ,GAAG,QAAQ;oBACnB;IAAC,yBAAyB,EAAE,OAAO,CAAA;CAAC;gCAHpB,UAAU"}
1
+ {"version":3,"file":"quotes.d.ts","sourceRoot":"","sources":["../../lib/rules/quotes.js"],"names":[],"mappings":";;;wBAgCW,WAAW,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC;;2BAvB7C,QAAQ,GAAG,QAAQ;oBAEnB;IAAE,yBAAyB,EAAE,OAAO,CAAA;CAAE;gCAHtB,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/require-attrs.js"],"names":[],"mappings":";;;wBAuBU,WAAW,MAAM,EAAE,CAAC;;;SAlBhB,MAAM;UACN,MAAM;;;;gCAJ4B,UAAU"}
1
+ {"version":3,"file":"require-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/require-attrs.js"],"names":[],"mappings":";;;wBA4BW,WAAW,MAAM,EAAE,CAAC;;;SAhBjB,MAAM;UACN,MAAM;;;;gCAHV,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-button-type.d.ts","sourceRoot":"","sources":["../../lib/rules/require-button-type.js"],"names":[],"mappings":"wBAqBU,WAAW,EAAE,CAAC;;gCApBiC,UAAU"}
1
+ {"version":3,"file":"require-button-type.d.ts","sourceRoot":"","sources":["../../lib/rules/require-button-type.js"],"names":[],"mappings":"wBAuBW,WAAW,EAAE,CAAC;;gCAlBf,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-closing-tags.d.ts","sourceRoot":"","sources":["../../lib/rules/require-closing-tags.js"],"names":[],"mappings":";;;wBAuBU,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;;gCArBD,UAAU"}
1
+ {"version":3,"file":"require-closing-tags.d.ts","sourceRoot":"","sources":["../../lib/rules/require-closing-tags.js"],"names":[],"mappings":";;;wBAyBW,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;;gCAnBF,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-doctype.d.ts","sourceRoot":"","sources":["../../lib/rules/require-doctype.js"],"names":[],"mappings":"wBAYU,WAAW,EAAE,CAAC;;gCAXK,UAAU"}
1
+ {"version":3,"file":"require-doctype.d.ts","sourceRoot":"","sources":["../../lib/rules/require-doctype.js"],"names":[],"mappings":"wBASW,WAAW,EAAE,CAAC;;gCATK,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-explicit-size.d.ts","sourceRoot":"","sources":["../../lib/rules/require-explicit-size.js"],"names":[],"mappings":";;;wBAqBU,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;;gCApBD,UAAU"}
1
+ {"version":3,"file":"require-explicit-size.d.ts","sourceRoot":"","sources":["../../lib/rules/require-explicit-size.js"],"names":[],"mappings":";;;wBAmBW,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;;gCAlBF,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-form-method.d.ts","sourceRoot":"","sources":["../../lib/rules/require-form-method.js"],"names":[],"mappings":"wBAmBU,WAAW,EAAE,CAAC;;gCAlBK,UAAU"}
1
+ {"version":3,"file":"require-form-method.d.ts","sourceRoot":"","sources":["../../lib/rules/require-form-method.js"],"names":[],"mappings":"wBAgBW,WAAW,EAAE,CAAC;;gCAhBK,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-frame-title.d.ts","sourceRoot":"","sources":["../../lib/rules/require-frame-title.js"],"names":[],"mappings":"wBAeU,WAAW,EAAE,CAAC;;gCAdK,UAAU"}
1
+ {"version":3,"file":"require-frame-title.d.ts","sourceRoot":"","sources":["../../lib/rules/require-frame-title.js"],"names":[],"mappings":"wBAYW,WAAW,EAAE,CAAC;;gCAZK,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-img-alt.d.ts","sourceRoot":"","sources":["../../lib/rules/require-img-alt.js"],"names":[],"mappings":";;;wBAkBU,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;gCAhBD,UAAU"}
1
+ {"version":3,"file":"require-img-alt.d.ts","sourceRoot":"","sources":["../../lib/rules/require-img-alt.js"],"names":[],"mappings":";;;wBAgBW,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;gCAdF,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-input-label.d.ts","sourceRoot":"","sources":["../../lib/rules/require-input-label.js"],"names":[],"mappings":"wBAmBU,WAAW,EAAE,CAAC;;gCAlBK,UAAU"}
1
+ {"version":3,"file":"require-input-label.d.ts","sourceRoot":"","sources":["../../lib/rules/require-input-label.js"],"names":[],"mappings":"wBAkBW,WAAW,EAAE,CAAC;;gCAhBI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-lang.d.ts","sourceRoot":"","sources":["../../lib/rules/require-lang.js"],"names":[],"mappings":"wBAeU,WAAW,EAAE,CAAC;;gCAdK,UAAU"}
1
+ {"version":3,"file":"require-lang.d.ts","sourceRoot":"","sources":["../../lib/rules/require-lang.js"],"names":[],"mappings":"wBAYW,WAAW,EAAE,CAAC;;gCAZK,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-li-container.d.ts","sourceRoot":"","sources":["../../lib/rules/require-li-container.js"],"names":[],"mappings":"wBAeU,WAAW,EAAE,CAAC;;gCAdK,UAAU"}
1
+ {"version":3,"file":"require-li-container.d.ts","sourceRoot":"","sources":["../../lib/rules/require-li-container.js"],"names":[],"mappings":"wBAYW,WAAW,EAAE,CAAC;;gCAZK,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-meta-charset.d.ts","sourceRoot":"","sources":["../../lib/rules/require-meta-charset.js"],"names":[],"mappings":"wBAwBU,WAAW,EAAE,CAAC;;gCAvBK,UAAU"}
1
+ {"version":3,"file":"require-meta-charset.d.ts","sourceRoot":"","sources":["../../lib/rules/require-meta-charset.js"],"names":[],"mappings":"wBA0BW,WAAW,EAAE,CAAC;;gCArBI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-meta-description.d.ts","sourceRoot":"","sources":["../../lib/rules/require-meta-description.js"],"names":[],"mappings":"wBAuBU,WAAW,EAAE,CAAC;;gCArBK,UAAU"}
1
+ {"version":3,"file":"require-meta-description.d.ts","sourceRoot":"","sources":["../../lib/rules/require-meta-description.js"],"names":[],"mappings":"wBAyBW,WAAW,EAAE,CAAC;;gCApBI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-meta-viewport.d.ts","sourceRoot":"","sources":["../../lib/rules/require-meta-viewport.js"],"names":[],"mappings":"wBAgCU,WAAW,EAAE,CAAC;;gCA9BK,UAAU"}
1
+ {"version":3,"file":"require-meta-viewport.d.ts","sourceRoot":"","sources":["../../lib/rules/require-meta-viewport.js"],"names":[],"mappings":"wBAkCW,WAAW,EAAE,CAAC;;gCA7BI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-open-graph-protocol.d.ts","sourceRoot":"","sources":["../../lib/rules/require-open-graph-protocol.js"],"names":[],"mappings":";;;wBAmCU,WAAW,CAAC,MAAM,CAAC,CAAC;;cAhCjB,MAAM,EAAE;gCADQ,UAAU"}
1
+ {"version":3,"file":"require-open-graph-protocol.d.ts","sourceRoot":"","sources":["../../lib/rules/require-open-graph-protocol.js"],"names":[],"mappings":";;;wBAqCW,WAAW,CAAC,MAAM,CAAC,CAAC;;cA/BlB,MAAM,EAAE;gCADQ,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-title.d.ts","sourceRoot":"","sources":["../../lib/rules/require-title.js"],"names":[],"mappings":"wBAgCU,WAAW,EAAE,CAAC;;gCA9BK,UAAU"}
1
+ {"version":3,"file":"require-title.d.ts","sourceRoot":"","sources":["../../lib/rules/require-title.js"],"names":[],"mappings":"wBAmCW,WAAW,EAAE,CAAC;;gCA7BI,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"sort-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/sort-attrs.js"],"names":[],"mappings":";;;wBAmBU,WAAW,CAAC,MAAM,CAAC,CAAC;;;;iBAdS,MAAM;;;gCAHL,UAAU"}
1
+ {"version":3,"file":"sort-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/sort-attrs.js"],"names":[],"mappings":";;;wBAoBW,WAAW,CAAC,MAAM,CAAC,CAAC;;;;iBAbI,MAAM;;;gCAF/B,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-baseline.d.ts","sourceRoot":"","sources":["../../lib/rules/use-baseline.js"],"names":[],"mappings":";;;wBAwBU,WAAW,CAAC,MAAM,CAAC,CAAC;;;eApBhB,QAAQ,GAAG,OAAO,GAAG,MAAM;;gCAHZ,UAAU"}
1
+ {"version":3,"file":"use-baseline.d.ts","sourceRoot":"","sources":["../../lib/rules/use-baseline.js"],"names":[],"mappings":";;;wBA4BW,WAAW,CAAC,MAAM,CAAC,CAAC;;;eAnBjB,QAAQ,GAAG,OAAO,GAAG,MAAM;;gCAFZ,UAAU"}
@@ -1,8 +1,6 @@
1
1
  export const elements: Map<string, string>;
2
2
  export const globalAttributes: Map<string, string>;
3
- /**
4
- * This file is auto-generated. (yarn run baseline)
5
- */
3
+ /** This file is auto-generated. (yarn run baseline) */
6
4
  export const BASELINE_HIGH: 10;
7
5
  export const BASELINE_LOW: 5;
8
6
  export const BASELINE_FALSE: 0;
@@ -1 +1 @@
1
- {"version":3,"file":"baseline.d.ts","sourceRoot":"","sources":["../../../lib/rules/utils/baseline.js"],"names":[],"mappings":"AAOA,2CAkkBG;AACH,mDA4BG;AAtmBH;;GAEG;AACH,4BAAsB,EAAE,CAAC;AACzB,2BAAqB,CAAC,CAAC;AACvB,6BAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"baseline.d.ts","sourceRoot":"","sources":["../../../lib/rules/utils/baseline.js"],"names":[],"mappings":"AAKA,2CAkkBG;AACH,mDA4BG;AApmBH,uDAAuD;AACvD,4BAAsB,EAAE,CAAC;AACzB,2BAAqB,CAAC,CAAC;AACvB,6BAAuB,CAAC,CAAC"}
@@ -1,24 +1,31 @@
1
1
  /**
2
2
  * Checks a given name follows `kebab-case` or not.
3
- * @param {string} name name to check
4
- * @returns {boolean} `true` if a name follows `kebab-case`, otherwise `false`.
3
+ *
4
+ * @param {string} name Name to check
5
+ * @returns {boolean} `true` if a name follows `kebab-case`, otherwise
6
+ * `false`.
5
7
  */
6
8
  export function isKebabCase(name: string): boolean;
7
9
  /**
8
10
  * Checks a given name follows `snake_case` or not.
9
- * @param {string} name name to check
10
- * @returns {boolean} `true` if a name follows `snake_case`, otherwise `false`.
11
+ *
12
+ * @param {string} name Name to check
13
+ * @returns {boolean} `true` if a name follows `snake_case`, otherwise
14
+ * `false`.
11
15
  */
12
16
  export function isSnakeCase(name: string): boolean;
13
17
  /**
14
18
  * Checks a given name follows `PascalCase` or not.
15
- * @param {string} name name to check
16
- * @returns {boolean} `true` if a name follows `PascalCase`, otherwise `false`.
19
+ *
20
+ * @param {string} name Name to check
21
+ * @returns {boolean} `true` if a name follows `PascalCase`, otherwise
22
+ * `false`.
17
23
  */
18
24
  export function isPascalCase(name: string): boolean;
19
25
  /**
20
26
  * Checks a given name follows `camelCase` or not.
21
- * @param {string} name name to check
27
+ *
28
+ * @param {string} name Name to check
22
29
  * @returns {boolean} `true` if a name follows `camelCase`, otherwise `false`.
23
30
  */
24
31
  export function isCamelCase(name: string): boolean;