@angular-eslint/eslint-plugin-template 18.1.1-alpha.6 → 18.1.1-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/index.d.ts +11 -53
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/rules/alt-text.d.ts +1 -0
  4. package/dist/rules/alt-text.d.ts.map +1 -1
  5. package/dist/rules/attributes-order.d.ts +1 -1
  6. package/dist/rules/attributes-order.d.ts.map +1 -1
  7. package/dist/rules/banana-in-box.d.ts +1 -0
  8. package/dist/rules/banana-in-box.d.ts.map +1 -1
  9. package/dist/rules/button-has-type.d.ts +2 -1
  10. package/dist/rules/button-has-type.d.ts.map +1 -1
  11. package/dist/rules/click-events-have-key-events.d.ts +1 -0
  12. package/dist/rules/click-events-have-key-events.d.ts.map +1 -1
  13. package/dist/rules/conditional-complexity.d.ts +1 -1
  14. package/dist/rules/conditional-complexity.d.ts.map +1 -1
  15. package/dist/rules/cyclomatic-complexity.d.ts +1 -1
  16. package/dist/rules/cyclomatic-complexity.d.ts.map +1 -1
  17. package/dist/rules/elements-content.d.ts +1 -1
  18. package/dist/rules/elements-content.d.ts.map +1 -1
  19. package/dist/rules/eqeqeq.d.ts +1 -1
  20. package/dist/rules/eqeqeq.d.ts.map +1 -1
  21. package/dist/rules/i18n.d.ts +1 -1
  22. package/dist/rules/i18n.d.ts.map +1 -1
  23. package/dist/rules/interactive-supports-focus.d.ts +1 -0
  24. package/dist/rules/interactive-supports-focus.d.ts.map +1 -1
  25. package/dist/rules/label-has-associated-control.d.ts +1 -1
  26. package/dist/rules/label-has-associated-control.d.ts.map +1 -1
  27. package/dist/rules/mouse-events-have-key-events.d.ts +1 -0
  28. package/dist/rules/mouse-events-have-key-events.d.ts.map +1 -1
  29. package/dist/rules/no-any.d.ts +1 -0
  30. package/dist/rules/no-any.d.ts.map +1 -1
  31. package/dist/rules/no-autofocus.d.ts +1 -0
  32. package/dist/rules/no-autofocus.d.ts.map +1 -1
  33. package/dist/rules/no-call-expression.d.ts +1 -1
  34. package/dist/rules/no-call-expression.d.ts.map +1 -1
  35. package/dist/rules/no-distracting-elements.d.ts +1 -0
  36. package/dist/rules/no-distracting-elements.d.ts.map +1 -1
  37. package/dist/rules/no-duplicate-attributes.d.ts +1 -1
  38. package/dist/rules/no-duplicate-attributes.d.ts.map +1 -1
  39. package/dist/rules/no-inline-styles.d.ts +1 -1
  40. package/dist/rules/no-inline-styles.d.ts.map +1 -1
  41. package/dist/rules/no-interpolation-in-attributes.d.ts +2 -1
  42. package/dist/rules/no-interpolation-in-attributes.d.ts.map +1 -1
  43. package/dist/rules/no-interpolation-in-attributes.js +3 -4
  44. package/dist/rules/no-negated-async.d.ts +1 -0
  45. package/dist/rules/no-negated-async.d.ts.map +1 -1
  46. package/dist/rules/no-positive-tabindex.d.ts +1 -0
  47. package/dist/rules/no-positive-tabindex.d.ts.map +1 -1
  48. package/dist/rules/prefer-control-flow.d.ts +2 -1
  49. package/dist/rules/prefer-control-flow.d.ts.map +1 -1
  50. package/dist/rules/prefer-control-flow.js +4 -5
  51. package/dist/rules/prefer-ngsrc.d.ts +1 -0
  52. package/dist/rules/prefer-ngsrc.d.ts.map +1 -1
  53. package/dist/rules/prefer-self-closing-tags.d.ts +2 -1
  54. package/dist/rules/prefer-self-closing-tags.d.ts.map +1 -1
  55. package/dist/rules/prefer-self-closing-tags.js +4 -5
  56. package/dist/rules/role-has-required-aria.d.ts +1 -0
  57. package/dist/rules/role-has-required-aria.d.ts.map +1 -1
  58. package/dist/rules/table-scope.d.ts +1 -0
  59. package/dist/rules/table-scope.d.ts.map +1 -1
  60. package/dist/rules/use-track-by-function.d.ts +1 -1
  61. package/dist/rules/use-track-by-function.d.ts.map +1 -1
  62. package/dist/rules/valid-aria.d.ts +1 -0
  63. package/dist/rules/valid-aria.d.ts.map +1 -1
  64. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -80,64 +80,24 @@ declare const _default: {
80
80
  };
