@html-eslint/eslint-plugin 0.35.0 → 0.35.2
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/exports.ts +2 -0
- package/lib/index.js +6 -1
- package/lib/rules/attrs-newline.js +11 -7
- package/lib/rules/element-newline.js +25 -18
- package/lib/rules/id-naming-convention.js +10 -4
- package/lib/rules/indent/indent-level.js +1 -1
- package/lib/rules/indent/indent.js +26 -15
- package/lib/rules/lowercase.js +4 -4
- package/lib/rules/max-element-depth.js +8 -5
- package/lib/rules/no-abstract-roles.js +4 -4
- package/lib/rules/no-accesskey-attrs.js +4 -4
- package/lib/rules/no-aria-hidden-body.js +1 -1
- package/lib/rules/no-duplicate-attrs.js +4 -4
- package/lib/rules/no-duplicate-id.js +5 -5
- package/lib/rules/no-extra-spacing-attrs.js +18 -12
- package/lib/rules/no-extra-spacing-text.js +8 -5
- package/lib/rules/no-heading-inside-button.js +1 -1
- package/lib/rules/no-inline-styles.js +1 -1
- package/lib/rules/no-invalid-role.js +1 -1
- package/lib/rules/no-multiple-empty-lines.js +8 -5
- package/lib/rules/no-multiple-h1.js +2 -2
- package/lib/rules/no-nested-interactive.js +2 -2
- package/lib/rules/no-non-scalable-viewport.js +1 -1
- package/lib/rules/no-obsolete-tags.js +1 -1
- package/lib/rules/no-positive-tabindex.js +4 -4
- package/lib/rules/no-restricted-attr-values.js +5 -5
- package/lib/rules/no-restricted-attrs.js +8 -7
- package/lib/rules/no-script-style-type.js +4 -4
- package/lib/rules/no-skip-heading-levels.js +2 -2
- package/lib/rules/no-target-blank.js +1 -1
- package/lib/rules/no-trailing-spaces.js +3 -3
- package/lib/rules/prefer-https.js +5 -5
- package/lib/rules/quotes.js +7 -5
- package/lib/rules/require-attrs.js +7 -5
- package/lib/rules/require-button-type.js +1 -1
- package/lib/rules/require-closing-tags.js +6 -2
- package/lib/rules/require-doctype.js +1 -1
- package/lib/rules/require-explicit-size.js +8 -3
- package/lib/rules/require-form-method.js +1 -1
- package/lib/rules/require-frame-title.js +1 -1
- package/lib/rules/require-img-alt.js +9 -8
- package/lib/rules/require-input-label.js +2 -2
- package/lib/rules/require-lang.js +4 -7
- package/lib/rules/require-li-container.js +1 -1
- package/lib/rules/require-meta-charset.js +3 -3
- package/lib/rules/require-meta-description.js +3 -3
- package/lib/rules/require-meta-viewport.js +3 -3
- package/lib/rules/require-open-graph-protocol.js +6 -3
- package/lib/rules/require-title.js +4 -4
- package/lib/rules/sort-attrs.js +11 -11
- package/lib/rules/utils/node.js +23 -23
- package/lib/rules/utils/settings.js +3 -3
- package/lib/rules/utils/source-code.js +1 -1
- package/lib/rules/utils/visitors.js +1 -1
- package/lib/types/ast.ts +17 -0
- package/lib/types/{rule.d.ts → rule.ts} +41 -10
- package/package.json +12 -19
- package/types/exports.d.ts +3 -0
- package/types/exports.d.ts.map +1 -0
- package/types/index.d.ts +80 -5
- package/types/index.d.ts.map +1 -1
- package/types/rules/attrs-newline.d.ts +7 -3
- package/types/rules/attrs-newline.d.ts.map +1 -1
- package/types/rules/element-newline.d.ts +17 -11
- package/types/rules/element-newline.d.ts.map +1 -1
- package/types/rules/id-naming-convention.d.ts +10 -5
- package/types/rules/id-naming-convention.d.ts.map +1 -1
- package/types/rules/indent/indent-level.d.ts +2 -2
- package/types/rules/indent/indent-level.d.ts.map +1 -1
- package/types/rules/indent/indent.d.ts +15 -9
- package/types/rules/indent/indent.d.ts.map +1 -1
- package/types/rules/index.d.ts +64 -47
- package/types/rules/lowercase.d.ts +5 -5
- package/types/rules/lowercase.d.ts.map +1 -1
- package/types/rules/max-element-depth.d.ts +8 -5
- package/types/rules/max-element-depth.d.ts.map +1 -1
- package/types/rules/no-abstract-roles.d.ts +5 -5
- package/types/rules/no-abstract-roles.d.ts.map +1 -1
- package/types/rules/no-accesskey-attrs.d.ts +5 -5
- package/types/rules/no-accesskey-attrs.d.ts.map +1 -1
- package/types/rules/no-aria-hidden-body.d.ts +1 -1
- package/types/rules/no-aria-hidden-body.d.ts.map +1 -1
- package/types/rules/no-duplicate-attrs.d.ts +5 -5
- package/types/rules/no-duplicate-attrs.d.ts.map +1 -1
- package/types/rules/no-duplicate-id.d.ts +6 -6
- package/types/rules/no-duplicate-id.d.ts.map +1 -1
- package/types/rules/no-extra-spacing-attrs.d.ts +19 -13
- package/types/rules/no-extra-spacing-attrs.d.ts.map +1 -1
- package/types/rules/no-extra-spacing-text.d.ts +9 -6
- package/types/rules/no-extra-spacing-text.d.ts.map +1 -1
- package/types/rules/no-heading-inside-button.d.ts +1 -1
- package/types/rules/no-heading-inside-button.d.ts.map +1 -1
- package/types/rules/no-inline-styles.d.ts +1 -1
- package/types/rules/no-inline-styles.d.ts.map +1 -1
- package/types/rules/no-invalid-role.d.ts +1 -1
- package/types/rules/no-invalid-role.d.ts.map +1 -1
- package/types/rules/no-multiple-empty-lines.d.ts +8 -5
- package/types/rules/no-multiple-empty-lines.d.ts.map +1 -1
- package/types/rules/no-multiple-h1.d.ts +2 -2
- package/types/rules/no-multiple-h1.d.ts.map +1 -1
- package/types/rules/no-nested-interactive.d.ts +2 -2
- package/types/rules/no-nested-interactive.d.ts.map +1 -1
- package/types/rules/no-non-scalable-viewport.d.ts +1 -1
- package/types/rules/no-non-scalable-viewport.d.ts.map +1 -1
- package/types/rules/no-obsolete-tags.d.ts +1 -1
- package/types/rules/no-obsolete-tags.d.ts.map +1 -1
- package/types/rules/no-positive-tabindex.d.ts +4 -4
- package/types/rules/no-positive-tabindex.d.ts.map +1 -1
- package/types/rules/no-restricted-attr-values.d.ts +6 -6
- package/types/rules/no-restricted-attr-values.d.ts.map +1 -1
- package/types/rules/no-restricted-attrs.d.ts +6 -6
- package/types/rules/no-restricted-attrs.d.ts.map +1 -1
- package/types/rules/no-script-style-type.d.ts +4 -4
- package/types/rules/no-script-style-type.d.ts.map +1 -1
- package/types/rules/no-skip-heading-levels.d.ts +2 -2
- package/types/rules/no-skip-heading-levels.d.ts.map +1 -1
- package/types/rules/no-target-blank.d.ts +1 -1
- package/types/rules/no-target-blank.d.ts.map +1 -1
- package/types/rules/no-trailing-spaces.d.ts +3 -3
- package/types/rules/no-trailing-spaces.d.ts.map +1 -1
- package/types/rules/prefer-https.d.ts +5 -5
- package/types/rules/prefer-https.d.ts.map +1 -1
- package/types/rules/quotes.d.ts +7 -6
- package/types/rules/quotes.d.ts.map +1 -1
- package/types/rules/require-attrs.d.ts +6 -6
- package/types/rules/require-attrs.d.ts.map +1 -1
- package/types/rules/require-button-type.d.ts +1 -1
- package/types/rules/require-button-type.d.ts.map +1 -1
- package/types/rules/require-closing-tags.d.ts +7 -3
- package/types/rules/require-closing-tags.d.ts.map +1 -1
- package/types/rules/require-doctype.d.ts +1 -1
- package/types/rules/require-doctype.d.ts.map +1 -1
- package/types/rules/require-explicit-size.d.ts +8 -4
- package/types/rules/require-explicit-size.d.ts.map +1 -1
- package/types/rules/require-form-method.d.ts +1 -1
- package/types/rules/require-form-method.d.ts.map +1 -1
- package/types/rules/require-frame-title.d.ts +1 -1
- package/types/rules/require-frame-title.d.ts.map +1 -1
- package/types/rules/require-img-alt.d.ts +6 -3
- package/types/rules/require-img-alt.d.ts.map +1 -1
- package/types/rules/require-input-label.d.ts +3 -3
- package/types/rules/require-input-label.d.ts.map +1 -1
- package/types/rules/require-lang.d.ts +1 -1
- package/types/rules/require-lang.d.ts.map +1 -1
- package/types/rules/require-li-container.d.ts +1 -1
- package/types/rules/require-li-container.d.ts.map +1 -1
- package/types/rules/require-meta-charset.d.ts +4 -4
- package/types/rules/require-meta-charset.d.ts.map +1 -1
- package/types/rules/require-meta-description.d.ts +4 -4
- package/types/rules/require-meta-description.d.ts.map +1 -1
- package/types/rules/require-meta-viewport.d.ts +4 -4
- package/types/rules/require-meta-viewport.d.ts.map +1 -1
- package/types/rules/require-open-graph-protocol.d.ts +5 -4
- package/types/rules/require-open-graph-protocol.d.ts.map +1 -1
- package/types/rules/require-title.d.ts +5 -5
- package/types/rules/require-title.d.ts.map +1 -1
- package/types/rules/sort-attrs.d.ts +8 -5
- package/types/rules/sort-attrs.d.ts.map +1 -1
- package/types/rules/utils/node.d.ts +28 -28
- package/types/rules/utils/node.d.ts.map +1 -1
- package/types/rules/utils/settings.d.ts +3 -3
- package/types/rules/utils/settings.d.ts.map +1 -1
- package/types/rules/utils/source-code.d.ts +8 -3
- package/types/rules/utils/source-code.d.ts.map +1 -1
- package/types/rules/utils/visitors.d.ts +1 -1
- package/types/rules/utils/visitors.d.ts.map +1 -1
- package/types/types/ast.d.ts +16 -0
- package/types/types/ast.d.ts.map +1 -0
- package/types/types/index.d.ts +4 -0
- package/types/types/index.d.ts.map +1 -0
- package/types/types/rule.d.ts +97 -0
- package/types/types/rule.d.ts.map +1 -0
- package/types/types/settings.d.ts +13 -0
- package/types/types/settings.d.ts.map +1 -0
- package/lib/types/ast.d.ts +0 -213
- package/lib/types/{index.d.ts → index.ts} +1 -1
- /package/lib/types/{settings.d.ts → settings.ts} +0 -0
package/types/index.d.ts
CHANGED
|
@@ -1,14 +1,89 @@
|
|
|
1
1
|
export = plugin;
|
|
2
2
|
/**
|
|
3
|
-
* @
|
|
3
|
+
* @typedef {import("./rules")} AllRules
|
|
4
|
+
* @typedef {import("./configs/recommended")} RecommendedConfig
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @type {{rules: AllRules, configs: {recommended: RecommendedConfig, "flat/recommended": import("eslint").Linter.FlatConfig }}}
|
|
4
8
|
*/
|
|
5
9
|
declare const plugin: {
|
|
10
|
+
rules: AllRules;
|
|
6
11
|
configs: {
|
|
7
|
-
recommended:
|
|
12
|
+
recommended: RecommendedConfig;
|
|
8
13
|
"flat/recommended": import("eslint").Linter.FlatConfig;
|
|
9
|
-
rules: typeof rules;
|
|
10
14
|
};
|
|
11
15
|
};
|
|
12
|
-
|
|
13
|
-
|
|
16
|
+
declare namespace plugin {
|
|
17
|
+
export { AllRules, RecommendedConfig };
|
|
18
|
+
}
|
|
19
|
+
type AllRules = {
|
|
20
|
+
"require-lang": import("./types").RuleModule<[]>;
|
|
21
|
+
"require-img-alt": import("./types").RuleModule<[import("./rules/require-img-alt").Option]>;
|
|
22
|
+
"require-doctype": import("./types").RuleModule<[]>;
|
|
23
|
+
"require-title": import("./types").RuleModule<[]>;
|
|
24
|
+
"no-duplicate-id": import("./types").RuleModule<[]>;
|
|
25
|
+
"no-inline-styles": import("./types").RuleModule<[]>;
|
|
26
|
+
"no-multiple-h1": import("./types").RuleModule<[]>;
|
|
27
|
+
"no-extra-spacing-attrs": import("./types").RuleModule<[import("./rules/no-extra-spacing-attrs").Option]>;
|
|
28
|
+
"no-extra-spacing-text": import("./types").RuleModule<[import("./rules/no-extra-spacing-text").Option]>;
|
|
29
|
+
"attrs-newline": import("./types").RuleModule<[import("./rules/attrs-newline").Option]>;
|
|
30
|
+
"element-newline": import("./types").RuleModule<[import("./rules/element-newline").Option]>;
|
|
31
|
+
"no-skip-heading-levels": import("./types").RuleModule<[]>;
|
|
32
|
+
"require-li-container": import("./types").RuleModule<[]>;
|
|
33
|
+
indent: import("./types").RuleModule<[import("./rules/indent/indent").Option1, import("./rules/indent/indent").Option2]>;
|
|
34
|
+
quotes: import("./types").RuleModule<[import("./rules/quotes").Option]>;
|
|
35
|
+
"id-naming-convention": import("./types").RuleModule<[import("./rules/id-naming-convention").Option1, import("./rules/id-naming-convention").Option2]>;
|
|
36
|
+
"no-obsolete-tags": import("./types").RuleModule<[]>;
|
|
37
|
+
"require-attrs": import("./types").RuleModule<import("./rules/require-attrs").Option[]>;
|
|
38
|
+
"require-closing-tags": import("./types").RuleModule<[import("./rules/require-closing-tags").Option]>;
|
|
39
|
+
"require-meta-description": import("./types").RuleModule<[]>;
|
|
40
|
+
"require-frame-title": import("./types").RuleModule<[]>;
|
|
41
|
+
"no-non-scalable-viewport": import("./types").RuleModule<[]>;
|
|
42
|
+
"no-positive-tabindex": import("./types").RuleModule<[]>;
|
|
43
|
+
"require-meta-viewport": import("./types").RuleModule<[]>;
|
|
44
|
+
"require-meta-charset": import("./types").RuleModule<[]>;
|
|
45
|
+
"no-target-blank": import("./types").RuleModule<[]>;
|
|
46
|
+
"no-duplicate-attrs": import("./types").RuleModule<[]>;
|
|
47
|
+
"no-abstract-roles": import("./types").RuleModule<[]>;
|
|
48
|
+
"require-button-type": import("./types").RuleModule<[]>;
|
|
49
|
+
"no-aria-hidden-body": import("./types").RuleModule<[]>;
|
|
50
|
+
"no-multiple-empty-lines": import("./types").RuleModule<[import("./rules/no-multiple-empty-lines").Option]>;
|
|
51
|
+
"no-accesskey-attrs": import("./types").RuleModule<[]>;
|
|
52
|
+
"no-restricted-attrs": import("./types").RuleModule<import("./rules/no-restricted-attrs").Options>;
|
|
53
|
+
"no-trailing-spaces": import("./types").RuleModule<[]>;
|
|
54
|
+
"no-restricted-attr-values": import("./types").RuleModule<import("./rules/no-restricted-attr-values").Options>;
|
|
55
|
+
"no-script-style-type": import("./types").RuleModule<[]>;
|
|
56
|
+
"no-heading-inside-button": import("./types").RuleModule<[]>;
|
|
57
|
+
"no-invalid-role": import("./types").RuleModule<[]>;
|
|
58
|
+
"no-nested-interactive": import("./types").RuleModule<[]>;
|
|
59
|
+
lowercase: import("./types").RuleModule<[]>;
|
|
60
|
+
"require-open-graph-protocol": import("./types").RuleModule<[import("./rules/require-open-graph-protocol").Option]>;
|
|
61
|
+
"require-form-method": import("./types").RuleModule<[]>;
|
|
62
|
+
"sort-attrs": import("./types").RuleModule<[import("./rules/sort-attrs").Option]>;
|
|
63
|
+
"prefer-https": import("./types").RuleModule<[]>;
|
|
64
|
+
"require-input-label": import("./types").RuleModule<[]>;
|
|
65
|
+
"max-element-depth": import("./types").RuleModule<[import("./rules/max-element-depth").Option]>;
|
|
66
|
+
"require-explicit-size": import("./types").RuleModule<[import("./rules/require-explicit-size").Option]>;
|
|
67
|
+
};
|
|
68
|
+
type RecommendedConfig = {
|
|
69
|
+
rules: {
|
|
70
|
+
"@html-eslint/require-lang": string;
|
|
71
|
+
"@html-eslint/require-img-alt": string;
|
|
72
|
+
"@html-eslint/require-doctype": string;
|
|
73
|
+
"@html-eslint/require-title": string;
|
|
74
|
+
"@html-eslint/no-multiple-h1": string;
|
|
75
|
+
"@html-eslint/no-extra-spacing-attrs": string;
|
|
76
|
+
"@html-eslint/attrs-newline": string;
|
|
77
|
+
"@html-eslint/element-newline": (string | {
|
|
78
|
+
inline: string[];
|
|
79
|
+
})[];
|
|
80
|
+
"@html-eslint/no-duplicate-id": string;
|
|
81
|
+
"@html-eslint/indent": string;
|
|
82
|
+
"@html-eslint/require-li-container": string;
|
|
83
|
+
"@html-eslint/quotes": string;
|
|
84
|
+
"@html-eslint/no-obsolete-tags": string;
|
|
85
|
+
"@html-eslint/require-closing-tags": string;
|
|
86
|
+
"@html-eslint/no-duplicate-attrs": string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
14
89
|
//# sourceMappingURL=index.d.ts.map
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../lib/index.js"],"names":[],"mappings":";AAIA;;GAEG;AACH,sBAFU;IAAC,OAAO,EAAE;QAAC,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../lib/index.js"],"names":[],"mappings":";AAIA;;;GAGG;AAEH;;GAEG;AACH,sBAFU;IAAC,KAAK,EAAE,QAAQ,CAAC;IAAC,OAAO,EAAE;QAAC,WAAW,EAAE,iBAAiB,CAAC;QAAC,kBAAkB,EAAE,OAAO,QAAQ,EAAE,MAAM,CAAC,UAAU,CAAA;KAAE,CAAA;CAAC,CAQ7H"}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export { RuleFixer,
|
|
2
|
+
export { RuleFixer, MessageId, Option, RuleModule };
|
|
3
3
|
}
|
|
4
4
|
declare const _exports: RuleModule;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type RuleFixer = import("
|
|
7
|
-
type RuleModule = import("../types").RuleModule;
|
|
6
|
+
type RuleFixer = import("../types").RuleFixer;
|
|
8
7
|
type MessageId = {
|
|
9
8
|
CLOSE_STYLE_WRONG: "closeStyleWrong";
|
|
10
9
|
NEWLINE_MISSING: "newlineMissing";
|
|
11
10
|
NEWLINE_UNEXPECTED: "newlineUnexpected";
|
|
12
11
|
};
|
|
12
|
+
type Option = {
|
|
13
|
+
closeStyle?: "sameline" | "newline" | undefined;
|
|
14
|
+
ifAttrsMoreThan?: number | undefined;
|
|
15
|
+
};
|
|
16
|
+
type RuleModule = import("../types").RuleModule<[Option]>;
|
|
13
17
|
//# 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":";;;
|
|
1
|
+
{"version":3,"file":"attrs-newline.d.ts","sourceRoot":"","sources":["../../lib/rules/attrs-newline.js"],"names":[],"mappings":";;;wBA4BU,UAAU;;iBA3BN,OAAO,UAAU,EAAE,SAAS;;uBAG5B,iBAAiB;qBACjB,gBAAgB;wBAChB,mBAAmB;;;;;;kBAMnB,OAAO,UAAU,EAAE,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Tag, Comment, Doctype, ScriptTag, StyleTag, Text, AnyNode, OpenTagEnd, CloseTag, Line, AnyNodeOrLine, Option, RuleModule };
|
|
3
3
|
}
|
|
4
4
|
declare const _exports: RuleModule;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type
|
|
8
|
-
type
|
|
9
|
-
type
|
|
10
|
-
type
|
|
11
|
-
type
|
|
12
|
-
type
|
|
13
|
-
type
|
|
14
|
-
type
|
|
15
|
-
type
|
|
6
|
+
type Tag = import("@html-eslint/types").Tag;
|
|
7
|
+
type Comment = import("@html-eslint/types").Comment;
|
|
8
|
+
type Doctype = import("@html-eslint/types").Doctype;
|
|
9
|
+
type ScriptTag = import("@html-eslint/types").ScriptTag;
|
|
10
|
+
type StyleTag = import("@html-eslint/types").StyleTag;
|
|
11
|
+
type Text = import("@html-eslint/types").Text;
|
|
12
|
+
type AnyNode = import("@html-eslint/types").AnyNode;
|
|
13
|
+
type OpenTagEnd = import("@html-eslint/types").OpenTagEnd;
|
|
14
|
+
type CloseTag = import("@html-eslint/types").CloseTag;
|
|
15
|
+
type Line = import("../types").Line;
|
|
16
|
+
type AnyNodeOrLine = AnyNode | Line;
|
|
17
|
+
type Option = {
|
|
18
|
+
skip?: string[] | undefined;
|
|
19
|
+
inline?: string[] | undefined;
|
|
20
|
+
};
|
|
21
|
+
type RuleModule = import("../types").RuleModule<[Option]>;
|
|
16
22
|
//# 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":";;;
|
|
1
|
+
{"version":3,"file":"element-newline.d.ts","sourceRoot":"","sources":["../../lib/rules/element-newline.js"],"names":[],"mappings":";;;wBA4EU,UAAU;;WA3EN,OAAO,oBAAoB,EAAE,GAAG;eAChC,OAAO,oBAAoB,EAAE,OAAO;eACpC,OAAO,oBAAoB,EAAE,OAAO;iBACpC,OAAO,oBAAoB,EAAE,SAAS;gBACtC,OAAO,oBAAoB,EAAE,QAAQ;YACrC,OAAO,oBAAoB,EAAE,IAAI;eACjC,OAAO,oBAAoB,EAAE,OAAO;kBACpC,OAAO,oBAAoB,EAAE,UAAU;gBACvC,OAAO,oBAAoB,EAAE,QAAQ;YACrC,OAAO,UAAU,EAAE,IAAI;qBACvB,OAAO,GAAG,IAAI;;;;;kBAMd,OAAO,UAAU,EAAE,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Tag, ScriptTag, StyleTag, Option1, Option2, RuleModule };
|
|
3
3
|
}
|
|
4
4
|
declare const _exports: RuleModule;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type
|
|
8
|
-
type
|
|
9
|
-
type
|
|
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 Option1 = "camelCase" | "snake_case" | "PascalCase" | "kebab-case" | "regex";
|
|
10
|
+
type Option2 = {
|
|
11
|
+
pattern: string;
|
|
12
|
+
flags?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
type RuleModule = import("../types").RuleModule<[Option1, Option2]>;
|
|
10
15
|
//# sourceMappingURL=id-naming-convention.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id-naming-convention.d.ts","sourceRoot":"","sources":["../../lib/rules/id-naming-convention.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"id-naming-convention.d.ts","sourceRoot":"","sources":["../../lib/rules/id-naming-convention.js"],"names":[],"mappings":";;;wBA2CU,UAAU;;WA1CN,OAAO,oBAAoB,EAAE,GAAG;iBAChC,OAAO,oBAAoB,EAAE,SAAS;gBACtC,OAAO,oBAAoB,EAAE,QAAQ;eAEtC,WAAW,GAAG,YAAY,GAAG,YAAY,GAAG,YAAY,GAAG,OAAO;;aAEjE,MAAM;;;kBAGN,OAAO,UAAU,EAAE,UAAU,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export = IndentLevel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef {import("
|
|
3
|
+
* @typedef {import("@html-eslint/types").AnyNode} AnyNode
|
|
4
4
|
* @typedef {{ [key in AnyNode['type']]?: number}} IncLevelOptions
|
|
5
5
|
* @typedef {(node: AnyNode) => number} GetIncreasingLevel
|
|
6
6
|
*/
|
|
@@ -49,7 +49,7 @@ declare class IndentLevel {
|
|
|
49
49
|
declare namespace IndentLevel {
|
|
50
50
|
export { AnyNode, IncLevelOptions, GetIncreasingLevel };
|
|
51
51
|
}
|
|
52
|
-
type AnyNode = import("
|
|
52
|
+
type AnyNode = import("@html-eslint/types").AnyNode;
|
|
53
53
|
type IncLevelOptions = { [key in AnyNode["type"]]?: number; };
|
|
54
54
|
type GetIncreasingLevel = (node: AnyNode) => number;
|
|
55
55
|
//# sourceMappingURL=indent-level.d.ts.map
|
|
@@ -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;;;;eAzDY,OAAO,
|
|
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;;;;eAzDY,OAAO,oBAAoB,EAAE,OAAO;uBACpC,GAAG,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,GAAC;0BACpC,CAAC,IAAI,EAAE,OAAO,KAAK,MAAM"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { AnyNode, Line, Tag, RuleListener, Context, TemplateText, Token, SourceCode, Range, SourceLocation, TemplateLiteral, OpenTemplate, CloseTemplate, AnyNodeOrLine, IndentType, MessageId, IndentOptionInfo, Option1, Option2, RuleModule };
|
|
3
3
|
}
|
|
4
4
|
declare const _exports: RuleModule;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type AnyNode = import("../../types").AnyNode;
|
|
6
|
+
type AnyNode = import("@html-eslint/types").AnyNode;
|
|
8
7
|
type Line = import("../../types").Line;
|
|
9
|
-
type Tag = import("
|
|
8
|
+
type Tag = import("@html-eslint/types").Tag;
|
|
10
9
|
type RuleListener = import("../../types").RuleListener;
|
|
11
|
-
type Context = import("../../types").Context
|
|
12
|
-
type TemplateText = import("
|
|
10
|
+
type Context = import("../../types").Context<any[]>;
|
|
11
|
+
type TemplateText = import("@html-eslint/types").TemplateText;
|
|
13
12
|
type Token = import("eslint").AST.Token;
|
|
14
13
|
type SourceCode = import("eslint").SourceCode;
|
|
15
14
|
type Range = import("eslint").AST.Range;
|
|
16
15
|
type SourceLocation = import("eslint").AST.SourceLocation;
|
|
17
|
-
type TemplateLiteral = import("
|
|
18
|
-
type OpenTemplate = import("
|
|
19
|
-
type CloseTemplate = import("
|
|
16
|
+
type TemplateLiteral = import("@html-eslint/types").TemplateLiteral;
|
|
17
|
+
type OpenTemplate = import("@html-eslint/types").OpenTemplate;
|
|
18
|
+
type CloseTemplate = import("@html-eslint/types").CloseTemplate;
|
|
19
|
+
type AnyNodeOrLine = AnyNode | Line;
|
|
20
20
|
type IndentType = {
|
|
21
21
|
TAB: "tab";
|
|
22
22
|
SPACE: "space";
|
|
@@ -29,4 +29,10 @@ type IndentOptionInfo = {
|
|
|
29
29
|
indentSize: number;
|
|
30
30
|
indentChar: string;
|
|
31
31
|
};
|
|
32
|
+
type Option1 = "tab" | number;
|
|
33
|
+
type Option2 = {
|
|
34
|
+
Attribute?: number | undefined;
|
|
35
|
+
tagChildrenIndent?: Record<string, number> | undefined;
|
|
36
|
+
};
|
|
37
|
+
type RuleModule = import("../../types").RuleModule<[Option1, Option2]>;
|
|
32
38
|
//# sourceMappingURL=indent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indent.d.ts","sourceRoot":"","sources":["../../../lib/rules/indent/indent.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"indent.d.ts","sourceRoot":"","sources":["../../../lib/rules/indent/indent.js"],"names":[],"mappings":";;;wBAgEU,UAAU;;eA/DN,OAAO,oBAAoB,EAAE,OAAO;YACpC,OAAO,aAAa,EAAE,IAAI;WAC1B,OAAO,oBAAoB,EAAE,GAAG;oBAChC,OAAO,aAAa,EAAE,YAAY;eAClC,OAAO,aAAa,EAAE,OAAO,CAAC,GAAG,EAAE,CAAC;oBACpC,OAAO,oBAAoB,EAAE,YAAY;aACzC,OAAO,QAAQ,EAAE,GAAG,CAAC,KAAK;kBAC1B,OAAO,QAAQ,EAAE,UAAU;aAC3B,OAAO,QAAQ,EAAE,GAAG,CAAC,KAAK;sBAC1B,OAAO,QAAQ,EAAE,GAAG,CAAC,cAAc;uBACnC,OAAO,oBAAoB,EAAE,eAAe;oBAC5C,OAAO,oBAAoB,EAAE,YAAY;qBACzC,OAAO,oBAAoB,EAAE,aAAa;qBAE3C,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;;;;;kBAKb,OAAO,aAAa,EAAE,UAAU,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC"}
|
package/types/rules/index.d.ts
CHANGED
|
@@ -1,51 +1,68 @@
|
|
|
1
1
|
declare const _exports: {
|
|
2
|
-
"require-lang": import("../types").RuleModule
|
|
3
|
-
"require-img-alt": import("../types").RuleModule
|
|
4
|
-
"require-doctype": import("../types").RuleModule
|
|
5
|
-
"require-title": import("../types").RuleModule
|
|
6
|
-
"no-duplicate-id": import("../types").RuleModule
|
|
7
|
-
"no-inline-styles": import("../types").RuleModule
|
|
8
|
-
"no-multiple-h1": import("../types").RuleModule
|
|
9
|
-
"no-extra-spacing-attrs": import("../types").RuleModule
|
|
10
|
-
"no-extra-spacing-text": import("../types").RuleModule
|
|
11
|
-
"attrs-newline": import("../types").RuleModule
|
|
12
|
-
"element-newline": import("../types").RuleModule
|
|
13
|
-
"no-skip-heading-levels": import("../types").RuleModule
|
|
14
|
-
"require-li-container": import("../types").RuleModule
|
|
15
|
-
indent: import("../types").RuleModule
|
|
16
|
-
quotes: import("../types").RuleModule
|
|
17
|
-
"id-naming-convention": import("../types").RuleModule
|
|
18
|
-
"no-obsolete-tags": import("../types").RuleModule
|
|
19
|
-
"require-attrs": import("../types").RuleModule
|
|
20
|
-
"require-closing-tags": import("../types").RuleModule
|
|
21
|
-
"require-meta-description": import("../types").RuleModule
|
|
22
|
-
"require-frame-title": import("../types").RuleModule
|
|
23
|
-
"no-non-scalable-viewport": import("../types").RuleModule
|
|
24
|
-
"no-positive-tabindex": import("../types").RuleModule
|
|
25
|
-
"require-meta-viewport": import("../types").RuleModule
|
|
26
|
-
"require-meta-charset": import("../types").RuleModule
|
|
27
|
-
"no-target-blank": import("../types").RuleModule
|
|
28
|
-
"no-duplicate-attrs": import("../types").RuleModule
|
|
29
|
-
"no-abstract-roles": import("../types").RuleModule
|
|
30
|
-
"require-button-type": import("../types").RuleModule
|
|
31
|
-
"no-aria-hidden-body": import("../types").RuleModule
|
|
32
|
-
"no-multiple-empty-lines": import("../types").RuleModule
|
|
33
|
-
"no-accesskey-attrs": import("../types").RuleModule
|
|
34
|
-
"no-restricted-attrs": import("../types").RuleModule
|
|
35
|
-
"no-trailing-spaces": import("../types").RuleModule
|
|
36
|
-
"no-restricted-attr-values": import("../types").RuleModule
|
|
37
|
-
"no-script-style-type": import("../types").RuleModule
|
|
38
|
-
"no-heading-inside-button": import("../types").RuleModule
|
|
39
|
-
"no-invalid-role": import("../types").RuleModule
|
|
40
|
-
"no-nested-interactive": import("../types").RuleModule
|
|
41
|
-
lowercase: import("../types").RuleModule
|
|
42
|
-
"require-open-graph-protocol": import("../types").RuleModule
|
|
43
|
-
"require-form-method": import("../types").RuleModule
|
|
44
|
-
"sort-attrs": import("../types").RuleModule
|
|
45
|
-
"prefer-https": import("../types").RuleModule
|
|
46
|
-
"require-input-label": import("../types").RuleModule
|
|
47
|
-
"max-element-depth": import("../types").RuleModule
|
|
48
|
-
"require-explicit-size": import("../types").RuleModule
|
|
2
|
+
"require-lang": import("../types").RuleModule<[]>;
|
|
3
|
+
"require-img-alt": import("../types").RuleModule<[requireImgAlt.Option]>;
|
|
4
|
+
"require-doctype": import("../types").RuleModule<[]>;
|
|
5
|
+
"require-title": import("../types").RuleModule<[]>;
|
|
6
|
+
"no-duplicate-id": import("../types").RuleModule<[]>;
|
|
7
|
+
"no-inline-styles": import("../types").RuleModule<[]>;
|
|
8
|
+
"no-multiple-h1": import("../types").RuleModule<[]>;
|
|
9
|
+
"no-extra-spacing-attrs": import("../types").RuleModule<[noExtraSpacingAttrs.Option]>;
|
|
10
|
+
"no-extra-spacing-text": import("../types").RuleModule<[noExtraSpacingText.Option]>;
|
|
11
|
+
"attrs-newline": import("../types").RuleModule<[attrsNewline.Option]>;
|
|
12
|
+
"element-newline": import("../types").RuleModule<[elementNewLine.Option]>;
|
|
13
|
+
"no-skip-heading-levels": import("../types").RuleModule<[]>;
|
|
14
|
+
"require-li-container": import("../types").RuleModule<[]>;
|
|
15
|
+
indent: import("../types").RuleModule<[indent.Option1, indent.Option2]>;
|
|
16
|
+
quotes: import("../types").RuleModule<[quotes.Option]>;
|
|
17
|
+
"id-naming-convention": import("../types").RuleModule<[idNamingConvention.Option1, idNamingConvention.Option2]>;
|
|
18
|
+
"no-obsolete-tags": import("../types").RuleModule<[]>;
|
|
19
|
+
"require-attrs": import("../types").RuleModule<requireAttrs.Option[]>;
|
|
20
|
+
"require-closing-tags": import("../types").RuleModule<[requireClosingTags.Option]>;
|
|
21
|
+
"require-meta-description": import("../types").RuleModule<[]>;
|
|
22
|
+
"require-frame-title": import("../types").RuleModule<[]>;
|
|
23
|
+
"no-non-scalable-viewport": import("../types").RuleModule<[]>;
|
|
24
|
+
"no-positive-tabindex": import("../types").RuleModule<[]>;
|
|
25
|
+
"require-meta-viewport": import("../types").RuleModule<[]>;
|
|
26
|
+
"require-meta-charset": import("../types").RuleModule<[]>;
|
|
27
|
+
"no-target-blank": import("../types").RuleModule<[]>;
|
|
28
|
+
"no-duplicate-attrs": import("../types").RuleModule<[]>;
|
|
29
|
+
"no-abstract-roles": import("../types").RuleModule<[]>;
|
|
30
|
+
"require-button-type": import("../types").RuleModule<[]>;
|
|
31
|
+
"no-aria-hidden-body": import("../types").RuleModule<[]>;
|
|
32
|
+
"no-multiple-empty-lines": import("../types").RuleModule<[noMultipleEmptyLines.Option]>;
|
|
33
|
+
"no-accesskey-attrs": import("../types").RuleModule<[]>;
|
|
34
|
+
"no-restricted-attrs": import("../types").RuleModule<noRestrictedAttrs.Options>;
|
|
35
|
+
"no-trailing-spaces": import("../types").RuleModule<[]>;
|
|
36
|
+
"no-restricted-attr-values": import("../types").RuleModule<noRestrictedAttrValues.Options>;
|
|
37
|
+
"no-script-style-type": import("../types").RuleModule<[]>;
|
|
38
|
+
"no-heading-inside-button": import("../types").RuleModule<[]>;
|
|
39
|
+
"no-invalid-role": import("../types").RuleModule<[]>;
|
|
40
|
+
"no-nested-interactive": import("../types").RuleModule<[]>;
|
|
41
|
+
lowercase: import("../types").RuleModule<[]>;
|
|
42
|
+
"require-open-graph-protocol": import("../types").RuleModule<[requireOpenGraphProtocol.Option]>;
|
|
43
|
+
"require-form-method": import("../types").RuleModule<[]>;
|
|
44
|
+
"sort-attrs": import("../types").RuleModule<[sortAttrs.Option]>;
|
|
45
|
+
"prefer-https": import("../types").RuleModule<[]>;
|
|
46
|
+
"require-input-label": import("../types").RuleModule<[]>;
|
|
47
|
+
"max-element-depth": import("../types").RuleModule<[maxElementDepth.Option]>;
|
|
48
|
+
"require-explicit-size": import("../types").RuleModule<[requireExplicitSize.Option]>;
|
|
49
49
|
};
|
|
50
50
|
export = _exports;
|
|
51
|
+
import requireImgAlt = require("./require-img-alt");
|
|
52
|
+
import noExtraSpacingAttrs = require("./no-extra-spacing-attrs");
|
|
53
|
+
import noExtraSpacingText = require("./no-extra-spacing-text");
|
|
54
|
+
import attrsNewline = require("./attrs-newline");
|
|
55
|
+
import elementNewLine = require("./element-newline");
|
|
56
|
+
import indent = require("./indent/indent");
|
|
57
|
+
import quotes = require("./quotes");
|
|
58
|
+
import idNamingConvention = require("./id-naming-convention");
|
|
59
|
+
import requireAttrs = require("./require-attrs");
|
|
60
|
+
import requireClosingTags = require("./require-closing-tags");
|
|
61
|
+
import noMultipleEmptyLines = require("./no-multiple-empty-lines");
|
|
62
|
+
import noRestrictedAttrs = require("./no-restricted-attrs");
|
|
63
|
+
import noRestrictedAttrValues = require("./no-restricted-attr-values");
|
|
64
|
+
import requireOpenGraphProtocol = require("./require-open-graph-protocol");
|
|
65
|
+
import sortAttrs = require("./sort-attrs");
|
|
66
|
+
import maxElementDepth = require("./max-element-depth");
|
|
67
|
+
import requireExplicitSize = require("./require-explicit-size");
|
|
51
68
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Tag, StyleTag, ScriptTag, RuleModule };
|
|
3
3
|
}
|
|
4
4
|
declare const _exports: RuleModule;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type
|
|
8
|
-
type
|
|
9
|
-
type
|
|
6
|
+
type Tag = import("@html-eslint/types").Tag;
|
|
7
|
+
type StyleTag = import("@html-eslint/types").StyleTag;
|
|
8
|
+
type ScriptTag = import("@html-eslint/types").ScriptTag;
|
|
9
|
+
type RuleModule = import("../types").RuleModule<[]>;
|
|
10
10
|
//# sourceMappingURL=lowercase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lowercase.d.ts","sourceRoot":"","sources":["../../lib/rules/lowercase.js"],"names":[],"mappings":";;;wBAkBU,UAAU;;
|
|
1
|
+
{"version":3,"file":"lowercase.d.ts","sourceRoot":"","sources":["../../lib/rules/lowercase.js"],"names":[],"mappings":";;;wBAkBU,UAAU;;WAjBN,OAAO,oBAAoB,EAAE,GAAG;gBAChC,OAAO,oBAAoB,EAAE,QAAQ;iBACrC,OAAO,oBAAoB,EAAE,SAAS;kBACtC,OAAO,UAAU,EAAE,UAAU,CAAC,EAAE,CAAC"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Tag, StyleTag, ScriptTag, Option, RuleModule };
|
|
3
3
|
}
|
|
4
4
|
declare const _exports: RuleModule;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type
|
|
8
|
-
type
|
|
9
|
-
type
|
|
6
|
+
type Tag = import("@html-eslint/types").Tag;
|
|
7
|
+
type StyleTag = import("@html-eslint/types").StyleTag;
|
|
8
|
+
type ScriptTag = import("@html-eslint/types").ScriptTag;
|
|
9
|
+
type Option = {
|
|
10
|
+
max?: number | undefined;
|
|
11
|
+
};
|
|
12
|
+
type RuleModule = import("../types").RuleModule<[Option]>;
|
|
10
13
|
//# sourceMappingURL=max-element-depth.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"max-element-depth.d.ts","sourceRoot":"","sources":["../../lib/rules/max-element-depth.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"max-element-depth.d.ts","sourceRoot":"","sources":["../../lib/rules/max-element-depth.js"],"names":[],"mappings":";;;wBAkBU,UAAU;;WAjBN,OAAO,oBAAoB,EAAE,GAAG;gBAChC,OAAO,oBAAoB,EAAE,QAAQ;iBACrC,OAAO,oBAAoB,EAAE,SAAS;;;;kBAItC,OAAO,UAAU,EAAE,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Tag, StyleTag, ScriptTag, RuleModule };
|
|
3
3
|
}
|
|
4
4
|
declare const _exports: RuleModule;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type
|
|
8
|
-
type
|
|
9
|
-
type
|
|
6
|
+
type Tag = import("@html-eslint/types").Tag;
|
|
7
|
+
type StyleTag = import("@html-eslint/types").StyleTag;
|
|
8
|
+
type ScriptTag = import("@html-eslint/types").ScriptTag;
|
|
9
|
+
type RuleModule = import("../types").RuleModule<[]>;
|
|
10
10
|
//# sourceMappingURL=no-abstract-roles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-abstract-roles.d.ts","sourceRoot":"","sources":["../../lib/rules/no-abstract-roles.js"],"names":[],"mappings":";;;wBA+BU,UAAU;;
|
|
1
|
+
{"version":3,"file":"no-abstract-roles.d.ts","sourceRoot":"","sources":["../../lib/rules/no-abstract-roles.js"],"names":[],"mappings":";;;wBA+BU,UAAU;;WA9BN,OAAO,oBAAoB,EAAE,GAAG;gBAChC,OAAO,oBAAoB,EAAE,QAAQ;iBACrC,OAAO,oBAAoB,EAAE,SAAS;kBACtC,OAAO,UAAU,EAAE,UAAU,CAAC,EAAE,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Tag, StyleTag, ScriptTag, RuleModule };
|
|
3
3
|
}
|
|
4
4
|
declare const _exports: RuleModule;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type
|
|
8
|
-
type
|
|
9
|
-
type
|
|
6
|
+
type Tag = import("@html-eslint/types").Tag;
|
|
7
|
+
type StyleTag = import("@html-eslint/types").StyleTag;
|
|
8
|
+
type ScriptTag = import("@html-eslint/types").ScriptTag;
|
|
9
|
+
type RuleModule = import("../types").RuleModule<[]>;
|
|
10
10
|
//# sourceMappingURL=no-accesskey-attrs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-accesskey-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-accesskey-attrs.js"],"names":[],"mappings":";;;wBAgBU,UAAU;;
|
|
1
|
+
{"version":3,"file":"no-accesskey-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-accesskey-attrs.js"],"names":[],"mappings":";;;wBAgBU,UAAU;;WAfN,OAAO,oBAAoB,EAAE,GAAG;gBAChC,OAAO,oBAAoB,EAAE,QAAQ;iBACrC,OAAO,oBAAoB,EAAE,SAAS;kBACtC,OAAO,UAAU,EAAE,UAAU,CAAC,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-aria-hidden-body.d.ts","sourceRoot":"","sources":["../../lib/rules/no-aria-hidden-body.js"],"names":[],"mappings":";;;wBAaU,UAAU;;kBAZN,OAAO,UAAU,EAAE,UAAU"}
|
|
1
|
+
{"version":3,"file":"no-aria-hidden-body.d.ts","sourceRoot":"","sources":["../../lib/rules/no-aria-hidden-body.js"],"names":[],"mappings":";;;wBAaU,UAAU;;kBAZN,OAAO,UAAU,EAAE,UAAU,CAAC,EAAE,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Tag, StyleTag, ScriptTag, RuleModule };
|
|
3
3
|
}
|
|
4
4
|
declare const _exports: RuleModule;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type
|
|
8
|
-
type
|
|
9
|
-
type
|
|
6
|
+
type Tag = import("@html-eslint/types").Tag;
|
|
7
|
+
type StyleTag = import("@html-eslint/types").StyleTag;
|
|
8
|
+
type ScriptTag = import("@html-eslint/types").ScriptTag;
|
|
9
|
+
type RuleModule = import("../types").RuleModule<[]>;
|
|
10
10
|
//# sourceMappingURL=no-duplicate-attrs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-duplicate-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-attrs.js"],"names":[],"mappings":";;;wBAeU,UAAU;;
|
|
1
|
+
{"version":3,"file":"no-duplicate-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-attrs.js"],"names":[],"mappings":";;;wBAeU,UAAU;;WAdN,OAAO,oBAAoB,EAAE,GAAG;gBAChC,OAAO,oBAAoB,EAAE,QAAQ;iBACrC,OAAO,oBAAoB,EAAE,SAAS;kBACtC,OAAO,UAAU,EAAE,UAAU,CAAC,EAAE,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Tag, StyleTag, ScriptTag, AttributeValue, RuleModule };
|
|
3
3
|
}
|
|
4
4
|
declare const _exports: RuleModule;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type
|
|
8
|
-
type
|
|
9
|
-
type
|
|
10
|
-
type
|
|
6
|
+
type Tag = import("@html-eslint/types").Tag;
|
|
7
|
+
type StyleTag = import("@html-eslint/types").StyleTag;
|
|
8
|
+
type ScriptTag = import("@html-eslint/types").ScriptTag;
|
|
9
|
+
type AttributeValue = import("@html-eslint/types").AttributeValue;
|
|
10
|
+
type RuleModule = import("../types").RuleModule<[]>;
|
|
11
11
|
//# sourceMappingURL=no-duplicate-id.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-duplicate-id.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-id.js"],"names":[],"mappings":";;;wBAsBU,UAAU;;
|
|
1
|
+
{"version":3,"file":"no-duplicate-id.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-id.js"],"names":[],"mappings":";;;wBAsBU,UAAU;;WArBN,OAAO,oBAAoB,EAAE,GAAG;gBAChC,OAAO,oBAAoB,EAAE,QAAQ;iBACrC,OAAO,oBAAoB,EAAE,SAAS;sBACtC,OAAO,oBAAoB,EAAE,cAAc;kBAC3C,OAAO,UAAU,EAAE,UAAU,CAAC,EAAE,CAAC"}
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
declare namespace _exports {
|
|
2
|
-
export {
|
|
2
|
+
export { Attribute, OpenTagEnd, OpenScriptTagEnd, OpenStyleTagEnd, OpenScriptTagStart, OpenTagStart, OpenStyleTagStart, Tag, StyleTag, ScriptTag, AnyNode, Option, RuleModule };
|
|
3
3
|
}
|
|
4
4
|
declare const _exports: RuleModule;
|
|
5
5
|
export = _exports;
|
|
6
|
-
type
|
|
7
|
-
type
|
|
8
|
-
type
|
|
9
|
-
type
|
|
10
|
-
type
|
|
11
|
-
type
|
|
12
|
-
type
|
|
13
|
-
type
|
|
14
|
-
type
|
|
15
|
-
type
|
|
16
|
-
type
|
|
17
|
-
type
|
|
6
|
+
type Attribute = import("@html-eslint/types").Attribute;
|
|
7
|
+
type OpenTagEnd = import("@html-eslint/types").OpenTagEnd;
|
|
8
|
+
type OpenScriptTagEnd = import("@html-eslint/types").OpenScriptTagEnd;
|
|
9
|
+
type OpenStyleTagEnd = import("@html-eslint/types").OpenStyleTagEnd;
|
|
10
|
+
type OpenScriptTagStart = import("@html-eslint/types").OpenScriptTagStart;
|
|
11
|
+
type OpenTagStart = import("@html-eslint/types").OpenTagStart;
|
|
12
|
+
type OpenStyleTagStart = import("@html-eslint/types").OpenStyleTagStart;
|
|
13
|
+
type Tag = import("@html-eslint/types").Tag;
|
|
14
|
+
type StyleTag = import("@html-eslint/types").StyleTag;
|
|
15
|
+
type ScriptTag = import("@html-eslint/types").ScriptTag;
|
|
16
|
+
type AnyNode = import("@html-eslint/types").AnyNode;
|
|
17
|
+
type Option = {
|
|
18
|
+
disallowInAssignment?: boolean | undefined;
|
|
19
|
+
disallowMissing?: boolean | undefined;
|
|
20
|
+
disallowTabs?: boolean | undefined;
|
|
21
|
+
enforceBeforeSelfClose?: boolean | undefined;
|
|
22
|
+
};
|
|
23
|
+
type RuleModule = import("../types").RuleModule<[Option]>;
|
|
18
24
|
//# sourceMappingURL=no-extra-spacing-attrs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-extra-spacing-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-extra-spacing-attrs.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"no-extra-spacing-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-extra-spacing-attrs.js"],"names":[],"mappings":";;;wBAyCU,UAAU;;iBAxCN,OAAO,oBAAoB,EAAE,SAAS;kBACtC,OAAO,oBAAoB,EAAE,UAAU;wBACvC,OAAO,oBAAoB,EAAE,gBAAgB;uBAC7C,OAAO,oBAAoB,EAAE,eAAe;0BAC5C,OAAO,oBAAoB,EAAE,kBAAkB;oBAC/C,OAAO,oBAAoB,EAAE,YAAY;yBACzC,OAAO,oBAAoB,EAAE,iBAAiB;WAC9C,OAAO,oBAAoB,EAAE,GAAG;gBAChC,OAAO,oBAAoB,EAAE,QAAQ;iBACrC,OAAO,oBAAoB,EAAE,SAAS;eACtC,OAAO,oBAAoB,EAAE,OAAO;;;;;;;kBAOpC,OAAO,UAAU,EAAE,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC"}
|