@angular-eslint/eslint-plugin 15.2.2-alpha.8 → 16.0.0-alpha.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.
Files changed (78) hide show
  1. package/dist/configs/README.md +9 -24
  2. package/dist/configs/all.json +2 -1
  3. package/dist/configs/recommended.json +2 -1
  4. package/dist/index.js +101 -1
  5. package/dist/rules/component-class-suffix.js +55 -0
  6. package/dist/rules/component-max-inline-declarations.js +102 -0
  7. package/dist/rules/component-selector.js +124 -0
  8. package/dist/rules/contextual-decorator.js +60 -0
  9. package/dist/rules/contextual-lifecycle.js +58 -0
  10. package/dist/rules/directive-class-suffix.js +60 -0
  11. package/dist/rules/directive-selector.js +89 -0
  12. package/dist/rules/no-attribute-decorator.js +30 -0
  13. package/dist/rules/no-conflicting-lifecycle.js +71 -0
  14. package/dist/rules/no-empty-lifecycle-method.js +66 -0
  15. package/dist/rules/no-forward-ref.js +31 -0
  16. package/dist/rules/no-host-metadata-property.js +68 -0
  17. package/dist/rules/no-input-prefix.js +105 -0
  18. package/dist/rules/no-input-rename.js +175 -0
  19. package/dist/rules/no-inputs-metadata-property.js +52 -0
  20. package/dist/rules/no-lifecycle-call.js +47 -0
  21. package/dist/rules/no-output-native.js +44 -0
  22. package/dist/rules/no-output-on-prefix.js +45 -0
  23. package/dist/rules/no-output-rename.js +107 -0
  24. package/dist/rules/no-outputs-metadata-property.js +33 -0
  25. package/dist/rules/no-pipe-impure.js +40 -0
  26. package/dist/rules/no-queries-metadata-property.js +37 -0
  27. package/dist/rules/pipe-prefix.js +79 -0
  28. package/dist/rules/prefer-on-push-component-change-detection.js +79 -0
  29. package/dist/rules/prefer-output-readonly.js +39 -0
  30. package/dist/rules/relative-url-prefix.js +55 -0
  31. package/dist/rules/require-localize-metadata.js +74 -0
  32. package/dist/rules/sort-ngmodule-metadata-arrays.js +63 -0
  33. package/dist/rules/use-component-selector.js +37 -0
  34. package/dist/rules/use-component-view-encapsulation.js +48 -0
  35. package/dist/rules/use-injectable-provided-in.js +62 -0
  36. package/dist/rules/use-lifecycle-interface.js +45 -0
  37. package/dist/rules/use-pipe-transform-interface.js +47 -0
  38. package/dist/utils/create-eslint-rule.js +26 -0
  39. package/package.json +3 -3
  40. package/dist/configs/base.json +0 -4
  41. package/dist/configs/ng-cli-compat--formatting-add-on.json +0 -51
  42. package/dist/configs/ng-cli-compat.json +0 -188
  43. package/dist/configs/recommended--extra.json +0 -40
  44. package/dist/eslint-plugin/src/index.d.ts +0 -309
  45. package/dist/eslint-plugin/src/rules/component-class-suffix.d.ts +0 -9
  46. package/dist/eslint-plugin/src/rules/component-max-inline-declarations.d.ts +0 -11
  47. package/dist/eslint-plugin/src/rules/component-selector.d.ts +0 -5
  48. package/dist/eslint-plugin/src/rules/contextual-decorator.d.ts +0 -5
  49. package/dist/eslint-plugin/src/rules/contextual-lifecycle.d.ts +0 -4
  50. package/dist/eslint-plugin/src/rules/directive-class-suffix.d.ts +0 -7
  51. package/dist/eslint-plugin/src/rules/directive-selector.d.ts +0 -5
  52. package/dist/eslint-plugin/src/rules/no-attribute-decorator.d.ts +0 -4
  53. package/dist/eslint-plugin/src/rules/no-conflicting-lifecycle.d.ts +0 -4
  54. package/dist/eslint-plugin/src/rules/no-empty-lifecycle-method.d.ts +0 -4
  55. package/dist/eslint-plugin/src/rules/no-forward-ref.d.ts +0 -5
  56. package/dist/eslint-plugin/src/rules/no-host-metadata-property.d.ts +0 -7
  57. package/dist/eslint-plugin/src/rules/no-input-prefix.d.ts +0 -7
  58. package/dist/eslint-plugin/src/rules/no-input-rename.d.ts +0 -7
  59. package/dist/eslint-plugin/src/rules/no-inputs-metadata-property.d.ts +0 -4
  60. package/dist/eslint-plugin/src/rules/no-lifecycle-call.d.ts +0 -4
  61. package/dist/eslint-plugin/src/rules/no-output-native.d.ts +0 -4
  62. package/dist/eslint-plugin/src/rules/no-output-on-prefix.d.ts +0 -4
  63. package/dist/eslint-plugin/src/rules/no-output-rename.d.ts +0 -4
  64. package/dist/eslint-plugin/src/rules/no-outputs-metadata-property.d.ts +0 -4
  65. package/dist/eslint-plugin/src/rules/no-pipe-impure.d.ts +0 -4
  66. package/dist/eslint-plugin/src/rules/no-queries-metadata-property.d.ts +0 -4
  67. package/dist/eslint-plugin/src/rules/pipe-prefix.d.ts +0 -9
  68. package/dist/eslint-plugin/src/rules/prefer-on-push-component-change-detection.d.ts +0 -4
  69. package/dist/eslint-plugin/src/rules/prefer-output-readonly.d.ts +0 -4
  70. package/dist/eslint-plugin/src/rules/relative-url-prefix.d.ts +0 -4
  71. package/dist/eslint-plugin/src/rules/require-localize-metadata.d.ts +0 -10
  72. package/dist/eslint-plugin/src/rules/sort-ngmodule-metadata-arrays.d.ts +0 -9
  73. package/dist/eslint-plugin/src/rules/use-component-selector.d.ts +0 -4
  74. package/dist/eslint-plugin/src/rules/use-component-view-encapsulation.d.ts +0 -4
  75. package/dist/eslint-plugin/src/rules/use-injectable-provided-in.d.ts +0 -7
  76. package/dist/eslint-plugin/src/rules/use-lifecycle-interface.d.ts +0 -4
  77. package/dist/eslint-plugin/src/rules/use-pipe-transform-interface.d.ts +0 -4
  78. package/dist/eslint-plugin/src/utils/create-eslint-rule.d.ts +0 -2
