@angular-eslint/eslint-plugin-template 1.0.1-alpha.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,9 @@
1
+ declare type Options = [{
2
+ readonly controlComponents?: readonly string[];
3
+ readonly labelAttributes?: readonly string[];
4
+ readonly labelComponents?: readonly string[];
5
+ }];
6
+ export declare type MessageIds = 'accessibilityLabelFor';
7
+ export declare const RULE_NAME = "accessibility-label-for";
8
+ declare const _default: import("@typescript-eslint/experimental-utils/dist/ts-eslint/Rule").RuleModule<"accessibilityLabelFor", Options, import("@typescript-eslint/experimental-utils/dist/ts-eslint/Rule").RuleListener>;
9
+ export default _default;
@@ -26,5 +26,5 @@ export declare function getTemplateParserServices(context: any): ParserServices;
26
26
  * Utility for rule authors to ensure that their rule is correctly being used with @angular-eslint/template-parser
27
27
  * If @angular-eslint/template-parser is not the configured parser when the function is invoked it will throw
28
28
  */
29
- export declare function ensureTemplateParser(context: TSESLint.RuleContext<string, []>): void;
29
+ export declare function ensureTemplateParser(context: TSESLint.RuleContext<string, readonly unknown[]>): void;
30
30
  export {};
@@ -0,0 +1,2 @@
1
+ import { TmplAstElement } from '@angular/compiler';
2
+ export declare function isChildNodeOf(ast: TmplAstElement, childNodeName: string): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-eslint/eslint-plugin-template",
3
- "version": "1.0.1-alpha.1+74a6cfb",
3
+ "version": "1.1.0",
4
4
  "description": "ESLint plugin for Angular Templates",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "axobject-query": "^2.2.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@angular-eslint/utils": "1.0.0",
31
+ "@angular-eslint/utils": "1.1.0",
32
32
  "@types/aria-query": "^4.2.0"
33
33
  },
34
34
  "peerDependencies": {
@@ -36,5 +36,5 @@
36
36
  "eslint": "*",
37
37
  "typescript": "*"
38
38
  },
39
- "gitHead": "74a6cfbdc53d1d5e0625638ff7f4063d9511e6e5"
39
+ "gitHead": "e1057dd2c39b2b7af16280233b478743b0df02ff"
40
40
  }