@html-eslint/eslint-plugin 0.35.0 → 0.35.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/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.d.ts +4 -200
- package/lib/types/index.d.ts +1 -1
- package/lib/types/rule.d.ts +41 -10
- package/package.json +11 -20
- package/types/configs/recommended.d.ts +0 -20
- package/types/configs/recommended.d.ts.map +0 -1
- package/types/constants/index.d.ts +0 -5
- package/types/constants/index.d.ts.map +0 -1
- package/types/constants/obsolete-tags.d.ts +0 -3
- package/types/constants/obsolete-tags.d.ts.map +0 -1
- package/types/constants/rule-category.d.ts +0 -5
- package/types/constants/rule-category.d.ts.map +0 -1
- package/types/constants/svg-camel-case-attributes.d.ts +0 -3
- package/types/constants/svg-camel-case-attributes.d.ts.map +0 -1
- package/types/constants/void-elements.d.ts +0 -3
- package/types/constants/void-elements.d.ts.map +0 -1
- package/types/index.d.ts +0 -14
- package/types/index.d.ts.map +0 -1
- package/types/rules/attrs-newline.d.ts +0 -13
- package/types/rules/attrs-newline.d.ts.map +0 -1
- package/types/rules/element-newline.d.ts +0 -16
- package/types/rules/element-newline.d.ts.map +0 -1
- package/types/rules/id-naming-convention.d.ts +0 -10
- package/types/rules/id-naming-convention.d.ts.map +0 -1
- package/types/rules/indent/indent-level.d.ts +0 -55
- package/types/rules/indent/indent-level.d.ts.map +0 -1
- package/types/rules/indent/indent.d.ts +0 -32
- package/types/rules/indent/indent.d.ts.map +0 -1
- package/types/rules/indent/index.d.ts +0 -3
- package/types/rules/indent/index.d.ts.map +0 -1
- package/types/rules/index.d.ts +0 -51
- package/types/rules/index.d.ts.map +0 -1
- package/types/rules/lowercase.d.ts +0 -10
- package/types/rules/lowercase.d.ts.map +0 -1
- package/types/rules/max-element-depth.d.ts +0 -10
- package/types/rules/max-element-depth.d.ts.map +0 -1
- package/types/rules/no-abstract-roles.d.ts +0 -10
- package/types/rules/no-abstract-roles.d.ts.map +0 -1
- package/types/rules/no-accesskey-attrs.d.ts +0 -10
- package/types/rules/no-accesskey-attrs.d.ts.map +0 -1
- package/types/rules/no-aria-hidden-body.d.ts +0 -7
- package/types/rules/no-aria-hidden-body.d.ts.map +0 -1
- package/types/rules/no-duplicate-attrs.d.ts +0 -10
- package/types/rules/no-duplicate-attrs.d.ts.map +0 -1
- package/types/rules/no-duplicate-id.d.ts +0 -11
- package/types/rules/no-duplicate-id.d.ts.map +0 -1
- package/types/rules/no-extra-spacing-attrs.d.ts +0 -18
- package/types/rules/no-extra-spacing-attrs.d.ts.map +0 -1
- package/types/rules/no-extra-spacing-text.d.ts +0 -13
- package/types/rules/no-extra-spacing-text.d.ts.map +0 -1
- package/types/rules/no-heading-inside-button.d.ts +0 -7
- package/types/rules/no-heading-inside-button.d.ts.map +0 -1
- package/types/rules/no-inline-styles.d.ts +0 -7
- package/types/rules/no-inline-styles.d.ts.map +0 -1
- package/types/rules/no-invalid-role.d.ts +0 -7
- package/types/rules/no-invalid-role.d.ts.map +0 -1
- package/types/rules/no-multiple-empty-lines.d.ts +0 -11
- package/types/rules/no-multiple-empty-lines.d.ts.map +0 -1
- package/types/rules/no-multiple-h1.d.ts +0 -8
- package/types/rules/no-multiple-h1.d.ts.map +0 -1
- package/types/rules/no-nested-interactive.d.ts +0 -8
- package/types/rules/no-nested-interactive.d.ts.map +0 -1
- package/types/rules/no-non-scalable-viewport.d.ts +0 -7
- package/types/rules/no-non-scalable-viewport.d.ts.map +0 -1
- package/types/rules/no-obsolete-tags.d.ts +0 -7
- package/types/rules/no-obsolete-tags.d.ts.map +0 -1
- package/types/rules/no-positive-tabindex.d.ts +0 -10
- package/types/rules/no-positive-tabindex.d.ts.map +0 -1
- package/types/rules/no-restricted-attr-values.d.ts +0 -16
- package/types/rules/no-restricted-attr-values.d.ts.map +0 -1
- package/types/rules/no-restricted-attrs.d.ts +0 -16
- package/types/rules/no-restricted-attrs.d.ts.map +0 -1
- package/types/rules/no-script-style-type.d.ts +0 -10
- package/types/rules/no-script-style-type.d.ts.map +0 -1
- package/types/rules/no-skip-heading-levels.d.ts +0 -8
- package/types/rules/no-skip-heading-levels.d.ts.map +0 -1
- package/types/rules/no-target-blank.d.ts +0 -7
- package/types/rules/no-target-blank.d.ts.map +0 -1
- package/types/rules/no-trailing-spaces.d.ts +0 -9
- package/types/rules/no-trailing-spaces.d.ts.map +0 -1
- package/types/rules/prefer-https.d.ts +0 -11
- package/types/rules/prefer-https.d.ts.map +0 -1
- package/types/rules/quotes.d.ts +0 -12
- package/types/rules/quotes.d.ts.map +0 -1
- package/types/rules/require-attrs.d.ts +0 -15
- package/types/rules/require-attrs.d.ts.map +0 -1
- package/types/rules/require-button-type.d.ts +0 -7
- package/types/rules/require-button-type.d.ts.map +0 -1
- package/types/rules/require-closing-tags.d.ts +0 -8
- package/types/rules/require-closing-tags.d.ts.map +0 -1
- package/types/rules/require-doctype.d.ts +0 -7
- package/types/rules/require-doctype.d.ts.map +0 -1
- package/types/rules/require-explicit-size.d.ts +0 -9
- package/types/rules/require-explicit-size.d.ts.map +0 -1
- package/types/rules/require-form-method.d.ts +0 -7
- package/types/rules/require-form-method.d.ts.map +0 -1
- package/types/rules/require-frame-title.d.ts +0 -7
- package/types/rules/require-frame-title.d.ts.map +0 -1
- package/types/rules/require-img-alt.d.ts +0 -8
- package/types/rules/require-img-alt.d.ts.map +0 -1
- package/types/rules/require-input-label.d.ts +0 -8
- package/types/rules/require-input-label.d.ts.map +0 -1
- package/types/rules/require-lang.d.ts +0 -7
- package/types/rules/require-lang.d.ts.map +0 -1
- package/types/rules/require-li-container.d.ts +0 -7
- package/types/rules/require-li-container.d.ts.map +0 -1
- package/types/rules/require-meta-charset.d.ts +0 -9
- package/types/rules/require-meta-charset.d.ts.map +0 -1
- package/types/rules/require-meta-description.d.ts +0 -9
- package/types/rules/require-meta-description.d.ts.map +0 -1
- package/types/rules/require-meta-viewport.d.ts +0 -9
- package/types/rules/require-meta-viewport.d.ts.map +0 -1
- package/types/rules/require-open-graph-protocol.d.ts +0 -9
- package/types/rules/require-open-graph-protocol.d.ts.map +0 -1
- package/types/rules/require-title.d.ts +0 -10
- package/types/rules/require-title.d.ts.map +0 -1
- package/types/rules/sort-attrs.d.ts +0 -10
- package/types/rules/sort-attrs.d.ts.map +0 -1
- package/types/rules/utils/array.d.ts +0 -17
- package/types/rules/utils/array.d.ts.map +0 -1
- package/types/rules/utils/naming.d.ts +0 -25
- package/types/rules/utils/naming.d.ts.map +0 -1
- package/types/rules/utils/node.d.ts +0 -119
- package/types/rules/utils/node.d.ts.map +0 -1
- package/types/rules/utils/settings.d.ts +0 -19
- package/types/rules/utils/settings.d.ts.map +0 -1
- package/types/rules/utils/source-code.d.ts +0 -9
- package/types/rules/utils/source-code.d.ts.map +0 -1
- package/types/rules/utils/visitors.d.ts +0 -10
- package/types/rules/utils/visitors.d.ts.map +0 -1
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
export type Attribute = import("../../types").Attribute;
|
|
2
|
-
export type Tag = import("../../types").Tag;
|
|
3
|
-
export type ScriptTag = import("../../types").ScriptTag;
|
|
4
|
-
export type StyleTag = import("../../types").StyleTag;
|
|
5
|
-
export type Line = import("../../types").Line;
|
|
6
|
-
export type Text = import("../../types").Text;
|
|
7
|
-
export type CommentContent = import("../../types").CommentContent;
|
|
8
|
-
export type Comment = import("../../types").Comment;
|
|
9
|
-
export type AnyNode = import("../../types").AnyNode;
|
|
10
|
-
export type AttributeValue = import("../../types").AttributeValue;
|
|
11
|
-
export type AttributeKey = import("../../types").AttributeKey;
|
|
12
|
-
export type TemplateText = import("../../types").TemplateText;
|
|
13
|
-
export type OpenTemplate = import("../../types").OpenTemplate;
|
|
14
|
-
export type CloseTemplate = import("../../types").CloseTemplate;
|
|
15
|
-
export type AnyPartNode = import("../../types").AnyPartNode;
|
|
16
|
-
export type Range = import("eslint").AST.Range;
|
|
17
|
-
export type SourceLocation = import("eslint").AST.SourceLocation;
|
|
18
|
-
export type AnyToken = import("es-html-parser").AnyToken;
|
|
19
|
-
/**
|
|
20
|
-
* @param {Tag | ScriptTag | StyleTag} node
|
|
21
|
-
* @param {string} key
|
|
22
|
-
* @returns {Attribute | undefined}
|
|
23
|
-
*/
|
|
24
|
-
export function findAttr(node: Tag | ScriptTag | StyleTag, key: string): Attribute | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Checks whether a node's attributes is empty or not.
|
|
27
|
-
* @param {Tag | ScriptTag | StyleTag} node
|
|
28
|
-
* @returns {boolean}
|
|
29
|
-
*/
|
|
30
|
-
export function isAttributesEmpty(node: Tag | ScriptTag | StyleTag): boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Checks whether a node's all tokens are on the same line or not.
|
|
33
|
-
* @param {AnyNode} node A node to check
|
|
34
|
-
* @returns {boolean} `true` if a node's tokens are on the same line, otherwise `false`.
|
|
35
|
-
*/
|
|
36
|
-
export function isNodeTokensOnSameLine(node: AnyNode): boolean;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @param {Text | CommentContent} node
|
|
40
|
-
* @returns {Line[]}
|
|
41
|
-
*/
|
|
42
|
-
export function splitToLineNodes(node: Text | CommentContent): Line[];
|
|
43
|
-
/**
|
|
44
|
-
* 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.
|
|
48
|
-
*/
|
|
49
|
-
export function getLocBetween(before: {
|
|
50
|
-
loc: SourceLocation;
|
|
51
|
-
}, after: {
|
|
52
|
-
loc: SourceLocation;
|
|
53
|
-
}): SourceLocation;
|
|
54
|
-
/**
|
|
55
|
-
* @param {Exclude<AnyNode, Line>} node
|
|
56
|
-
* @param {(node: AnyNode) => boolean} predicate
|
|
57
|
-
* @returns {null | AnyNode}
|
|
58
|
-
*/
|
|
59
|
-
export function findParent(node: Exclude<AnyNode, Line>, predicate: (node: AnyNode) => boolean): null | AnyNode;
|
|
60
|
-
/**
|
|
61
|
-
* @param {AnyNode} node
|
|
62
|
-
* @returns {node is Tag}
|
|
63
|
-
*/
|
|
64
|
-
export function isTag(node: AnyNode): node is Tag;
|
|
65
|
-
/**
|
|
66
|
-
* @param {AnyNode} node
|
|
67
|
-
* @returns {node is Comment}
|
|
68
|
-
*/
|
|
69
|
-
export function isComment(node: AnyNode): node is Comment;
|
|
70
|
-
/**
|
|
71
|
-
* @param {AnyNode} node
|
|
72
|
-
* @returns {node is Text}
|
|
73
|
-
*/
|
|
74
|
-
export function isText(node: AnyNode): node is Text;
|
|
75
|
-
/**
|
|
76
|
-
* @param {AnyNode | Line | TemplateText | OpenTemplate | CloseTemplate } node
|
|
77
|
-
* @returns {node is Line}
|
|
78
|
-
*/
|
|
79
|
-
export function isLine(node: AnyNode | Line | TemplateText | OpenTemplate | CloseTemplate): node is Line;
|
|
80
|
-
/**
|
|
81
|
-
* @param {AnyNode} node
|
|
82
|
-
* @returns {node is ScriptTag}
|
|
83
|
-
*/
|
|
84
|
-
export function isScript(node: AnyNode): node is ScriptTag;
|
|
85
|
-
/**
|
|
86
|
-
* @param {AnyNode} node
|
|
87
|
-
* @returns {node is StyleTag}
|
|
88
|
-
*/
|
|
89
|
-
export function isStyle(node: AnyNode): node is StyleTag;
|
|
90
|
-
/**
|
|
91
|
-
* @param {(Text | CommentContent)['parts']} parts
|
|
92
|
-
* @param {Range} range
|
|
93
|
-
* @returns {boolean}
|
|
94
|
-
*/
|
|
95
|
-
export function isOverlapWithTemplates(parts: (Text | CommentContent)["parts"], range: Range): boolean;
|
|
96
|
-
/**
|
|
97
|
-
* @param {string} source
|
|
98
|
-
* @returns {string[]}
|
|
99
|
-
*/
|
|
100
|
-
export function codeToLines(source: string): string[];
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @param {Range} rangeA
|
|
104
|
-
* @param {Range} rangeB
|
|
105
|
-
* @returns {boolean}
|
|
106
|
-
*/
|
|
107
|
-
export function isRangesOverlap(rangeA: Range, rangeB: Range): boolean;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @param {AnyToken[]} tokens
|
|
111
|
-
* @returns {((CommentContent | Text)['parts'][number])[]}
|
|
112
|
-
*/
|
|
113
|
-
export function getTemplateTokens(tokens: AnyToken[]): ((CommentContent | Text)["parts"][number])[];
|
|
114
|
-
/**
|
|
115
|
-
* @param {AttributeKey | AttributeValue | Text | CommentContent} node
|
|
116
|
-
* @returns {boolean}
|
|
117
|
-
*/
|
|
118
|
-
export function hasTemplate(node: AttributeKey | AttributeValue | Text | CommentContent): boolean;
|
|
119
|
-
//# sourceMappingURL=node.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../lib/rules/utils/node.js"],"names":[],"mappings":"wBACc,OAAO,aAAa,EAAE,SAAS;kBAC/B,OAAO,aAAa,EAAE,GAAG;wBACzB,OAAO,aAAa,EAAE,SAAS;uBAC/B,OAAO,aAAa,EAAE,QAAQ;mBAC9B,OAAO,aAAa,EAAE,IAAI;mBAC1B,OAAO,aAAa,EAAE,IAAI;6BAC1B,OAAO,aAAa,EAAE,cAAc;sBACpC,OAAO,aAAa,EAAE,OAAO;sBAC7B,OAAO,aAAa,EAAE,OAAO;6BAC7B,OAAO,aAAa,EAAE,cAAc;2BACpC,OAAO,aAAa,EAAE,YAAY;2BAClC,OAAO,aAAa,EAAE,YAAY;2BAClC,OAAO,aAAa,EAAE,YAAY;4BAClC,OAAO,aAAa,EAAE,aAAa;0BACnC,OAAO,aAAa,EAAE,WAAW;oBACjC,OAAO,QAAQ,EAAE,GAAG,CAAC,KAAK;6BAC1B,OAAO,QAAQ,EAAE,GAAG,CAAC,cAAc;uBACnC,OAAO,gBAAgB,EAAE,QAAQ;AAO/C;;;;GAIG;AACH,+BAJW,GAAG,GAAG,SAAS,GAAG,QAAQ,OAC1B,MAAM,GACJ,SAAS,GAAG,SAAS,CAMjC;AAED;;;;GAIG;AACH,wCAHW,GAAG,GAAG,SAAS,GAAG,QAAQ,GACxB,OAAO,CAInB;AAED;;;;GAIG;AACH,6CAHW,OAAO,GACL,OAAO,CAInB;AA+BD;;;;GAIG;AACH,uCAHW,IAAI,GAAG,cAAc,GACnB,IAAI,EAAE,CAwDlB;AAED;;;;;GAKG;AACH,sCAJW;IAAC,GAAG,EAAE,cAAc,CAAA;CAAC,SACrB;IAAC,GAAG,EAAE,cAAc,CAAA;CAAC,GACnB,cAAc,CAO1B;AA4DD;;;;GAIG;AACH,iCAJW,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,aACtB,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,GACxB,IAAI,GAAG,OAAO,CAgB1B;AA7ED;;;GAGG;AACH,4BAHW,OAAO,GACL,IAAI,IAAI,GAAG,CAIvB;AAkBD;;;GAGG;AACH,gCAHW,OAAO,GACL,IAAI,IAAI,OAAO,CAI3B;AAED;;;GAGG;AACH,6BAHW,OAAO,GACL,IAAI,IAAI,IAAI,CAIxB;AAED;;;GAGG;AACH,6BAHW,OAAO,GAAG,IAAI,GAAG,YAAY,GAAG,YAAY,GAAG,aAAa,GAC1D,IAAI,IAAI,IAAI,CAIxB;AAtCD;;;GAGG;AACH,+BAHW,OAAO,GACL,IAAI,IAAI,SAAS,CAI7B;AAED;;;GAGG;AACH,8BAHW,OAAO,GACL,IAAI,IAAI,QAAQ,CAI5B;AAnHD;;;;GAIG;AACH,8CAJW,CAAC,IAAI,GAAG,cAAc,CAAC,CAAC,OAAO,CAAC,SAChC,KAAK,GACH,OAAO,CAMnB;AAsID;;;GAGG;AACH,oCAHW,MAAM,GACJ,MAAM,EAAE,CAIpB;AA/JD;;;;;GAKG;AACH,wCAJW,KAAK,UACL,KAAK,GACH,OAAO,CAInB;AA8KD;;;;GAIG;AACH,0CAHW,QAAQ,EAAE,GACR,CAAC,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAaxD;AAjLD;;;GAGG;AACH,kCAHW,YAAY,GAAG,cAAc,GAAG,IAAI,GAAG,cAAc,GACnD,OAAO,CAInB"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export type MaybeHTMLSettings = import("../../types").MaybeHTMLSettings;
|
|
2
|
-
export type HTMLSettings = import("../../types").HTMLSettings;
|
|
3
|
-
export type Context = import("../../types").Context;
|
|
4
|
-
export type TaggedTemplateExpression = import("../../types").TaggedTemplateExpression;
|
|
5
|
-
export type TemplateLiteral = import("../../types").TemplateLiteral;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @param {TemplateLiteral} node
|
|
9
|
-
* @param {Context} context
|
|
10
|
-
* @returns {boolean}
|
|
11
|
-
*/
|
|
12
|
-
export function shouldCheckTemplateLiteral(node: TemplateLiteral, context: Context): boolean;
|
|
13
|
-
/**
|
|
14
|
-
* @param {TaggedTemplateExpression} node
|
|
15
|
-
* @param {Context} context
|
|
16
|
-
* @returns {boolean}
|
|
17
|
-
*/
|
|
18
|
-
export function shouldCheckTaggedTemplateExpression(node: TaggedTemplateExpression, context: Context): boolean;
|
|
19
|
-
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../lib/rules/utils/settings.js"],"names":[],"mappings":"gCACa,OAAO,aAAa,EAAE,iBAAiB;2BACvC,OAAO,aAAa,EAAE,YAAY;sBAClC,OAAO,aAAa,EAAE,OAAO;uCAC7B,OAAO,aAAa,EAAE,wBAAwB;8BAC9C,OAAO,aAAa,EAAE,eAAe;AA8DlD;;;;;GAKG;AACH,iDAJW,eAAe,WACf,OAAO,GACL,OAAO,CAWnB;AA7BD;;;;GAIG;AACH,0DAJW,wBAAwB,WACxB,OAAO,GACL,OAAO,CASnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"source-code.d.ts","sourceRoot":"","sources":["../../../lib/rules/utils/source-code.js"],"names":[],"mappings":"sBACa,OAAO,aAAa,EAAE,OAAO;AAD1C;;GAEG;AAEH;;GAEG;AACH,uCAFW,OAAO,OAIjB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type Context = import("../../types").Context;
|
|
2
|
-
export type RuleListener = import("../../types").RuleListener;
|
|
3
|
-
/**
|
|
4
|
-
* @param {Context} context
|
|
5
|
-
* @param {RuleListener} visitors
|
|
6
|
-
* @param {any} [templateVisitors]
|
|
7
|
-
* @returns {RuleListener}
|
|
8
|
-
*/
|
|
9
|
-
export function createVisitors(context: Context, visitors: RuleListener, templateVisitors?: any): RuleListener;
|
|
10
|
-
//# sourceMappingURL=visitors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"visitors.d.ts","sourceRoot":"","sources":["../../../lib/rules/utils/visitors.js"],"names":[],"mappings":"sBACc,OAAO,aAAa,EAAE,OAAO;2BAC7B,OAAO,aAAa,EAAE,YAAY;AA8BhD;;;;;GAKG;AACH,wCALW,OAAO,YACP,YAAY,qBACZ,GAAG,GACD,YAAY,CAWxB"}
|