@html-eslint/eslint-plugin 0.42.0 → 0.43.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.
- package/lib/languages/html-language.js +3 -3
- package/lib/languages/html-source-code.js +9 -11
- package/lib/languages/html-traversal-step.js +4 -3
- package/lib/rules/attrs-newline.js +3 -4
- package/lib/rules/element-newline.js +4 -14
- package/lib/rules/id-naming-convention.js +3 -6
- package/lib/rules/indent/indent-level.js +1 -1
- package/lib/rules/indent/indent.js +18 -23
- package/lib/rules/lowercase.js +3 -5
- package/lib/rules/max-element-depth.js +3 -5
- package/lib/rules/no-abstract-roles.js +3 -5
- package/lib/rules/no-accesskey-attrs.js +3 -5
- package/lib/rules/no-aria-hidden-body.js +2 -2
- package/lib/rules/no-aria-hidden-on-focusable.js +3 -3
- package/lib/rules/no-duplicate-attrs.js +8 -8
- package/lib/rules/no-duplicate-class.js +3 -6
- package/lib/rules/no-duplicate-id.js +6 -9
- package/lib/rules/no-duplicate-in-head.js +6 -9
- package/lib/rules/no-empty-headings.js +3 -4
- package/lib/rules/no-extra-spacing-attrs.js +4 -14
- package/lib/rules/no-extra-spacing-text.js +3 -9
- package/lib/rules/no-heading-inside-button.js +2 -2
- package/lib/rules/no-inline-styles.js +2 -2
- package/lib/rules/no-invalid-entity.js +3 -4
- package/lib/rules/no-invalid-role.js +2 -2
- package/lib/rules/no-multiple-empty-lines.js +10 -11
- package/lib/rules/no-multiple-h1.js +3 -3
- package/lib/rules/no-nested-interactive.js +3 -3
- package/lib/rules/no-non-scalable-viewport.js +2 -2
- package/lib/rules/no-obsolete-tags.js +2 -2
- package/lib/rules/no-positive-tabindex.js +3 -5
- package/lib/rules/no-restricted-attr-values.js +4 -6
- package/lib/rules/no-restricted-attrs.js +4 -6
- package/lib/rules/no-script-style-type.js +3 -5
- package/lib/rules/no-skip-heading-levels.js +3 -3
- package/lib/rules/no-target-blank.js +2 -2
- package/lib/rules/no-trailing-spaces.js +10 -9
- package/lib/rules/prefer-https.js +3 -6
- package/lib/rules/quotes.js +25 -10
- package/lib/rules/require-attrs.js +3 -8
- package/lib/rules/require-button-type.js +3 -4
- package/lib/rules/require-closing-tags.js +3 -3
- package/lib/rules/require-doctype.js +2 -2
- package/lib/rules/require-explicit-size.js +2 -5
- package/lib/rules/require-form-method.js +2 -2
- package/lib/rules/require-frame-title.js +2 -2
- package/lib/rules/require-img-alt.js +4 -4
- package/lib/rules/require-input-label.js +3 -3
- package/lib/rules/require-lang.js +2 -2
- package/lib/rules/require-li-container.js +2 -2
- package/lib/rules/require-meta-charset.js +3 -4
- package/lib/rules/require-meta-description.js +3 -4
- package/lib/rules/require-meta-viewport.js +3 -4
- package/lib/rules/require-open-graph-protocol.js +3 -6
- package/lib/rules/require-title.js +3 -5
- package/lib/rules/sort-attrs.js +4 -5
- package/lib/rules/use-baseline.js +3 -6
- package/lib/rules/utils/baseline.js +7 -4
- package/lib/rules/utils/node.js +11 -26
- package/lib/rules/utils/settings.js +4 -7
- package/lib/rules/utils/source-code.js +2 -2
- package/lib/rules/utils/template-literal.js +43 -0
- package/lib/rules/utils/visitors.js +6 -7
- package/package.json +6 -6
- package/types/languages/html-language.d.ts +0 -5
- package/types/languages/html-language.d.ts.map +1 -1
- package/types/languages/html-source-code.d.ts +13 -14
- package/types/languages/html-source-code.d.ts.map +1 -1
- package/types/languages/html-traversal-step.d.ts +5 -5
- package/types/languages/html-traversal-step.d.ts.map +1 -1
- package/types/rules/attrs-newline.d.ts +3 -4
- package/types/rules/attrs-newline.d.ts.map +1 -1
- package/types/rules/element-newline.d.ts +5 -13
- package/types/rules/element-newline.d.ts.map +1 -1
- package/types/rules/id-naming-convention.d.ts +3 -6
- package/types/rules/id-naming-convention.d.ts.map +1 -1
- package/types/rules/indent/indent-level.d.ts +3 -3
- package/types/rules/indent/indent-level.d.ts.map +1 -1
- package/types/rules/indent/indent.d.ts +5 -18
- package/types/rules/indent/indent.d.ts.map +1 -1
- package/types/rules/lowercase.d.ts +2 -8
- package/types/rules/lowercase.d.ts.map +1 -1
- package/types/rules/max-element-depth.d.ts +3 -6
- package/types/rules/max-element-depth.d.ts.map +1 -1
- package/types/rules/no-abstract-roles.d.ts +2 -8
- package/types/rules/no-abstract-roles.d.ts.map +1 -1
- package/types/rules/no-accesskey-attrs.d.ts +2 -8
- package/types/rules/no-accesskey-attrs.d.ts.map +1 -1
- package/types/rules/no-aria-hidden-body.d.ts +2 -5
- package/types/rules/no-aria-hidden-body.d.ts.map +1 -1
- package/types/rules/no-aria-hidden-on-focusable.d.ts +2 -6
- package/types/rules/no-aria-hidden-on-focusable.d.ts.map +1 -1
- package/types/rules/no-duplicate-attrs.d.ts +2 -10
- package/types/rules/no-duplicate-attrs.d.ts.map +1 -1
- package/types/rules/no-duplicate-class.d.ts +3 -7
- package/types/rules/no-duplicate-class.d.ts.map +1 -1
- package/types/rules/no-duplicate-id.d.ts +2 -9
- package/types/rules/no-duplicate-id.d.ts.map +1 -1
- package/types/rules/no-duplicate-in-head.d.ts +2 -9
- package/types/rules/no-duplicate-in-head.d.ts.map +1 -1
- package/types/rules/no-empty-headings.d.ts +2 -7
- package/types/rules/no-empty-headings.d.ts.map +1 -1
- package/types/rules/no-extra-spacing-attrs.d.ts +3 -14
- package/types/rules/no-extra-spacing-attrs.d.ts.map +1 -1
- package/types/rules/no-extra-spacing-text.d.ts +3 -9
- package/types/rules/no-extra-spacing-text.d.ts.map +1 -1
- package/types/rules/no-heading-inside-button.d.ts +2 -5
- package/types/rules/no-heading-inside-button.d.ts.map +1 -1
- package/types/rules/no-inline-styles.d.ts +2 -5
- package/types/rules/no-inline-styles.d.ts.map +1 -1
- package/types/rules/no-invalid-entity.d.ts +3 -5
- package/types/rules/no-invalid-entity.d.ts.map +1 -1
- package/types/rules/no-invalid-role.d.ts +2 -5
- package/types/rules/no-invalid-role.d.ts.map +1 -1
- package/types/rules/no-multiple-empty-lines.d.ts +3 -7
- package/types/rules/no-multiple-empty-lines.d.ts.map +1 -1
- package/types/rules/no-multiple-h1.d.ts +2 -6
- package/types/rules/no-multiple-h1.d.ts.map +1 -1
- package/types/rules/no-nested-interactive.d.ts +2 -6
- package/types/rules/no-nested-interactive.d.ts.map +1 -1
- package/types/rules/no-non-scalable-viewport.d.ts +2 -5
- package/types/rules/no-non-scalable-viewport.d.ts.map +1 -1
- package/types/rules/no-obsolete-tags.d.ts +2 -5
- package/types/rules/no-obsolete-tags.d.ts.map +1 -1
- package/types/rules/no-positive-tabindex.d.ts +2 -8
- package/types/rules/no-positive-tabindex.d.ts.map +1 -1
- package/types/rules/no-restricted-attr-values.d.ts +3 -7
- package/types/rules/no-restricted-attr-values.d.ts.map +1 -1
- package/types/rules/no-restricted-attrs.d.ts +3 -7
- package/types/rules/no-restricted-attrs.d.ts.map +1 -1
- package/types/rules/no-script-style-type.d.ts +2 -8
- package/types/rules/no-script-style-type.d.ts.map +1 -1
- package/types/rules/no-skip-heading-levels.d.ts +2 -6
- package/types/rules/no-skip-heading-levels.d.ts.map +1 -1
- package/types/rules/no-target-blank.d.ts +2 -5
- package/types/rules/no-target-blank.d.ts.map +1 -1
- package/types/rules/no-trailing-spaces.d.ts +2 -7
- package/types/rules/no-trailing-spaces.d.ts.map +1 -1
- package/types/rules/prefer-https.d.ts +2 -9
- package/types/rules/prefer-https.d.ts.map +1 -1
- package/types/rules/quotes.d.ts +7 -9
- package/types/rules/quotes.d.ts.map +1 -1
- package/types/rules/require-attrs.d.ts +3 -8
- package/types/rules/require-attrs.d.ts.map +1 -1
- package/types/rules/require-button-type.d.ts +2 -7
- package/types/rules/require-button-type.d.ts.map +1 -1
- package/types/rules/require-closing-tags.d.ts +3 -4
- package/types/rules/require-closing-tags.d.ts.map +1 -1
- package/types/rules/require-doctype.d.ts +2 -5
- package/types/rules/require-doctype.d.ts.map +1 -1
- package/types/rules/require-explicit-size.d.ts +3 -5
- package/types/rules/require-explicit-size.d.ts.map +1 -1
- package/types/rules/require-form-method.d.ts +2 -5
- package/types/rules/require-form-method.d.ts.map +1 -1
- package/types/rules/require-frame-title.d.ts +2 -5
- package/types/rules/require-frame-title.d.ts.map +1 -1
- package/types/rules/require-img-alt.d.ts +3 -4
- package/types/rules/require-img-alt.d.ts.map +1 -1
- package/types/rules/require-input-label.d.ts +2 -6
- package/types/rules/require-input-label.d.ts.map +1 -1
- package/types/rules/require-lang.d.ts +2 -5
- package/types/rules/require-lang.d.ts.map +1 -1
- package/types/rules/require-li-container.d.ts +2 -5
- package/types/rules/require-li-container.d.ts.map +1 -1
- package/types/rules/require-meta-charset.d.ts +2 -7
- package/types/rules/require-meta-charset.d.ts.map +1 -1
- package/types/rules/require-meta-description.d.ts +2 -7
- package/types/rules/require-meta-description.d.ts.map +1 -1
- package/types/rules/require-meta-viewport.d.ts +2 -7
- package/types/rules/require-meta-viewport.d.ts.map +1 -1
- package/types/rules/require-open-graph-protocol.d.ts +3 -5
- package/types/rules/require-open-graph-protocol.d.ts.map +1 -1
- package/types/rules/require-title.d.ts +2 -8
- package/types/rules/require-title.d.ts.map +1 -1
- package/types/rules/sort-attrs.d.ts +3 -6
- package/types/rules/sort-attrs.d.ts.map +1 -1
- package/types/rules/use-baseline.d.ts +3 -7
- package/types/rules/use-baseline.d.ts.map +1 -1
- package/types/rules/utils/baseline.d.ts.map +1 -1
- package/types/rules/utils/node.d.ts +25 -29
- package/types/rules/utils/node.d.ts.map +1 -1
- package/types/rules/utils/settings.d.ts +7 -9
- package/types/rules/utils/settings.d.ts.map +1 -1
- package/types/rules/utils/source-code.d.ts +4 -4
- package/types/rules/utils/source-code.d.ts.map +1 -1
- package/types/rules/utils/template-literal.d.ts +18 -0
- package/types/rules/utils/template-literal.d.ts.map +1 -0
- package/types/rules/utils/visitors.d.ts +4 -4
- package/types/rules/utils/visitors.d.ts.map +1 -1
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Options };
|
|
3
3
|
}
|
|
4
|
-
declare const _exports: RuleModule
|
|
4
|
+
declare const _exports: RuleModule<Options>;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type StyleTag = import("@html-eslint/types").StyleTag;
|
|
7
|
-
type Attribute = import("@html-eslint/types").Attribute;
|
|
8
|
-
type Tag = import("@html-eslint/types").Tag;
|
|
9
|
-
type ScriptTag = import("@html-eslint/types").ScriptTag;
|
|
10
6
|
type Options = {
|
|
11
7
|
attrPatterns: string[];
|
|
12
8
|
attrValuePatterns: string[];
|
|
13
9
|
message?: string;
|
|
14
10
|
}[];
|
|
15
|
-
type RuleModule
|
|
11
|
+
import type { RuleModule } from "../types";
|
|
16
12
|
//# sourceMappingURL=no-restricted-attr-values.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-restricted-attr-values.d.ts","sourceRoot":"","sources":["../../lib/rules/no-restricted-attr-values.js"],"names":[],"mappings":";;;
|
|
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,16 +1,12 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Options };
|
|
3
3
|
}
|
|
4
|
-
declare const _exports: RuleModule
|
|
4
|
+
declare const _exports: RuleModule<Options>;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type StyleTag = import("@html-eslint/types").StyleTag;
|
|
7
|
-
type Attribute = import("@html-eslint/types").Attribute;
|
|
8
|
-
type Tag = import("@html-eslint/types").Tag;
|
|
9
|
-
type ScriptTag = import("@html-eslint/types").ScriptTag;
|
|
10
6
|
type Options = {
|
|
11
7
|
tagPatterns: string[];
|
|
12
8
|
attrPatterns: string[];
|
|
13
9
|
message?: string;
|
|
14
10
|
}[];
|
|
15
|
-
type RuleModule
|
|
11
|
+
import type { RuleModule } from "../types";
|
|
16
12
|
//# sourceMappingURL=no-restricted-attrs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-restricted-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-restricted-attrs.js"],"names":[],"mappings":";;;
|
|
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,10 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { RuleModule, StyleTag, Tag, ScriptTag };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type RuleModule
|
|
7
|
-
type StyleTag = import("@html-eslint/types").StyleTag;
|
|
8
|
-
type Tag = import("@html-eslint/types").Tag;
|
|
9
|
-
type ScriptTag = import("@html-eslint/types").ScriptTag;
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
10
4
|
//# sourceMappingURL=no-script-style-type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-script-style-type.d.ts","sourceRoot":"","sources":["../../lib/rules/no-script-style-type.js"],"names":[],"mappings":"
|
|
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,8 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { RuleModule, Tag };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type RuleModule
|
|
7
|
-
type Tag = import("@html-eslint/types").Tag;
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
8
4
|
//# sourceMappingURL=no-skip-heading-levels.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-skip-heading-levels.d.ts","sourceRoot":"","sources":["../../lib/rules/no-skip-heading-levels.js"],"names":[],"mappings":"
|
|
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,7 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { RuleModule };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type RuleModule
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
7
4
|
//# sourceMappingURL=no-target-blank.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-target-blank.d.ts","sourceRoot":"","sources":["../../lib/rules/no-target-blank.js"],"names":[],"mappings":"
|
|
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,9 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { RuleModule, CommentContent, Text };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type RuleModule
|
|
7
|
-
type CommentContent = import("@html-eslint/types").CommentContent;
|
|
8
|
-
type Text = import("@html-eslint/types").Text;
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
9
4
|
//# sourceMappingURL=no-trailing-spaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-trailing-spaces.d.ts","sourceRoot":"","sources":["../../lib/rules/no-trailing-spaces.js"],"names":[],"mappings":"
|
|
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,11 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { RuleModule, Tag, ScriptTag, Attribute, AttributeValue };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type RuleModule
|
|
7
|
-
type Tag = import("@html-eslint/types").Tag;
|
|
8
|
-
type ScriptTag = import("@html-eslint/types").ScriptTag;
|
|
9
|
-
type Attribute = import("@html-eslint/types").Attribute;
|
|
10
|
-
type AttributeValue = import("@html-eslint/types").AttributeValue;
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
11
4
|
//# sourceMappingURL=prefer-https.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prefer-https.d.ts","sourceRoot":"","sources":["../../lib/rules/prefer-https.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"prefer-https.d.ts","sourceRoot":"","sources":["../../lib/rules/prefer-https.js"],"names":[],"mappings":"wBAiEU,WAAW,EAAE,CAAC;;gCA/DK,UAAU"}
|
package/types/rules/quotes.d.ts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { SingleOrQuoteOption, ObjectOption };
|
|
3
3
|
}
|
|
4
|
-
declare const _exports: RuleModule
|
|
4
|
+
declare const _exports: RuleModule<[SingleOrQuoteOption, ObjectOption]>;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
type
|
|
11
|
-
type Option = "single" | "double";
|
|
12
|
-
type RuleModule = import("../types").RuleModule<[Option]>;
|
|
6
|
+
type SingleOrQuoteOption = "single" | "double";
|
|
7
|
+
type ObjectOption = {
|
|
8
|
+
enforceTemplatedAttrValue: boolean;
|
|
9
|
+
};
|
|
10
|
+
import type { RuleModule } from "../types";
|
|
13
11
|
//# sourceMappingURL=quotes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quotes.d.ts","sourceRoot":"","sources":["../../lib/rules/quotes.js"],"names":[],"mappings":";;;
|
|
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,17 +1,12 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Option };
|
|
3
3
|
}
|
|
4
|
-
declare const _exports: RuleModule
|
|
4
|
+
declare const _exports: RuleModule<Option[]>;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type Tag = import("@html-eslint/types").Tag;
|
|
7
|
-
type ScriptTag = import("@html-eslint/types").ScriptTag;
|
|
8
|
-
type StyleTag = import("@html-eslint/types").StyleTag;
|
|
9
|
-
type Attribute = import("@html-eslint/types").Attribute;
|
|
10
6
|
type Option = {
|
|
11
7
|
tag: string;
|
|
12
8
|
attr: string;
|
|
13
9
|
value?: string | undefined;
|
|
14
10
|
};
|
|
15
|
-
type RuleModule
|
|
16
|
-
type ReportFixFunction = import("../types").ReportFixFunction;
|
|
11
|
+
import type { RuleModule } from "../types";
|
|
17
12
|
//# sourceMappingURL=require-attrs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/require-attrs.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"require-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/require-attrs.js"],"names":[],"mappings":";;;wBAsBU,WAAW,MAAM,EAAE,CAAC;;;SAjBhB,MAAM;UACN,MAAM;;;gCAJ4B,UAAU"}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { RuleModule, AttributeValue, SuggestionReportDescriptor };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type RuleModule
|
|
7
|
-
type AttributeValue = import("@html-eslint/types").AttributeValue;
|
|
8
|
-
type SuggestionReportDescriptor = import("../types").SuggestionReportDescriptor;
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
9
4
|
//# sourceMappingURL=require-button-type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-button-type.d.ts","sourceRoot":"","sources":["../../lib/rules/require-button-type.js"],"names":[],"mappings":"
|
|
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,12 +1,11 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Option };
|
|
3
3
|
}
|
|
4
|
-
declare const _exports: RuleModule
|
|
4
|
+
declare const _exports: RuleModule<[Option]>;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type Tag = import("@html-eslint/types").Tag;
|
|
7
6
|
type Option = {
|
|
8
7
|
selfClosing?: "always" | "never" | undefined;
|
|
9
8
|
selfClosingCustomPatterns?: string[] | undefined;
|
|
10
9
|
};
|
|
11
|
-
type RuleModule
|
|
10
|
+
import type { RuleModule } from "../types";
|
|
12
11
|
//# sourceMappingURL=require-closing-tags.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-closing-tags.d.ts","sourceRoot":"","sources":["../../lib/rules/require-closing-tags.js"],"names":[],"mappings":";;;wBAsBU,
|
|
1
|
+
{"version":3,"file":"require-closing-tags.d.ts","sourceRoot":"","sources":["../../lib/rules/require-closing-tags.js"],"names":[],"mappings":";;;wBAsBU,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;;gCApBD,UAAU"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { RuleModule };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type RuleModule
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
7
4
|
//# sourceMappingURL=require-doctype.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-doctype.d.ts","sourceRoot":"","sources":["../../lib/rules/require-doctype.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require-doctype.d.ts","sourceRoot":"","sources":["../../lib/rules/require-doctype.js"],"names":[],"mappings":"wBAYU,WAAW,EAAE,CAAC;;gCAXK,UAAU"}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Option };
|
|
3
3
|
}
|
|
4
|
-
declare const _exports: RuleModule
|
|
4
|
+
declare const _exports: RuleModule<[Option]>;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type Tag = import("@html-eslint/types").Tag;
|
|
7
|
-
type AnyNode = import("@html-eslint/types").AnyNode;
|
|
8
6
|
type Option = {
|
|
9
7
|
allowClass?: string[] | undefined;
|
|
10
8
|
allowId?: string[] | undefined;
|
|
11
9
|
};
|
|
12
|
-
type RuleModule
|
|
10
|
+
import type { RuleModule } from "../types";
|
|
13
11
|
//# sourceMappingURL=require-explicit-size.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-explicit-size.d.ts","sourceRoot":"","sources":["../../lib/rules/require-explicit-size.js"],"names":[],"mappings":";;;
|
|
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,7 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { RuleModule };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type RuleModule
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
7
4
|
//# sourceMappingURL=require-form-method.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-form-method.d.ts","sourceRoot":"","sources":["../../lib/rules/require-form-method.js"],"names":[],"mappings":"
|
|
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,7 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { RuleModule };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type RuleModule
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
7
4
|
//# sourceMappingURL=require-frame-title.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-frame-title.d.ts","sourceRoot":"","sources":["../../lib/rules/require-frame-title.js"],"names":[],"mappings":"
|
|
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,11 +1,10 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Option };
|
|
3
3
|
}
|
|
4
|
-
declare const _exports: RuleModule
|
|
4
|
+
declare const _exports: RuleModule<[Option]>;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type Tag = import("@html-eslint/types").Tag;
|
|
7
6
|
type Option = {
|
|
8
7
|
substitute?: string[] | undefined;
|
|
9
8
|
};
|
|
10
|
-
type RuleModule
|
|
9
|
+
import type { RuleModule } from "../types";
|
|
11
10
|
//# sourceMappingURL=require-img-alt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-img-alt.d.ts","sourceRoot":"","sources":["../../lib/rules/require-img-alt.js"],"names":[],"mappings":";;;
|
|
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,8 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { Tag, RuleModule };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type RuleModule = import("../types").RuleModule<[]>;
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
8
4
|
//# sourceMappingURL=require-input-label.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-input-label.d.ts","sourceRoot":"","sources":["../../lib/rules/require-input-label.js"],"names":[],"mappings":"
|
|
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,7 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { RuleModule };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type RuleModule
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
7
4
|
//# sourceMappingURL=require-lang.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-lang.d.ts","sourceRoot":"","sources":["../../lib/rules/require-lang.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require-lang.d.ts","sourceRoot":"","sources":["../../lib/rules/require-lang.js"],"names":[],"mappings":"wBAeU,WAAW,EAAE,CAAC;;gCAdK,UAAU"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { RuleModule };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type RuleModule
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
7
4
|
//# sourceMappingURL=require-li-container.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-li-container.d.ts","sourceRoot":"","sources":["../../lib/rules/require-li-container.js"],"names":[],"mappings":"
|
|
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,9 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { Tag, AnyNode, RuleModule };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type AnyNode = import("@html-eslint/types").AnyNode;
|
|
8
|
-
type RuleModule = import("../types").RuleModule<[]>;
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
9
4
|
//# sourceMappingURL=require-meta-charset.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-meta-charset.d.ts","sourceRoot":"","sources":["../../lib/rules/require-meta-charset.js"],"names":[],"mappings":"
|
|
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,9 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { Tag, AnyNode, RuleModule };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type AnyNode = import("@html-eslint/types").AnyNode;
|
|
8
|
-
type RuleModule = import("../types").RuleModule<[]>;
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
9
4
|
//# sourceMappingURL=require-meta-description.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-meta-description.d.ts","sourceRoot":"","sources":["../../lib/rules/require-meta-description.js"],"names":[],"mappings":"
|
|
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,9 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { Tag, AnyNode, RuleModule };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type AnyNode = import("@html-eslint/types").AnyNode;
|
|
8
|
-
type RuleModule = import("../types").RuleModule<[]>;
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
9
4
|
//# sourceMappingURL=require-meta-viewport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-meta-viewport.d.ts","sourceRoot":"","sources":["../../lib/rules/require-meta-viewport.js"],"names":[],"mappings":"
|
|
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,10 +1,8 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Option };
|
|
3
3
|
}
|
|
4
|
-
declare const _exports: RuleModule
|
|
4
|
+
declare const _exports: RuleModule<[Option]>;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type Tag = import("@html-eslint/types").Tag;
|
|
7
|
-
type AnyNode = import("@html-eslint/types").AnyNode;
|
|
8
6
|
type Option = string[];
|
|
9
|
-
type RuleModule
|
|
7
|
+
import type { RuleModule } from "../types";
|
|
10
8
|
//# sourceMappingURL=require-open-graph-protocol.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-open-graph-protocol.d.ts","sourceRoot":"","sources":["../../lib/rules/require-open-graph-protocol.js"],"names":[],"mappings":";;;
|
|
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,10 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
export { Tag, Text, AnyNode, RuleModule };
|
|
3
|
-
}
|
|
4
|
-
declare const _exports: RuleModule;
|
|
1
|
+
declare const _exports: RuleModule<[]>;
|
|
5
2
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type Text = import("@html-eslint/types").Text;
|
|
8
|
-
type AnyNode = import("@html-eslint/types").AnyNode;
|
|
9
|
-
type RuleModule = import("../types").RuleModule<[]>;
|
|
3
|
+
import type { RuleModule } from "../types";
|
|
10
4
|
//# sourceMappingURL=require-title.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-title.d.ts","sourceRoot":"","sources":["../../lib/rules/require-title.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require-title.d.ts","sourceRoot":"","sources":["../../lib/rules/require-title.js"],"names":[],"mappings":"wBAgCU,WAAW,EAAE,CAAC;;gCA9BK,UAAU"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Option };
|
|
3
3
|
}
|
|
4
|
-
declare const _exports: RuleModule
|
|
4
|
+
declare const _exports: RuleModule<[Option]>;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type RuleFixer = import("../types").RuleFixer;
|
|
7
|
-
type Attribute = import("@html-eslint/types").Attribute;
|
|
8
|
-
type Text = import("@html-eslint/types").Text;
|
|
9
6
|
type Option = {
|
|
10
7
|
priority?: string[] | undefined;
|
|
11
8
|
};
|
|
12
|
-
type RuleModule
|
|
9
|
+
import type { RuleModule } from "../types";
|
|
13
10
|
//# sourceMappingURL=sort-attrs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/sort-attrs.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"sort-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/sort-attrs.js"],"names":[],"mappings":";;;wBAmBU,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;gCAjBU,UAAU"}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export { Option
|
|
2
|
+
export { Option };
|
|
3
3
|
}
|
|
4
|
-
declare const _exports: RuleModule
|
|
4
|
+
declare const _exports: RuleModule<[Option]>;
|
|
5
5
|
export = _exports;
|
|
6
6
|
type Option = {
|
|
7
7
|
available: "widely" | "newly" | number;
|
|
8
8
|
};
|
|
9
|
-
type RuleModule
|
|
10
|
-
type Attribute = import("@html-eslint/types").Attribute;
|
|
11
|
-
type Tag = import("@html-eslint/types").Tag;
|
|
12
|
-
type ScriptTag = import("@html-eslint/types").ScriptTag;
|
|
13
|
-
type StyleTag = import("@html-eslint/types").StyleTag;
|
|
9
|
+
import type { RuleModule } from "../types";
|
|
14
10
|
//# sourceMappingURL=use-baseline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-baseline.d.ts","sourceRoot":"","sources":["../../lib/rules/use-baseline.js"],"names":[],"mappings":";;;
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseline.d.ts","sourceRoot":"","sources":["../../../lib/rules/utils/baseline.js"],"names":[],"mappings":"AAOA,
|
|
1
|
+
{"version":3,"file":"baseline.d.ts","sourceRoot":"","sources":["../../../lib/rules/utils/baseline.js"],"names":[],"mappings":"AAOA,2CA+jBG;AACH,mDA4BG;AAnmBH;;GAEG;AACH,4BAAsB,EAAE,CAAC;AACzB,2BAAqB,CAAC,CAAC;AACvB,6BAAuB,CAAC,CAAC"}
|