81
81
  rules: {
82
82
  "alt-text": import("@typescript-eslint/utils/ts-eslint").RuleModule<"altText", [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
83
- "attributes-order": import("@typescript-eslint/utils/ts-eslint").RuleModule<"attributesOrder", [{
84
- readonly alphabetical: boolean;
85
- readonly order: readonly import("./rules/attributes-order").OrderType[];
86
- }], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
83
+ "attributes-order": import("@typescript-eslint/utils/ts-eslint").RuleModule<"attributesOrder", import("./rules/attributes-order").Options, import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
87
84
  "banana-in-box": import("@typescript-eslint/utils/ts-eslint").RuleModule<"bananaInBox", [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
88
85
  "button-has-type": import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/button-has-type").MessageIds, [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
89
86
  "click-events-have-key-events": import("@typescript-eslint/utils/ts-eslint").RuleModule<"clickEventsHaveKeyEvents", [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
90
- "conditional-complexity": import("@typescript-eslint/utils/ts-eslint").RuleModule<"conditionalComplexity", [{
91
- maxComplexity: number;
92
- }], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
93
- "cyclomatic-complexity": import("@typescript-eslint/utils/ts-eslint").RuleModule<"cyclomaticComplexity", [{
94
- maxComplexity: number;
95
- }], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
96
- "elements-content": import("@typescript-eslint/utils/ts-eslint").RuleModule<"elementsContent", [{
97
- readonly allowList?: readonly string[];
98
- }], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
99
- eqeqeq: import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/eqeqeq").MessageIds, [{
100
- readonly allowNullOrUndefined?: boolean;
101
- }], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
102
- i18n: import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/i18n").MessageIds, [{
103
- readonly allowMarkupInContent?: boolean;
104
- readonly boundTextAllowedPattern?: string;
105
- readonly checkAttributes?: boolean;
106
- readonly checkDuplicateId?: boolean;
107
- readonly checkId?: boolean;
108
- readonly checkText?: boolean;
109
- readonly ignoreAttributes?: readonly string[];
110
- readonly ignoreTags?: readonly string[];
111
- readonly requireDescription?: boolean;
112
- readonly requireMeaning?: boolean;
113
- }], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
87
+ "conditional-complexity": import("@typescript-eslint/utils/ts-eslint").RuleModule<"conditionalComplexity", import("./rules/conditional-complexity").Options, import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
88
+ "cyclomatic-complexity": import("@typescript-eslint/utils/ts-eslint").RuleModule<"cyclomaticComplexity", import("./rules/cyclomatic-complexity").Options, import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
89
+ "elements-content": import("@typescript-eslint/utils/ts-eslint").RuleModule<"elementsContent", import("./rules/elements-content").Options, import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
90
+ eqeqeq: import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/eqeqeq").MessageIds, import("./rules/eqeqeq").Options, import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
91
+ i18n: import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/i18n").MessageIds, import("./rules/i18n").Options, import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
114
92
  "interactive-supports-focus": import("@typescript-eslint/utils/ts-eslint").RuleModule<"interactiveSupportsFocus", [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
115
- "label-has-associated-control": import("@typescript-eslint/utils/ts-eslint").RuleModule<"labelHasAssociatedControl", [{
116
- readonly controlComponents?: readonly string[];
117
- readonly labelComponents?: readonly {
118
- readonly inputs?: readonly string[];
119
- readonly selector: string;
120
- }[];
121
- readonly checkIds?: boolean;
122
- }], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
93
+ "label-has-associated-control": import("@typescript-eslint/utils/ts-eslint").RuleModule<"labelHasAssociatedControl", import("./rules/label-has-associated-control").Options, import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
123
94
  "mouse-events-have-key-events": import("@typescript-eslint/utils/ts-eslint").RuleModule<"mouseEventsHaveKeyEvents", [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
124
95
  "no-any": import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/no-any").MessageIds, [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
125
96
  "no-autofocus": import("@typescript-eslint/utils/ts-eslint").RuleModule<"noAutofocus", [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
126
- "no-call-expression": import("@typescript-eslint/utils/ts-eslint").RuleModule<"noCallExpression", [{
127
- readonly allowList?: readonly string[];
128
- readonly allowPrefix?: string;
129
- readonly allowSuffix?: string;
130
- }], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
97
+ "no-call-expression": import("@typescript-eslint/utils/ts-eslint").RuleModule<"noCallExpression", import("./rules/no-call-expression").Options, import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
131
98
  "no-distracting-elements": import("@typescript-eslint/utils/ts-eslint").RuleModule<"noDistractingElements", [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
132
- "no-duplicate-attributes": import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/no-duplicate-attributes").MessageIds, [{
133
- readonly allowTwoWayDataBinding?: boolean;
134
- readonly allowStylePrecedenceDuplicates?: boolean;
135
- readonly ignore?: readonly string[];
136
- }], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
137
- "no-inline-styles": import("@typescript-eslint/utils/ts-eslint").RuleModule<"noInlineStyles", [{
138
- readonly allowNgStyle?: boolean;
139
- readonly allowBindToStyle?: boolean;
140
- }], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
99
+ "no-duplicate-attributes": import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/no-duplicate-attributes").MessageIds, import("./rules/no-duplicate-attributes").Options, import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
100
+ "no-inline-styles": import("@typescript-eslint/utils/ts-eslint").RuleModule<"noInlineStyles", import("./rules/no-inline-styles").Options, import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
141
101
  "no-interpolation-in-attributes": import("@typescript-eslint/utils/ts-eslint").RuleModule<"noInterpolationInAttributes", [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
142
102
  "no-negated-async": import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/no-negated-async").MessageIds, [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
143
103
  "no-positive-tabindex": import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/no-positive-tabindex").MessageIds, [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -146,9 +106,7 @@ declare const _default: {
146
106
  "prefer-ngsrc": import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/prefer-ngsrc").MessageIds, [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
147
107
  "role-has-required-aria": import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/role-has-required-aria").MessageIds, [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
148
108
  "table-scope": import("@typescript-eslint/utils/ts-eslint").RuleModule<"tableScope", [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
149
- "use-track-by-function": import("@typescript-eslint/utils/ts-eslint").RuleModule<"useTrackByFunction", [{
150
- readonly alias: readonly string[];
151
- }], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
109
+ "use-track-by-function": import("@typescript-eslint/utils/ts-eslint").RuleModule<"useTrackByFunction", import("./rules/use-track-by-function").Options, import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
152
110
  "valid-aria": import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/valid-aria").MessageIds, [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
153
111
  };
154
112
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmFA,kBAuCE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmFA,kBAuCE"}
@@ -1,3 +1,4 @@
1
+ export type Options = [];
1
2
  export type MessageIds = 'altText';
2
3
  export declare const RULE_NAME = "alt-text";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"altText", [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"alt-text.d.ts","sourceRoot":"","sources":["../../src/rules/alt-text.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,UAAU,GAAG,SAAS,CAAC;AACnC,eAAO,MAAM,SAAS,aAAa,CAAC;;AAEpC,wBAsCG"}
1
+ {"version":3,"file":"alt-text.d.ts","sourceRoot":"","sources":["../../src/rules/alt-text.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,SAAS,CAAC;AACnC,eAAO,MAAM,SAAS,aAAa,CAAC;;AAEpC,wBAsCG"}
@@ -6,7 +6,7 @@ export declare enum OrderType {
6
6
  OutputBinding = "OUTPUT_BINDING",
7
7
  TwoWayBinding = "TWO_WAY_BINDING"
8
8
  }
9
- type Options = [
9
+ export type Options = [
10
10
  {
11
11
  readonly alphabetical: boolean;
12
12
  readonly order: readonly OrderType[];
@@ -1 +1 @@
1
- {"version":3,"file":"attributes-order.d.ts","sourceRoot":"","sources":["../../src/rules/attributes-order.ts"],"names":[],"mappings":"AAiBA,oBAAY,SAAS;IACnB,yBAAyB,uBAAuB;IAChD,mBAAmB,yBAAyB;IAC5C,gBAAgB,sBAAsB;IACtC,YAAY,kBAAkB;IAC9B,aAAa,mBAAmB;IAChC,aAAa,oBAAoB;CAClC;AAED,KAAK,OAAO,GAAG;IACb;QACE,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,KAAK,EAAE,SAAS,SAAS,EAAE,CAAC;KACtC;CACF,CAAC;AA6BF,MAAM,MAAM,UAAU,GAAG,iBAAiB,CAAC;AAC3C,eAAO,MAAM,SAAS,qBAAqB,CAAC;;AAgB5C,wBAmJG"}
1
+ {"version":3,"file":"attributes-order.d.ts","sourceRoot":"","sources":["../../src/rules/attributes-order.ts"],"names":[],"mappings":"AAiBA,oBAAY,SAAS;IACnB,yBAAyB,uBAAuB;IAChD,mBAAmB,yBAAyB;IAC5C,gBAAgB,sBAAsB;IACtC,YAAY,kBAAkB;IAC9B,aAAa,mBAAmB;IAChC,aAAa,oBAAoB;CAClC;AAED,MAAM,MAAM,OAAO,GAAG;IACpB;QACE,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,KAAK,EAAE,SAAS,SAAS,EAAE,CAAC;KACtC;CACF,CAAC;AA6BF,MAAM,MAAM,UAAU,GAAG,iBAAiB,CAAC;AAC3C,eAAO,MAAM,SAAS,qBAAqB,CAAC;;AAgB5C,wBAmJG"}
@@ -1,3 +1,4 @@
1
+ export type Options = [];
1
2
  export type MessageIds = 'bananaInBox';
2
3
  export declare const RULE_NAME = "banana-in-box";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"bananaInBox", [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"banana-in-box.d.ts","sourceRoot":"","sources":["../../src/rules/banana-in-box.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,UAAU,GAAG,aAAa,CAAC;AACvC,eAAO,MAAM,SAAS,kBAAkB,CAAC;;AAKzC,wBA2CG"}
1
+ {"version":3,"file":"banana-in-box.d.ts","sourceRoot":"","sources":["../../src/rules/banana-in-box.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,aAAa,CAAC;AACvC,eAAO,MAAM,SAAS,kBAAkB,CAAC;;AAKzC,wBA2CG"}
@@ -1,6 +1,7 @@
1
+ export type Options = [];
2
+ export type MessageIds = 'invalidType' | 'missingType';
1
3
  export declare const RULE_NAME = "button-has-type";
2
4
  export declare const INVALID_TYPE_DATA_KEY = "type";
3
- export type MessageIds = 'invalidType' | 'missingType';
4
5
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
5
6
  export default _default;
6
7
  //# sourceMappingURL=button-has-type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button-has-type.d.ts","sourceRoot":"","sources":["../../src/rules/button-has-type.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,SAAS,oBAAoB,CAAC;AAC3C,eAAO,MAAM,qBAAqB,SAAS,CAAC;AAC5C,MAAM,MAAM,UAAU,GAAG,aAAa,GAAG,aAAa,CAAC;;AAWvD,wBAyCG"}
1
+ {"version":3,"file":"button-has-type.d.ts","sourceRoot":"","sources":["../../src/rules/button-has-type.ts"],"names":[],"mappings":"AAWA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,aAAa,GAAG,aAAa,CAAC;AACvD,eAAO,MAAM,SAAS,oBAAoB,CAAC;AAE3C,eAAO,MAAM,qBAAqB,SAAS,CAAC;;AAW5C,wBAyCG"}
@@ -1,3 +1,4 @@
1
+ export type Options = [];
1
2
  export type MessageIds = 'clickEventsHaveKeyEvents';
2
3
  export declare const RULE_NAME = "click-events-have-key-events";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"clickEventsHaveKeyEvents", [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"click-events-have-key-events.d.ts","sourceRoot":"","sources":["../../src/rules/click-events-have-key-events.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,UAAU,GAAG,0BAA0B,CAAC;AACpD,eAAO,MAAM,SAAS,iCAAiC,CAAC;;AAExD,wBAwDG"}
1
+ {"version":3,"file":"click-events-have-key-events.d.ts","sourceRoot":"","sources":["../../src/rules/click-events-have-key-events.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,0BAA0B,CAAC;AACpD,eAAO,MAAM,SAAS,iCAAiC,CAAC;;AAExD,wBAwDG"}
@@ -1,4 +1,4 @@
1
- type Options = [{
1
+ export type Options = [{
2
2
  maxComplexity: number;
3
3
  }];
4
4
  export type MessageIds = 'conditionalComplexity';
@@ -1 +1 @@
1
- {"version":3,"file":"conditional-complexity.d.ts","sourceRoot":"","sources":["../../src/rules/conditional-complexity.ts"],"names":[],"mappings":"AAgBA,KAAK,OAAO,GAAG,CAAC;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAC3C,MAAM,MAAM,UAAU,GAAG,uBAAuB,CAAC;AACjD,eAAO,MAAM,SAAS,2BAA2B,CAAC;;AAIlD,wBAkFG"}
1
+ {"version":3,"file":"conditional-complexity.d.ts","sourceRoot":"","sources":["../../src/rules/conditional-complexity.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,OAAO,GAAG,CAAC;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAClD,MAAM,MAAM,UAAU,GAAG,uBAAuB,CAAC;AACjD,eAAO,MAAM,SAAS,2BAA2B,CAAC;;AAIlD,wBAkFG"}
@@ -1,4 +1,4 @@
1
- type Options = [{
1
+ export type Options = [{
2
2
  maxComplexity: number;
3
3
  }];
4
4
  export type MessageIds = 'cyclomaticComplexity';
@@ -1 +1 @@
1
- {"version":3,"file":"cyclomatic-complexity.d.ts","sourceRoot":"","sources":["../../src/rules/cyclomatic-complexity.ts"],"names":[],"mappings":"AAOA,KAAK,OAAO,GAAG,CAAC;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAC3C,MAAM,MAAM,UAAU,GAAG,sBAAsB,CAAC;AAChD,eAAO,MAAM,SAAS,0BAA0B,CAAC;;AAIjD,wBA+CG"}
1
+ {"version":3,"file":"cyclomatic-complexity.d.ts","sourceRoot":"","sources":["../../src/rules/cyclomatic-complexity.ts"],"names":[],"mappings":"AAOA,MAAM,MAAM,OAAO,GAAG,CAAC;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAClD,MAAM,MAAM,UAAU,GAAG,sBAAsB,CAAC;AAChD,eAAO,MAAM,SAAS,0BAA0B,CAAC;;AAIjD,wBA+CG"}
@@ -1,4 +1,4 @@
1
- type Options = [
1
+ export type Options = [
2
2
  {
3
3
  readonly allowList?: readonly string[];
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"elements-content.d.ts","sourceRoot":"","sources":["../../src/rules/elements-content.ts"],"names":[],"mappings":"AAKA,KAAK,OAAO,GAAG;IACb;QACE,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;KACxC;CACF,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,iBAAiB,CAAC;AAC3C,eAAO,MAAM,SAAS,qBAAqB,CAAC;;AAa5C,wBAwDG"}
1
+ {"version":3,"file":"elements-content.d.ts","sourceRoot":"","sources":["../../src/rules/elements-content.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,OAAO,GAAG;IACpB;QACE,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;KACxC;CACF,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,iBAAiB,CAAC;AAC3C,eAAO,MAAM,SAAS,qBAAqB,CAAC;;AAa5C,wBAwDG"}
@@ -1,5 +1,5 @@
1
1
  import type { TSESLint } from '@typescript-eslint/utils';
2
- type Options = [{
2
+ export type Options = [{
3
3
  readonly allowNullOrUndefined?: boolean;
4
4
  }];
5
5
  export type MessageIds = 'eqeqeq' | 'suggestStrictEquality';
@@ -1 +1 @@
1
- {"version":3,"file":"eqeqeq.d.ts","sourceRoot":"","sources":["../../src/rules/eqeqeq.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,KAAK,OAAO,GAAG,CAAC;IAAE,QAAQ,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAC7D,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,uBAAuB,CAAC;AAC5D,eAAO,MAAM,SAAS,WAAW,CAAC;;AAGlC,wBA4EG"}
1
+ {"version":3,"file":"eqeqeq.d.ts","sourceRoot":"","sources":["../../src/rules/eqeqeq.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,MAAM,MAAM,OAAO,GAAG,CAAC;IAAE,QAAQ,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AACpE,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,uBAAuB,CAAC;AAC5D,eAAO,MAAM,SAAS,WAAW,CAAC;;AAGlC,wBA4EG"}
@@ -1,5 +1,5 @@
1
1
  import type { TSESLint } from '@typescript-eslint/utils';
2
- type Options = [
2
+ export type Options = [
3
3
  {
4
4
  readonly allowMarkupInContent?: boolean;
5
5
  readonly boundTextAllowedPattern?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/rules/i18n.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,QAAQ,EAAY,MAAM,0BAA0B,CAAC;AA6CnE,KAAK,OAAO,GAAG;IACb;QACE,QAAQ,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAC;QACxC,QAAQ,CAAC,uBAAuB,CAAC,EAAE,MAAM,CAAC;QAC1C,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;QACnC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;QACpC,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;QAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;QAC7B,QAAQ,CAAC,gBAAgB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QAC9C,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QACxC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAC;QACtC,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;KACnC;CACF,CAAC;AACF,MAAM,MAAM,UAAU,GAClB,eAAe,GACf,0BAA0B,GAC1B,yBAAyB,GACzB,uBAAuB,GACvB,uBAAuB,GACvB,yBAAyB,GACzB,wBAAwB,GACxB,oBAAoB,GACpB,qBAAqB,CAAC;AAqB1B,eAAO,MAAM,SAAS,SAAS,CAAC;;AAkBhC,wBAsUG"}
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/rules/i18n.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,QAAQ,EAAY,MAAM,0BAA0B,CAAC;AA6CnE,MAAM,MAAM,OAAO,GAAG;IACpB;QACE,QAAQ,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAC;QACxC,QAAQ,CAAC,uBAAuB,CAAC,EAAE,MAAM,CAAC;QAC1C,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;QACnC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;QACpC,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;QAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;QAC7B,QAAQ,CAAC,gBAAgB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QAC9C,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QACxC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAC;QACtC,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;KACnC;CACF,CAAC;AACF,MAAM,MAAM,UAAU,GAClB,eAAe,GACf,0BAA0B,GAC1B,yBAAyB,GACzB,uBAAuB,GACvB,uBAAuB,GACvB,yBAAyB,GACzB,wBAAwB,GACxB,oBAAoB,GACpB,qBAAqB,CAAC;AAqB1B,eAAO,MAAM,SAAS,SAAS,CAAC;;AAkBhC,wBAsUG"}
@@ -1,3 +1,4 @@
1
+ export type Options = [];
1
2
  export type MessageIds = 'interactiveSupportsFocus';
2
3
  export declare const RULE_NAME = "interactive-supports-focus";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"interactiveSupportsFocus", [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"interactive-supports-focus.d.ts","sourceRoot":"","sources":["../../src/rules/interactive-supports-focus.ts"],"names":[],"mappings":"AAcA,MAAM,MAAM,UAAU,GAAG,0BAA0B,CAAC;AACpD,eAAO,MAAM,SAAS,+BAA+B,CAAC;;AAEtD,wBAmEG"}
1
+ {"version":3,"file":"interactive-supports-focus.d.ts","sourceRoot":"","sources":["../../src/rules/interactive-supports-focus.ts"],"names":[],"mappings":"AAaA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,0BAA0B,CAAC;AACpD,eAAO,MAAM,SAAS,+BAA+B,CAAC;;AAEtD,wBAmEG"}
@@ -2,7 +2,7 @@ type LabelComponent = {
2
2
  readonly inputs?: readonly string[];
3
3
  readonly selector: string;
4
4
  };
5
- type Options = [
5
+ export type Options = [
6
6
  {
7
7
  readonly controlComponents?: readonly string[];
8
8
  readonly labelComponents?: readonly LabelComponent[];
@@ -1 +1 @@
1
- {"version":3,"file":"label-has-associated-control.d.ts","sourceRoot":"","sources":["../../src/rules/label-has-associated-control.ts"],"names":[],"mappings":"AAQA,KAAK,cAAc,GAAG;IACpB,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B,CAAC;AACF,KAAK,OAAO,GAAG;IACb;QACE,QAAQ,CAAC,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QAC/C,QAAQ,CAAC,eAAe,CAAC,EAAE,SAAS,cAAc,EAAE,CAAC;QACrD,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;KAC7B;CACF,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,2BAA2B,CAAC;AACrD,eAAO,MAAM,SAAS,iCAAiC,CAAC;;AAkBxD,wBA8GG"}
1
+ {"version":3,"file":"label-has-associated-control.d.ts","sourceRoot":"","sources":["../../src/rules/label-has-associated-control.ts"],"names":[],"mappings":"AAQA,KAAK,cAAc,GAAG;IACpB,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B,CAAC;AACF,MAAM,MAAM,OAAO,GAAG;IACpB;QACE,QAAQ,CAAC,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QAC/C,QAAQ,CAAC,eAAe,CAAC,EAAE,SAAS,cAAc,EAAE,CAAC;QACrD,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;KAC7B;CACF,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,2BAA2B,CAAC;AACrD,eAAO,MAAM,SAAS,iCAAiC,CAAC;;AAkBxD,wBA8GG"}
@@ -1,4 +1,5 @@
1
1
  import type { TSESLint } from '@typescript-eslint/utils';
2
+ export type Options = [];
2
3
  export type MessageIds = 'mouseEventsHaveKeyEvents';
3
4
  export declare const RULE_NAME = "mouse-events-have-key-events";
4
5
  declare const _default: TSESLint.RuleModule<"mouseEventsHaveKeyEvents", [], import("../utils/create-eslint-rule").RuleDocs, TSESLint.RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"mouse-events-have-key-events.d.ts","sourceRoot":"","sources":["../../src/rules/mouse-events-have-key-events.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAMzD,MAAM,MAAM,UAAU,GAAG,0BAA0B,CAAC;AACpD,eAAO,MAAM,SAAS,iCAAiC,CAAC;;AAaxD,wBAuCG"}
1
+ {"version":3,"file":"mouse-events-have-key-events.d.ts","sourceRoot":"","sources":["../../src/rules/mouse-events-have-key-events.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAKzD,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,0BAA0B,CAAC;AACpD,eAAO,MAAM,SAAS,iCAAiC,CAAC;;AAaxD,wBAuCG"}
@@ -1,3 +1,4 @@
1
+ export type Options = [];
1
2
  export type MessageIds = 'noAny' | 'suggestRemoveAny';
2
3
  export declare const RULE_NAME = "no-any";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"no-any.d.ts","sourceRoot":"","sources":["../../src/rules/no-any.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,kBAAkB,CAAC;AACtD,eAAO,MAAM,SAAS,WAAW,CAAC;;AAGlC,wBA0DG"}
1
+ {"version":3,"file":"no-any.d.ts","sourceRoot":"","sources":["../../src/rules/no-any.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,kBAAkB,CAAC;AACtD,eAAO,MAAM,SAAS,WAAW,CAAC;;AAGlC,wBA0DG"}
@@ -1,3 +1,4 @@
1
+ export type Options = [];
1
2
  export type MessageIds = 'noAutofocus';
2
3
  export declare const RULE_NAME = "no-autofocus";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noAutofocus", [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"no-autofocus.d.ts","sourceRoot":"","sources":["../../src/rules/no-autofocus.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,UAAU,GAAG,aAAa,CAAC;AACvC,eAAO,MAAM,SAAS,iBAAiB,CAAC;;AAExC,wBAsCG"}
1
+ {"version":3,"file":"no-autofocus.d.ts","sourceRoot":"","sources":["../../src/rules/no-autofocus.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,aAAa,CAAC;AACvC,eAAO,MAAM,SAAS,iBAAiB,CAAC;;AAExC,wBAsCG"}
@@ -1,4 +1,4 @@
1
- type Options = [
1
+ export type Options = [
2
2
  {
3
3
  readonly allowList?: readonly string[];
4
4
  readonly allowPrefix?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"no-call-expression.d.ts","sourceRoot":"","sources":["../../src/rules/no-call-expression.ts"],"names":[],"mappings":"AAMA,KAAK,OAAO,GAAG;IACb;QACE,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QACvC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,kBAAkB,CAAC;AAC5C,eAAO,MAAM,SAAS,uBAAuB,CAAC;;AAE9C,wBA4EG"}
1
+ {"version":3,"file":"no-call-expression.d.ts","sourceRoot":"","sources":["../../src/rules/no-call-expression.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,OAAO,GAAG;IACpB;QACE,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QACvC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,kBAAkB,CAAC;AAC5C,eAAO,MAAM,SAAS,uBAAuB,CAAC;;AAE9C,wBA4EG"}
@@ -1,3 +1,4 @@
1
+ export type Options = [];
1
2
  export type MessageIds = 'noDistractingElements';
2
3
  export declare const RULE_NAME = "no-distracting-elements";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noDistractingElements", [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"no-distracting-elements.d.ts","sourceRoot":"","sources":["../../src/rules/no-distracting-elements.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,UAAU,GAAG,uBAAuB,CAAC;AACjD,eAAO,MAAM,SAAS,4BAA4B,CAAC;;AAEnD,wBAoCG"}
1
+ {"version":3,"file":"no-distracting-elements.d.ts","sourceRoot":"","sources":["../../src/rules/no-distracting-elements.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,uBAAuB,CAAC;AACjD,eAAO,MAAM,SAAS,4BAA4B,CAAC;;AAEnD,wBAoCG"}
@@ -1,4 +1,4 @@
1
- type Options = [
1
+ export type Options = [
2
2
  {
3
3
  readonly allowTwoWayDataBinding?: boolean;
4
4
  readonly allowStylePrecedenceDuplicates?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"no-duplicate-attributes.d.ts","sourceRoot":"","sources":["../../src/rules/no-duplicate-attributes.ts"],"names":[],"mappings":"AAUA,KAAK,OAAO,GAAG;IACb;QACE,QAAQ,CAAC,sBAAsB,CAAC,EAAE,OAAO,CAAC;QAC1C,QAAQ,CAAC,8BAA8B,CAAC,EAAE,OAAO,CAAC;QAClD,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;KACrC;CACF,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,uBAAuB,GAAG,wBAAwB,CAAC;AAC5E,eAAO,MAAM,SAAS,4BAA4B,CAAC;;AAOnD,wBA2IG"}
1
+ {"version":3,"file":"no-duplicate-attributes.d.ts","sourceRoot":"","sources":["../../src/rules/no-duplicate-attributes.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,OAAO,GAAG;IACpB;QACE,QAAQ,CAAC,sBAAsB,CAAC,EAAE,OAAO,CAAC;QAC1C,QAAQ,CAAC,8BAA8B,CAAC,EAAE,OAAO,CAAC;QAClD,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;KACrC;CACF,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,uBAAuB,GAAG,wBAAwB,CAAC;AAC5E,eAAO,MAAM,SAAS,4BAA4B,CAAC;;AAOnD,wBA2IG"}
@@ -1,4 +1,4 @@
1
- type Options = [
1
+ export type Options = [
2
2
  {
3
3
  readonly allowNgStyle?: boolean;
4
4
  readonly allowBindToStyle?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"no-inline-styles.d.ts","sourceRoot":"","sources":["../../src/rules/no-inline-styles.ts"],"names":[],"mappings":"AAOA,KAAK,OAAO,GAAG;IACb;QACE,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;QAChC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;KACrC;CACF,CAAC;AAKF,MAAM,MAAM,UAAU,GAAG,gBAAgB,CAAC;AAC1C,eAAO,MAAM,SAAS,qBAAqB,CAAC;;AAE5C,wBAqEG"}
1
+ {"version":3,"file":"no-inline-styles.d.ts","sourceRoot":"","sources":["../../src/rules/no-inline-styles.ts"],"names":[],"mappings":"AAOA,MAAM,MAAM,OAAO,GAAG;IACpB;QACE,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;QAChC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;KACrC;CACF,CAAC;AAKF,MAAM,MAAM,UAAU,GAAG,gBAAgB,CAAC;AAC1C,eAAO,MAAM,SAAS,qBAAqB,CAAC;;AAE5C,wBAqEG"}
@@ -1,4 +1,5 @@
1
- export declare const MESSAGE_ID = "noInterpolationInAttributes";
1
+ export type Options = [];
2
+ export type MessageIds = 'noInterpolationInAttributes';
2
3
  export declare const RULE_NAME = "no-interpolation-in-attributes";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noInterpolationInAttributes", [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
4
5
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"no-interpolation-in-attributes.d.ts","sourceRoot":"","sources":["../../src/rules/no-interpolation-in-attributes.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,gCAAgC,CAAC;AACxD,eAAO,MAAM,SAAS,mCAAmC,CAAC;;AAE1D,wBAkCG"}
1
+ {"version":3,"file":"no-interpolation-in-attributes.d.ts","sourceRoot":"","sources":["../../src/rules/no-interpolation-in-attributes.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,6BAA6B,CAAC;AACvD,eAAO,MAAM,SAAS,mCAAmC,CAAC;;AAE1D,wBAkCG"}
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RULE_NAME = exports.MESSAGE_ID = void 0;
3
+ exports.RULE_NAME = void 0;
4
4
  const create_eslint_rule_1 = require("../utils/create-eslint-rule");
5
- exports.MESSAGE_ID = 'noInterpolationInAttributes';
6
5
  exports.RULE_NAME = 'no-interpolation-in-attributes';
7
6
  exports.default = (0, create_eslint_rule_1.createESLintRule)({
8
7
  name: exports.RULE_NAME,
@@ -13,7 +12,7 @@ exports.default = (0, create_eslint_rule_1.createESLintRule)({
13
12
  },
14
13
  schema: [],
15
14
  messages: {
16
- [exports.MESSAGE_ID]: 'Use property binding [attribute]="value" instead of interpolation {{ value }} for an attribute.',
15
+ noInterpolationInAttributes: 'Use property binding [attribute]="value" instead of interpolation {{ value }} for an attribute.',
17
16
  },
18
17
  },
19
18
  defaultOptions: [],
@@ -27,7 +26,7 @@ exports.default = (0, create_eslint_rule_1.createESLintRule)({
27
26
  start: sourceCode.getLocFromIndex(start),
28
27
  end: sourceCode.getLocFromIndex(end),
29
28
  },
30
- messageId: exports.MESSAGE_ID,
29
+ messageId: 'noInterpolationInAttributes',
31
30
  });
32
31
  },
33
32
  };
@@ -1,3 +1,4 @@
1
+ export type Options = [];
1
2
  export type MessageIds = 'noNegatedAsync' | 'noNegatedValueForAsync' | 'suggestFalseComparison' | 'suggestNullComparison' | 'suggestUndefinedComparison' | 'suggestUsingNonNegatedValue';
2
3
  export declare const RULE_NAME = "no-negated-async";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"no-negated-async.d.ts","sourceRoot":"","sources":["../../src/rules/no-negated-async.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,UAAU,GAClB,gBAAgB,GAChB,wBAAwB,GACxB,wBAAwB,GACxB,uBAAuB,GACvB,4BAA4B,GAC5B,6BAA6B,CAAC;AAClC,eAAO,MAAM,SAAS,qBAAqB,CAAC;;AAE5C,wBA2EG;AAEH,eAAO,MAAM,mBAAmB;;CAE/B,CAAC"}
1
+ {"version":3,"file":"no-negated-async.d.ts","sourceRoot":"","sources":["../../src/rules/no-negated-async.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAClB,gBAAgB,GAChB,wBAAwB,GACxB,wBAAwB,GACxB,uBAAuB,GACvB,4BAA4B,GAC5B,6BAA6B,CAAC;AAClC,eAAO,MAAM,SAAS,qBAAqB,CAAC;;AAE5C,wBA2EG;AAEH,eAAO,MAAM,mBAAmB;;CAE/B,CAAC"}
@@ -1,3 +1,4 @@
1
+ export type Options = [];
1
2
  export type MessageIds = 'noPositiveTabindex' | 'suggestNonNegativeTabindex';
2
3
  export declare const RULE_NAME = "no-positive-tabindex";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"no-positive-tabindex.d.ts","sourceRoot":"","sources":["../../src/rules/no-positive-tabindex.ts"],"names":[],"mappings":"AAWA,MAAM,MAAM,UAAU,GAAG,oBAAoB,GAAG,4BAA4B,CAAC;AAC7E,eAAO,MAAM,SAAS,yBAAyB,CAAC;;AAEhD,wBA2CG"}
1
+ {"version":3,"file":"no-positive-tabindex.d.ts","sourceRoot":"","sources":["../../src/rules/no-positive-tabindex.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,oBAAoB,GAAG,4BAA4B,CAAC;AAC7E,eAAO,MAAM,SAAS,yBAAyB,CAAC;;AAEhD,wBA2CG"}
@@ -1,4 +1,5 @@
1
- export declare const MESSAGE_ID = "preferControlFlow";
1
+ export type Options = [];
2
+ export type MessageIds = 'preferControlFlow';
2
3
  export declare const RULE_NAME = "prefer-control-flow";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"preferControlFlow", [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
4
5
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"prefer-control-flow.d.ts","sourceRoot":"","sources":["../../src/rules/prefer-control-flow.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,sBAAsB,CAAC;AAC9C,eAAO,MAAM,SAAS,wBAAwB,CAAC;;AAE/C,wBA8BG"}
1
+ {"version":3,"file":"prefer-control-flow.d.ts","sourceRoot":"","sources":["../../src/rules/prefer-control-flow.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,mBAAmB,CAAC;AAC7C,eAAO,MAAM,SAAS,wBAAwB,CAAC;;AAE/C,wBA+BG"}
@@ -1,9 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RULE_NAME = exports.MESSAGE_ID = void 0;
4
- const create_eslint_rule_1 = require("../utils/create-eslint-rule");
3
+ exports.RULE_NAME = void 0;
5
4
  const utils_1 = require("@angular-eslint/utils");
6
- exports.MESSAGE_ID = 'preferControlFlow';
5
+ const create_eslint_rule_1 = require("../utils/create-eslint-rule");
7
6
  exports.RULE_NAME = 'prefer-control-flow';
8
7
  exports.default = (0, create_eslint_rule_1.createESLintRule)({
9
8
  name: exports.RULE_NAME,
@@ -14,7 +13,7 @@ exports.default = (0, create_eslint_rule_1.createESLintRule)({
14
13
  },
15
14
  schema: [],
16
15
  messages: {
17
- [exports.MESSAGE_ID]: 'Use built-in control flow instead of directive {{name}}.',
16
+ preferControlFlow: 'Use built-in control flow instead of directive {{name}}.',
18
17
  },
19
18
  },
20
19
  defaultOptions: [],
@@ -24,7 +23,7 @@ exports.default = (0, create_eslint_rule_1.createESLintRule)({
24
23
  'BoundAttribute[name=/^(ngForOf|ngIf|ngSwitch)$/]'({ sourceSpan, name, }) {
25
24
  const loc = parserServices.convertNodeSourceSpanToLoc(sourceSpan);
26
25
  context.report({
27
- messageId: exports.MESSAGE_ID,
26
+ messageId: 'preferControlFlow',
28
27
  loc,
29
28
  data: { name },
30
29
  });
@@ -1,3 +1,4 @@
1
+ export type Options = [];
1
2
  export type MessageIds = 'missingAttribute' | 'invalidDoubleSource';
2
3
  export declare const RULE_NAME = "prefer-ngsrc";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"prefer-ngsrc.d.ts","sourceRoot":"","sources":["../../src/rules/prefer-ngsrc.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,UAAU,GAAG,kBAAkB,GAAG,qBAAqB,CAAC;AACpE,eAAO,MAAM,SAAS,iBAAiB,CAAC;;AAExC,wBA4CG"}
1
+ {"version":3,"file":"prefer-ngsrc.d.ts","sourceRoot":"","sources":["../../src/rules/prefer-ngsrc.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,kBAAkB,GAAG,qBAAqB,CAAC;AACpE,eAAO,MAAM,SAAS,iBAAiB,CAAC;;AAExC,wBA4CG"}
@@ -1,4 +1,5 @@
1
- export declare const MESSAGE_ID = "preferSelfClosingTags";
1
+ export type Options = [];
2
+ export type MessageIds = 'preferSelfClosingTags';
2
3
  export declare const RULE_NAME = "prefer-self-closing-tags";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"preferSelfClosingTags", [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
4
5
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"prefer-self-closing-tags.d.ts","sourceRoot":"","sources":["../../src/rules/prefer-self-closing-tags.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,UAAU,0BAA0B,CAAC;AAClD,eAAO,MAAM,SAAS,6BAA6B,CAAC;;AAEpD,wBAkIG"}
1
+ {"version":3,"file":"prefer-self-closing-tags.d.ts","sourceRoot":"","sources":["../../src/rules/prefer-self-closing-tags.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,uBAAuB,CAAC;AACjD,eAAO,MAAM,SAAS,6BAA6B,CAAC;;AAEpD,wBAkIG"}
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RULE_NAME = exports.MESSAGE_ID = void 0;
3
+ exports.RULE_NAME = void 0;
4
4
  const utils_1 = require("@angular-eslint/utils");
5
5
  const create_eslint_rule_1 = require("../utils/create-eslint-rule");
6
6
  const get_dom_elements_1 = require("../utils/get-dom-elements");
7
- exports.MESSAGE_ID = 'preferSelfClosingTags';
8
7
  exports.RULE_NAME = 'prefer-self-closing-tags';
9
8
  exports.default = (0, create_eslint_rule_1.createESLintRule)({
10
9
  name: exports.RULE_NAME,
@@ -16,7 +15,7 @@ exports.default = (0, create_eslint_rule_1.createESLintRule)({
16
15
  fixable: 'code',
17
16
  schema: [],
18
17
  messages: {
19
- [exports.MESSAGE_ID]: 'Use self-closing tags for elements with a closing tag but no content.',
18
+ preferSelfClosingTags: 'Use self-closing tags for elements with a closing tag but no content.',
20
19
  },
21
20
  },
22
21
  defaultOptions: [],
@@ -62,7 +61,7 @@ exports.default = (0, create_eslint_rule_1.createESLintRule)({
62
61
  const closingTagPrefix = getClosingTagPrefix(openingTagLastChar);
63
62
  context.report({
64
63
  loc: parserServices.convertNodeSourceSpanToLoc(endSourceSpan),
65
- messageId: exports.MESSAGE_ID,
64
+ messageId: 'preferSelfClosingTags',
66
65
  fix: (fixer) => fixer.replaceTextRange([startSourceSpan.end.offset - 1, endSourceSpan.end.offset], closingTagPrefix + '/>'),
67
66
  });
68
67
  }
@@ -98,7 +97,7 @@ exports.default = (0, create_eslint_rule_1.createESLintRule)({
98
97
  column: sourceSpan.end.col,
99
98
  },
100
99
  },
101
- messageId: exports.MESSAGE_ID,
100
+ messageId: 'preferSelfClosingTags',
102
101
  fix: (fixer) => fixer.replaceTextRange([
103
102
  sourceSpan.end.offset -
104
103
  ngContentCloseTag.length -
@@ -1,3 +1,4 @@
1
+ export type Options = [];
1
2
  export type MessageIds = 'roleHasRequiredAria' | 'suggestRemoveRole';
2
3
  export declare const RULE_NAME = "role-has-required-aria";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"role-has-required-aria.d.ts","sourceRoot":"","sources":["../../src/rules/role-has-required-aria.ts"],"names":[],"mappings":"AAaA,MAAM,MAAM,UAAU,GAAG,qBAAqB,GAAG,mBAAmB,CAAC;AACrE,eAAO,MAAM,SAAS,2BAA2B,CAAC;;AAElD,wBA2EG"}
1
+ {"version":3,"file":"role-has-required-aria.d.ts","sourceRoot":"","sources":["../../src/rules/role-has-required-aria.ts"],"names":[],"mappings":"AAYA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,qBAAqB,GAAG,mBAAmB,CAAC;AACrE,eAAO,MAAM,SAAS,2BAA2B,CAAC;;AAElD,wBA2EG"}
@@ -1,3 +1,4 @@
1
+ export type Options = [];
1
2
  export type MessageIds = 'tableScope';
2
3
  export declare const RULE_NAME = "table-scope";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"tableScope", [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"table-scope.d.ts","sourceRoot":"","sources":["../../src/rules/table-scope.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,UAAU,GAAG,YAAY,CAAC;AACtC,eAAO,MAAM,SAAS,gBAAgB,CAAC;;AAEvC,wBAuCG"}
1
+ {"version":3,"file":"table-scope.d.ts","sourceRoot":"","sources":["../../src/rules/table-scope.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAAG,YAAY,CAAC;AACtC,eAAO,MAAM,SAAS,gBAAgB,CAAC;;AAEvC,wBAuCG"}
@@ -1,4 +1,4 @@
1
- type Options = [{
1
+ export type Options = [{
2
2
  readonly alias: readonly string[];
3
3
  }];
4
4
  export type MessageIds = 'useTrackByFunction';
@@ -1 +1 @@
1
- {"version":3,"file":"use-track-by-function.d.ts","sourceRoot":"","sources":["../../src/rules/use-track-by-function.ts"],"names":[],"mappings":"AAQA,KAAK,OAAO,GAAG,CAAC;IAAE,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAAC,CAAC;AACvD,MAAM,MAAM,UAAU,GAAG,oBAAoB,CAAC;AAC9C,eAAO,MAAM,SAAS,0BAA0B,CAAC;;AAIjD,wBAyEG"}
1
+ {"version":3,"file":"use-track-by-function.d.ts","sourceRoot":"","sources":["../../src/rules/use-track-by-function.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,OAAO,GAAG,CAAC;IAAE,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAAC,CAAC;AAC9D,MAAM,MAAM,UAAU,GAAG,oBAAoB,CAAC;AAC9C,eAAO,MAAM,SAAS,0BAA0B,CAAC;;AAIjD,wBAyEG"}
@@ -1,3 +1,4 @@
1
+ export type Options = [];
1
2
  export type MessageIds = 'validAria' | 'validAriaValue' | 'suggestRemoveInvalidAria';
2
3
  export declare const RULE_NAME = "valid-aria";
3
4
  declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, [], import("../utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"valid-aria.d.ts","sourceRoot":"","sources":["../../src/rules/valid-aria.ts"],"names":[],"mappings":"AAiBA,MAAM,MAAM,UAAU,GAClB,WAAW,GACX,gBAAgB,GAChB,0BAA0B,CAAC;AAC/B,eAAO,MAAM,SAAS,eAAe,CAAC;;AAEtC,wBAuEG"}
1
+ {"version":3,"file":"valid-aria.d.ts","sourceRoot":"","sources":["../../src/rules/valid-aria.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,UAAU,GAClB,WAAW,GACX,gBAAgB,GAChB,0BAA0B,CAAC;AAC/B,eAAO,MAAM,SAAS,eAAe,CAAC;;AAEtC,wBAuEG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-eslint/eslint-plugin-template",
3
- "version": "18.1.1-alpha.6",
3
+ "version": "18.1.1-alpha.8",
4
4
  "description": "ESLint plugin for Angular Templates",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -18,17 +18,17 @@
18
18
  "LICENSE"
19
19
  ],
20
20
  "dependencies": {
21
- "@angular-eslint/bundled-angular-compiler": "18.1.1-alpha.6",
22
- "@angular-eslint/utils": "18.1.1-alpha.6",
21
+ "@angular-eslint/bundled-angular-compiler": "18.1.1-alpha.8",
22
+ "@angular-eslint/utils": "18.1.1-alpha.8",
23
23
  "aria-query": "5.3.0",
24
24
  "axobject-query": "4.1.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@angular-eslint/test-utils": "18.1.1-alpha.6",
27
+ "@angular-eslint/test-utils": "18.1.1-alpha.8",
28
28
  "@types/aria-query": "5.0.4"
29
29
  },
30
30
  "peerDependencies": {
31
- "@typescript-eslint/utils": "^7.11.0 || ^8.0.0-alpha.37",
31
+ "@typescript-eslint/utils": "^7.11.0 || ^8.0.0",
32
32
  "eslint": "^8.57.0 || ^9.0.0",
33
33
  "typescript": "*"
34
34
  },