@html-eslint/eslint-plugin 0.42.0 → 0.43.0
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 +3 -7
- 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
|
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"}
|
|
@@ -1,21 +1,3 @@
|
|
|
1
|
-
export type Attribute = import("@html-eslint/types").Attribute;
|
|
2
|
-
export type Tag = import("@html-eslint/types").Tag;
|
|
3
|
-
export type ScriptTag = import("@html-eslint/types").ScriptTag;
|
|
4
|
-
export type StyleTag = import("@html-eslint/types").StyleTag;
|
|
5
|
-
export type AnyNode = import("@html-eslint/types").AnyNode;
|
|
6
|
-
export type Line = import("../../types").Line;
|
|
7
|
-
export type BaseNode = import("../../types").BaseNode;
|
|
8
|
-
export type Text = import("@html-eslint/types").Text;
|
|
9
|
-
export type CommentContent = import("@html-eslint/types").CommentContent;
|
|
10
|
-
export type Comment = import("@html-eslint/types").Comment;
|
|
11
|
-
export type AttributeValue = import("@html-eslint/types").AttributeValue;
|
|
12
|
-
export type AttributeKey = import("@html-eslint/types").AttributeKey;
|
|
13
|
-
export type TemplateText = import("@html-eslint/types").TemplateText;
|
|
14
|
-
export type OpenTemplate = import("@html-eslint/types").OpenTemplate;
|
|
15
|
-
export type CloseTemplate = import("@html-eslint/types").CloseTemplate;
|
|
16
|
-
export type Range = import("eslint").AST.Range;
|
|
17
|
-
export type SourceLocation = import("eslint").AST.SourceLocation;
|
|
18
|
-
export type AnyToken = import("@html-eslint/types").AnyToken;
|
|
19
1
|
/**
|
|
20
2
|
* @param {Tag | ScriptTag | StyleTag} node
|
|
21
3
|
* @param {string} key
|
|
@@ -42,15 +24,15 @@ export function isNodeTokensOnSameLine(node: AnyNode): boolean;
|
|
|
42
24
|
export function splitToLineNodes(node: Text | CommentContent): Line[];
|
|
43
25
|
/**
|
|
44
26
|
* Get location between two nodes.
|
|
45
|
-
* @param {{loc: SourceLocation}} before A node placed in before
|
|
46
|
-
* @param {{loc: SourceLocation}} after A node placed in after
|
|
47
|
-
* @returns {SourceLocation} location between two nodes.
|
|
27
|
+
* @param {{loc: AST.SourceLocation}} before A node placed in before
|
|
28
|
+
* @param {{loc: AST.SourceLocation}} after A node placed in after
|
|
29
|
+
* @returns {AST.SourceLocation} location between two nodes.
|
|
48
30
|
*/
|
|
49
31
|
export function getLocBetween(before: {
|
|
50
|
-
loc: SourceLocation;
|
|
32
|
+
loc: AST.SourceLocation;
|
|
51
33
|
}, after: {
|
|
52
|
-
loc: SourceLocation;
|
|
53
|
-
}): SourceLocation;
|
|
34
|
+
loc: AST.SourceLocation;
|
|
35
|
+
}): AST.SourceLocation;
|
|
54
36
|
/**
|
|
55
37
|
* @param {AnyNode} node
|
|
56
38
|
* @param {(node: AnyNode) => boolean} predicate
|
|
@@ -89,10 +71,10 @@ export function isScript(node: BaseNode): node is ScriptTag;
|
|
|
89
71
|
export function isStyle(node: BaseNode): node is StyleTag;
|
|
90
72
|
/**
|
|
91
73
|
* @param {(Text | CommentContent)['parts']} parts
|
|
92
|
-
* @param {Range} range
|
|
74
|
+
* @param {AST.Range} range
|
|
93
75
|
* @returns {boolean}
|
|
94
76
|
*/
|
|
95
|
-
export function isOverlapWithTemplates(parts: (Text | CommentContent)["parts"], range: Range): boolean;
|
|
77
|
+
export function isOverlapWithTemplates(parts: (Text | CommentContent)["parts"], range: AST.Range): boolean;
|
|
96
78
|
/**
|
|
97
79
|
* @param {string} source
|
|
98
80
|
* @returns {string[]}
|
|
@@ -100,11 +82,11 @@ export function isOverlapWithTemplates(parts: (Text | CommentContent)["parts"],
|
|
|
100
82
|
export function codeToLines(source: string): string[];
|
|
101
83
|
/**
|
|
102
84
|
*
|
|
103
|
-
* @param {Range} rangeA
|
|
104
|
-
* @param {Range} rangeB
|
|
85
|
+
* @param {AST.Range} rangeA
|
|
86
|
+
* @param {AST.Range} rangeB
|
|
105
87
|
* @returns {boolean}
|
|
106
88
|
*/
|
|
107
|
-
export function isRangesOverlap(rangeA: Range, rangeB: Range): boolean;
|
|
89
|
+
export function isRangesOverlap(rangeA: AST.Range, rangeB: AST.Range): boolean;
|
|
108
90
|
/**
|
|
109
91
|
*
|
|
110
92
|
* @param {AnyToken[]} tokens
|
|
@@ -116,4 +98,18 @@ export function getTemplateTokens(tokens: AnyToken[]): ((CommentContent | Text)[
|
|
|
116
98
|
* @returns {boolean}
|
|
117
99
|
*/
|
|
118
100
|
export function hasTemplate(node: AttributeKey | AttributeValue | Text | CommentContent): boolean;
|
|
101
|
+
import type { Tag } from "@html-eslint/types";
|
|
102
|
+
import type { ScriptTag } from "@html-eslint/types";
|
|
103
|
+
import type { StyleTag } from "@html-eslint/types";
|
|
104
|
+
import type { Attribute } from "@html-eslint/types";
|
|
105
|
+
import type { AnyNode } from "@html-eslint/types";
|
|
106
|
+
import type { Text } from "@html-eslint/types";
|
|
107
|
+
import type { CommentContent } from "@html-eslint/types";
|
|
108
|
+
import type { Line } from "../../types";
|
|
109
|
+
import type { AST } from "eslint";
|
|
110
|
+
import type { BaseNode } from "../../types";
|
|
111
|
+
import type { Comment } from "@html-eslint/types";
|
|
112
|
+
import type { AnyToken } from "@html-eslint/types";
|
|
113
|
+
import type { AttributeKey } from "@html-eslint/types";
|
|
114
|
+
import type { AttributeValue } from "@html-eslint/types";
|
|
119
115
|
//# sourceMappingURL=node.d.ts.map
|