@@ -1,188 +0,0 @@
1
- {
2
- "extends": ["./configs/base.json"],
3
- "env": {
4
- "browser": true,
5
- "es6": true,
6
- "node": true
7
- },
8
- "plugins": [
9
- "eslint-plugin-import",
10
- "eslint-plugin-jsdoc",
11
- "eslint-plugin-prefer-arrow"
12
- ],
13
- "rules": {
14
- "@typescript-eslint/interface-name-prefix": "off",
15
- "@typescript-eslint/explicit-member-accessibility": "off",
16
- "sort-keys": "off",
17
- "@angular-eslint/component-class-suffix": "error",
18
- "@angular-eslint/component-selector": [
19
- "error",
20
- {
21
- "type": "element",
22
- "prefix": "app",
23
- "style": "kebab-case"
24
- }
25
- ],
26
- "@angular-eslint/contextual-lifecycle": "error",
27
- "@angular-eslint/directive-class-suffix": "error",
28
- "@angular-eslint/directive-selector": [
29
- "error",
30
- {
31
- "type": "attribute",
32
- "prefix": "app",
33
- "style": "camelCase"
34
- }
35
- ],
36
- "@angular-eslint/no-conflicting-lifecycle": "error",
37
- "@angular-eslint/no-host-metadata-property": "error",
38
- "@angular-eslint/no-input-rename": "error",
39
- "@angular-eslint/no-inputs-metadata-property": "error",
40
- "@angular-eslint/no-output-native": "error",
41
- "@angular-eslint/no-output-on-prefix": "error",
42
- "@angular-eslint/no-output-rename": "error",
43
- "@angular-eslint/no-outputs-metadata-property": "error",
44
- "@angular-eslint/use-lifecycle-interface": "error",
45
- "@angular-eslint/use-pipe-transform-interface": "error",
46
- "@typescript-eslint/adjacent-overload-signatures": "error",
47
- "@typescript-eslint/array-type": "off",
48
- "@typescript-eslint/ban-types": [
49
- "error",
50
- {
51
- "types": {
52
- "Object": {
53
- "message": "Avoid using the `Object` type. Did you mean `object`?"
54
- },
55
- "Function": {
56
- "message": "Avoid using the `Function` type. Prefer a specific function type, like `() => void`."
57
- },
58
- "Boolean": {
59
- "message": "Avoid using the `Boolean` type. Did you mean `boolean`?"
60
- },
61
- "Number": {
62
- "message": "Avoid using the `Number` type. Did you mean `number`?"
63
- },
64
- "String": {
65
- "message": "Avoid using the `String` type. Did you mean `string`?"
66
- },
67
- "Symbol": {
68
- "message": "Avoid using the `Symbol` type. Did you mean `symbol`?"
69
- }
70
- }
71
- }
72
- ],
73
- "@typescript-eslint/consistent-type-assertions": "error",
74
- "@typescript-eslint/dot-notation": "error",
75
- "@typescript-eslint/member-ordering": "error",
76
- "@typescript-eslint/naming-convention": "error",
77
- "@typescript-eslint/no-empty-function": "off",
78
- "@typescript-eslint/no-empty-interface": "error",
79
- "@typescript-eslint/no-explicit-any": "off",
80
- "@typescript-eslint/no-inferrable-types": [
81
- "error",
82
- {
83
- "ignoreParameters": true
84
- }
85
- ],
86
- "@typescript-eslint/no-misused-new": "error",
87
- "@typescript-eslint/no-namespace": "error",
88
- "@typescript-eslint/no-non-null-assertion": "error",
89
- "@typescript-eslint/no-parameter-properties": "off",
90
- "@typescript-eslint/no-unused-expressions": "error",
91
- "@typescript-eslint/no-use-before-define": "off",
92
- "@typescript-eslint/no-var-requires": "off",
93
- "@typescript-eslint/prefer-for-of": "error",
94
- "@typescript-eslint/prefer-function-type": "error",
95
- "@typescript-eslint/prefer-namespace-keyword": "error",
96
- "@typescript-eslint/triple-slash-reference": [
97
- "error",
98
- {
99
- "path": "always",
100
- "types": "prefer-import",
101
- "lib": "always"
102
- }
103
- ],
104
- "@typescript-eslint/unified-signatures": "error",
105
- "complexity": "off",
106
- "constructor-super": "error",
107
- "eqeqeq": ["error", "smart"],
108
- "guard-for-in": "error",
109
- "id-blacklist": [
110
- "error",
111
- "any",
112
- "Number",
113
- "number",
114
- "String",
115
- "string",
116
- "Boolean",
117
- "boolean",
118
- "Undefined",
119
- "undefined"
120
- ],
121
- "id-match": "error",
122
- "import/no-deprecated": "warn",
123
- "jsdoc/newline-after-description": "error",
124
- "jsdoc/no-types": "error",
125
- "max-classes-per-file": "off",
126
- "no-bitwise": "error",
127
- "no-caller": "error",
128
- "no-cond-assign": "error",
129
- "no-console": [
130
- "error",
131
- {
132
- "allow": [
133
- "log",
134
- "warn",
135
- "dir",
136
- "timeLog",
137
- "assert",
138
- "clear",
139
- "count",
140
- "countReset",
141
- "group",
142
- "groupEnd",
143
- "table",
144
- "dirxml",
145
- "error",
146
- "groupCollapsed",
147
- "Console",
148
- "profile",
149
- "profileEnd",
150
- "timeStamp",
151
- "context"
152
- ]
153
- }
154
- ],
155
- "no-debugger": "error",
156
- "no-empty": "off",
157
- "no-eval": "error",
158
- "no-fallthrough": "error",
159
- "no-invalid-this": "off",
160
- "no-new-wrappers": "error",
161
- "no-restricted-imports": [
162
- "error",
163
- {
164
- "name": "rxjs/Rx",
165
- "message": "Please import directly from 'rxjs' instead"
166
- }
167
- ],
168
- "@typescript-eslint/no-shadow": [
169
- "error",
170
- {
171
- "hoist": "all"
172
- }
173
- ],
174
- "no-throw-literal": "error",
175
- "no-undef-init": "error",
176
- "no-underscore-dangle": "error",
177
- "no-unsafe-finally": "error",
178
- "no-unused-labels": "error",
179
- "no-var": "error",
180
- "object-shorthand": "error",
181
- "one-var": ["error", "never"],
182
- "prefer-arrow/prefer-arrow-functions": "error",
183
- "prefer-const": "error",
184
- "radix": "error",
185
- "use-isnan": "error",
186
- "valid-typeof": "off"
187
- }
188
- }
@@ -1,40 +0,0 @@
1
- {
2
- "extends": "./configs/base.json",
3
- "rules": {
4
- "no-restricted-imports": [
5
- "error",
6
- {
7
- "paths": [
8
- {
9
- "name": "rxjs/Rx",
10
- "message": "Please import directly from 'rxjs' instead"
11
- }
12
- ]
13
- }
14
- ],
15
- "@typescript-eslint/member-ordering": [
16
- "error",
17
- {
18
- "default": [
19
- "static-field",
20
- "instance-field",
21
- "static-method",
22
- "instance-method"
23
- ]
24
- }
25
- ],
26
- "no-restricted-syntax": [
27
- "error",
28
- {
29
- "selector": "CallExpression[callee.object.name=\"console\"][callee.property.name=/^(debug|info|time|timeEnd|trace)$/]",
30
- "message": "Unexpected property on console object was called"
31
- }
32
- ],
33
- "@typescript-eslint/no-inferrable-types": [
34
- "error",
35
- { "ignoreParameters": true }
36
- ],
37
- "@typescript-eslint/no-non-null-assertion": "error",
38
- "no-fallthrough": "error"
39
- }
40
- }
@@ -1,309 +0,0 @@
1
- declare const _default: {
2
- configs: {
3
- all: {
4
- extends: string;
5
- rules: {
6
- "@angular-eslint/component-class-suffix": string;
7
- "@angular-eslint/component-max-inline-declarations": string;
8
- "@angular-eslint/component-selector": string;
9
- "@angular-eslint/contextual-decorator": string;
10
- "@angular-eslint/contextual-lifecycle": string;
11
- "@angular-eslint/directive-class-suffix": string;
12
- "@angular-eslint/directive-selector": string;
13
- "@angular-eslint/no-attribute-decorator": string;
14
- "@angular-eslint/no-conflicting-lifecycle": string;
15
- "@angular-eslint/no-empty-lifecycle-method": string;
16
- "@angular-eslint/no-forward-ref": string;
17
- "@angular-eslint/no-host-metadata-property": string;
18
- "@angular-eslint/no-input-prefix": string;
19
- "@angular-eslint/no-input-rename": string;
20
- "@angular-eslint/no-inputs-metadata-property": string;
21
- "@angular-eslint/no-lifecycle-call": string;
22
- "@angular-eslint/no-output-native": string;
23
- "@angular-eslint/no-output-on-prefix": string;
24
- "@angular-eslint/no-output-rename": string;
25
- "@angular-eslint/no-outputs-metadata-property": string;
26
- "@angular-eslint/no-pipe-impure": string;
27
- "@angular-eslint/no-queries-metadata-property": string;
28
- "@angular-eslint/pipe-prefix": string;
29
- "@angular-eslint/prefer-on-push-component-change-detection": string;
30
- "@angular-eslint/prefer-output-readonly": string;
31
- "@angular-eslint/relative-url-prefix": string;
32
- "@angular-eslint/sort-ngmodule-metadata-arrays": string;
33
- "@angular-eslint/use-component-selector": string;
34
- "@angular-eslint/use-component-view-encapsulation": string;
35
- "@angular-eslint/use-injectable-provided-in": string;
36
- "@angular-eslint/use-lifecycle-interface": string;
37
- "@angular-eslint/use-pipe-transform-interface": string;
38
- };
39
- };
40
- base: {
41
- parser: string;
42
- plugins: string[];
43
- };
44
- recommended: {
45
- extends: string;
46
- rules: {
47
- "@angular-eslint/component-class-suffix": string;
48
- "@angular-eslint/contextual-lifecycle": string;
49
- "@angular-eslint/directive-class-suffix": string;
50
- "@angular-eslint/no-empty-lifecycle-method": string;
51
- "@angular-eslint/no-host-metadata-property": string;
52
- "@angular-eslint/no-input-rename": string;
53
- "@angular-eslint/no-inputs-metadata-property": string;
54
- "@angular-eslint/no-output-native": string;
55
- "@angular-eslint/no-output-on-prefix": string;
56
- "@angular-eslint/no-output-rename": string;
57
- "@angular-eslint/no-outputs-metadata-property": string;
58
- "@angular-eslint/use-lifecycle-interface": string;
59
- "@angular-eslint/use-pipe-transform-interface": string;
60
- };
61
- };
62
- "recommended--extra": {
63
- extends: string;
64
- rules: {
65
- "no-restricted-imports": (string | {
66
- paths: {
67
- name: string;
68
- message: string;
69
- }[];
70
- })[];
71
- "@typescript-eslint/member-ordering": (string | {
72
- default: string[];
73
- })[];
74
- "no-restricted-syntax": (string | {
75
- selector: string;
76
- message: string;
77
- })[];
78
- "@typescript-eslint/no-inferrable-types": (string | {
79
- ignoreParameters: boolean;
80
- })[];
81
- "@typescript-eslint/no-non-null-assertion": string;
82
- "no-fallthrough": string;
83
- };
84
- };
85
- "ng-cli-compat": {
86
- extends: string[];
87
- env: {
88
- browser: boolean;
89
- es6: boolean;
90
- node: boolean;
91
- };
92
- plugins: string[];
93
- rules: {
94
- "@typescript-eslint/interface-name-prefix": string;
95
- "@typescript-eslint/explicit-member-accessibility": string;
96
- "sort-keys": string;
97
- "@angular-eslint/component-class-suffix": string;
98
- "@angular-eslint/component-selector": (string | {
99
- type: string;
100
- prefix: string;
101
- style: string;
102
- })[];
103
- "@angular-eslint/contextual-lifecycle": string;
104
- "@angular-eslint/directive-class-suffix": string;
105
- "@angular-eslint/directive-selector": (string | {
106
- type: string;
107
- prefix: string;
108
- style: string;
109
- })[];
110
- "@angular-eslint/no-conflicting-lifecycle": string;
111
- "@angular-eslint/no-host-metadata-property": string;
112
- "@angular-eslint/no-input-rename": string;
113
- "@angular-eslint/no-inputs-metadata-property": string;
114
- "@angular-eslint/no-output-native": string;
115
- "@angular-eslint/no-output-on-prefix": string;
116
- "@angular-eslint/no-output-rename": string;
117
- "@angular-eslint/no-outputs-metadata-property": string;
118
- "@angular-eslint/use-lifecycle-interface": string;
119
- "@angular-eslint/use-pipe-transform-interface": string;
120
- "@typescript-eslint/adjacent-overload-signatures": string;
121
- "@typescript-eslint/array-type": string;
122
- "@typescript-eslint/ban-types": (string | {
123
- types: {
124
- Object: {
125
- message: string;
126
- };
127
- Function: {
128
- message: string;
129
- };
130
- Boolean: {
131
- message: string;
132
- };
133
- Number: {
134
- message: string;
135
- };
136
- String: {
137
- message: string;
138
- };
139
- Symbol: {
140
- message: string;
141
- };
142
- };
143
- })[];
144
- "@typescript-eslint/consistent-type-assertions": string;
145
- "@typescript-eslint/dot-notation": string;
146
- "@typescript-eslint/member-ordering": string;
147
- "@typescript-eslint/naming-convention": string;
148
- "@typescript-eslint/no-empty-function": string;
149
- "@typescript-eslint/no-empty-interface": string;
150
- "@typescript-eslint/no-explicit-any": string;
151
- "@typescript-eslint/no-inferrable-types": (string | {
152
- ignoreParameters: boolean;
153
- })[];
154
- "@typescript-eslint/no-misused-new": string;
155
- "@typescript-eslint/no-namespace": string;
156
- "@typescript-eslint/no-non-null-assertion": string;
157
- "@typescript-eslint/no-parameter-properties": string;
158
- "@typescript-eslint/no-unused-expressions": string;
159
- "@typescript-eslint/no-use-before-define": string;
160
- "@typescript-eslint/no-var-requires": string;
161
- "@typescript-eslint/prefer-for-of": string;
162
- "@typescript-eslint/prefer-function-type": string;
163
- "@typescript-eslint/prefer-namespace-keyword": string;
164
- "@typescript-eslint/triple-slash-reference": (string | {
165
- path: string;
166
- types: string;
167
- lib: string;
168
- })[];
169
- "@typescript-eslint/unified-signatures": string;
170
- complexity: string;
171
- "constructor-super": string;
172
- eqeqeq: string[];
173
- "guard-for-in": string;
174
- "id-blacklist": string[];
175
- "id-match": string;
176
- "import/no-deprecated": string;
177
- "jsdoc/newline-after-description": string;
178
- "jsdoc/no-types": string;
179
- "max-classes-per-file": string;
180
- "no-bitwise": string;
181
- "no-caller": string;
182
- "no-cond-assign": string;
183
- "no-console": (string | {
184
- allow: string[];
185
- })[];
186
- "no-debugger": string;
187
- "no-empty": string;
188
- "no-eval": string;
189
- "no-fallthrough": string;
190
- "no-invalid-this": string;
191
- "no-new-wrappers": string;
192
- "no-restricted-imports": (string | {
193
- name: string;
194
- message: string;
195
- })[];
196
- "@typescript-eslint/no-shadow": (string | {
197
- hoist: string;
198
- })[];
199
- "no-throw-literal": string;
200
- "no-undef-init": string;
201
- "no-underscore-dangle": string;
202
- "no-unsafe-finally": string;
203
- "no-unused-labels": string;
204
- "no-var": string;
205
- "object-shorthand": string;
206
- "one-var": string[];
207
- "prefer-arrow/prefer-arrow-functions": string;
208
- "prefer-const": string;
209
- radix: string;
210
- "use-isnan": string;
211
- "valid-typeof": string;
212
- };
213
- };
214
- "ng-cli-compat--formatting-add-on": {
215
- plugins: string[];
216
- rules: {
217
- "arrow-body-style": string;
218
- "arrow-parens": string;
219
- "comma-dangle": string;
220
- curly: string;
221
- "eol-last": string;
222
- "jsdoc/check-alignment": string;
223
- "max-len": (string | {
224
- code: number;
225
- })[];
226
- "new-parens": string;
227
- "no-multiple-empty-lines": string;
228
- "no-trailing-spaces": string;
229
- "quote-props": string[];
230
- "space-before-function-paren": (string | {
231
- anonymous: string;
232
- asyncArrow: string;
233
- named: string;
234
- })[];
235
- "@typescript-eslint/member-delimiter-style": (string | {
236
- multiline: {
237
- delimiter: string;
238
- requireLast: boolean;
239
- };
240
- singleline: {
241
- delimiter: string;
242
- requireLast: boolean;
243
- };
244
- })[];
245
- quotes: string;
246
- "@typescript-eslint/quotes": (string | {
247
- allowTemplateLiterals: boolean;
248
- })[];
249
- "@typescript-eslint/semi": string[];
250
- "@typescript-eslint/type-annotation-spacing": string;
251
- };
252
- };
253
- };
254
- rules: {
255
- "contextual-decorator": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"contextualDecorator", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
256
- "component-class-suffix": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"componentClassSuffix", [{
257
- suffixes: string[];
258
- }], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
259
- "component-max-inline-declarations": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"componentMaxInlineDeclarations", [{
260
- readonly template?: number | undefined;
261
- readonly styles?: number | undefined;
262
- readonly animations?: number | undefined;
263
- }], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
264
- "component-selector": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<import("./rules/component-selector").MessageIds, import("packages/utils/src/eslint-plugin/selector-utils").Options, import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
265
- "contextual-lifecycle": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"contextualLifecycle", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
266
- "directive-class-suffix": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"directiveClassSuffix", [{
267
- readonly suffixes: readonly string[];
268
- }], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
269
- "directive-selector": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<import("./rules/directive-selector").MessageIds, import("packages/utils/src/eslint-plugin/selector-utils").Options, import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
270
- "no-attribute-decorator": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noAttributeDecorator", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
271
- "no-conflicting-lifecycle": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<import("./rules/no-conflicting-lifecycle").MessageIds, [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
272
- "no-forward-ref": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noForwardRef", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
273
- "no-host-metadata-property": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noHostMetadataProperty", [{
274
- readonly allowStatic?: boolean | undefined;
275
- }], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
276
- "no-input-prefix": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noInputPrefix", [{
277
- readonly prefixes: readonly string[];
278
- }], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
279
- "no-input-rename": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<import("./rules/no-input-rename").MessageIds, [{
280
- readonly allowedNames?: readonly string[] | undefined;
281
- }], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
282
- "no-inputs-metadata-property": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noInputsMetadataProperty", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
283
- "no-lifecycle-call": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noLifecycleCall", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
284
- "no-output-native": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noOutputNative", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
285
- "no-output-on-prefix": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noOutputOnPrefix", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
286
- "no-output-rename": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<import("./rules/no-output-rename").MessageIds, [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
287
- "no-outputs-metadata-property": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noOutputsMetadataProperty", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
288
- "no-pipe-impure": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<import("./rules/no-pipe-impure").MessageIds, [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
289
- "no-queries-metadata-property": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noQueriesMetadataProperty", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
290
- "no-empty-lifecycle-method": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<import("./rules/no-empty-lifecycle-method").MessageIds, [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
291
- "prefer-on-push-component-change-detection": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<import("./rules/prefer-on-push-component-change-detection").MessageIds, [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
292
- "prefer-output-readonly": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<import("./rules/prefer-output-readonly").MessageIds, [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
293
- "relative-url-prefix": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"relativeUrlPrefix", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
294
- "sort-ngmodule-metadata-arrays": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"sortNgmoduleMetadataArrays", [{
295
- readonly locale: string;
296
- }], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
297
- "use-component-selector": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"useComponentSelector", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
298
- "use-component-view-encapsulation": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<import("./rules/use-component-view-encapsulation").MessageIds, [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
299
- "use-injectable-provided-in": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<import("./rules/use-injectable-provided-in").MessageIds, [{
300
- readonly ignoreClassNamePattern?: string | undefined;
301
- }], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
302
- "use-lifecycle-interface": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"useLifecycleInterface", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
303
- "use-pipe-transform-interface": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"usePipeTransformInterface", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
304
- "pipe-prefix": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"pipePrefix", [{
305
- prefixes: string[];
306
- }], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
307
- };
308
- };
309
- export default _default;
@@ -1,9 +0,0 @@
1
- type Options = [
2
- {
3
- suffixes: string[];
4
- }
5
- ];
6
- export type MessageIds = 'componentClassSuffix';
7
- export declare const RULE_NAME = "component-class-suffix";
8
- declare const _default: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"componentClassSuffix", Options, import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
9
- export default _default;
@@ -1,11 +0,0 @@
1
- type Options = [
2
- {
3
- readonly template?: number;
4
- readonly styles?: number;
5
- readonly animations?: number;
6
- }
7
- ];
8
- export type MessageIds = 'componentMaxInlineDeclarations';
9
- export declare const RULE_NAME = "component-max-inline-declarations";
10
- declare const _default: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"componentMaxInlineDeclarations", Options, import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
11
- export default _default;
@@ -1,5 +0,0 @@
1
- import { SelectorUtils } from '@angular-eslint/utils';
2
- export declare const RULE_NAME = "component-selector";
3
- export type MessageIds = 'prefixFailure' | 'styleFailure' | 'styleAndPrefixFailure' | 'typeFailure' | 'shadowDomEncapsulatedStyleFailure';
4
- declare const _default: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<MessageIds, SelectorUtils.Options, import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
5
- export default _default;
@@ -1,5 +0,0 @@
1
- import type { TSESLint } from '@typescript-eslint/utils';
2
- export type MessageIds = 'contextualDecorator';
3
- export declare const RULE_NAME = "contextual-decorator";
4
- declare const _default: TSESLint.RuleModule<"contextualDecorator", [], TSESLint.RuleListener>;
5
- export default _default;
@@ -1,4 +0,0 @@
1
- export type MessageIds = 'contextualLifecycle';
2
- export declare const RULE_NAME = "contextual-lifecycle";
3
- declare const _default: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"contextualLifecycle", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
4
- export default _default;
@@ -1,7 +0,0 @@
1
- type Options = [{
2
- readonly suffixes: readonly string[];
3
- }];
4
- export type MessageIds = 'directiveClassSuffix';
5
- export declare const RULE_NAME = "directive-class-suffix";
6
- declare const _default: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"directiveClassSuffix", Options, import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
7
- export default _default;
@@ -1,5 +0,0 @@
1
- import { SelectorUtils } from '@angular-eslint/utils';
2
- export declare const RULE_NAME = "directive-selector";
3
- export type MessageIds = 'prefixFailure' | 'styleFailure' | 'typeFailure';
4
- declare const _default: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<MessageIds, SelectorUtils.Options, import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
5
- export default _default;
@@ -1,4 +0,0 @@
1
- export type MessageIds = 'noAttributeDecorator';
2
- export declare const RULE_NAME = "no-attribute-decorator";
3
- declare const _default: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noAttributeDecorator", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
4
- export default _default;
@@ -1,4 +0,0 @@
1
- export type MessageIds = 'noConflictingLifecycleInterface' | 'noConflictingLifecycleMethod';
2
- export declare const RULE_NAME = "no-conflicting-lifecycle";
3
- declare const _default: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<MessageIds, [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
4
- export default _default;
@@ -1,4 +0,0 @@
1
- export type MessageIds = 'noEmptyLifecycleMethod' | 'suggestRemoveLifecycleMethod';
2
- export declare const RULE_NAME = "no-empty-lifecycle-method";
3
- declare const _default: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<MessageIds, [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
4
- export default _default;
@@ -1,5 +0,0 @@
1
- export type MessageIds = 'noForwardRef';
2
- export declare const RULE_NAME = "no-forward-ref";
3
- export declare const FORWARD_REF = "forwardRef";
4
- declare const _default: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noForwardRef", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
5
- export default _default;
@@ -1,7 +0,0 @@
1
- type Options = [{
2
- readonly allowStatic?: boolean;
3
- }];
4
- export type MessageIds = 'noHostMetadataProperty';
5
- export declare const RULE_NAME = "no-host-metadata-property";
6
- declare const _default: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noHostMetadataProperty", Options, import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
7
- export default _default;
@@ -1,7 +0,0 @@
1
- type Options = [{
2
- readonly prefixes: readonly string[];
3
- }];
4
- export type MessageIds = 'noInputPrefix';
5
- export declare const RULE_NAME = "no-input-prefix";
6
- declare const _default: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noInputPrefix", Options, import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
7
- export default _default;