@angular-eslint/eslint-plugin 22.5.1-alpha.4 → 22.5.1-alpha.5
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.
|
@@ -313,13 +313,11 @@ exports.default = (0, create_eslint_rule_1.createESLintRule)({
|
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
// Register this call if it is one of the reactive contexts.
|
|
316
|
-
if (node.callee.type !== utils_1.AST_NODE_TYPES.Identifier
|
|
316
|
+
if (node.callee.type !== utils_1.AST_NODE_TYPES.Identifier ||
|
|
317
|
+
!Object.hasOwn(primitives, node.callee.name)) {
|
|
317
318
|
return;
|
|
318
319
|
}
|
|
319
320
|
const config = primitives[node.callee.name];
|
|
320
|
-
if (!config) {
|
|
321
|
-
return;
|
|
322
|
-
}
|
|
323
321
|
const newAnalysis = {
|
|
324
322
|
call: node,
|
|
325
323
|
primitiveName: node.callee.name,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-eslint/eslint-plugin",
|
|
3
|
-
"version": "22.5.1-alpha.
|
|
3
|
+
"version": "22.5.1-alpha.5",
|
|
4
4
|
"description": "ESLint plugin for Angular applications, following https://angular.dev/style-guide",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"LICENSE"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@angular-eslint/bundled-angular-compiler": "22.5.1-alpha.
|
|
23
|
-
"@angular-eslint/utils": "22.5.1-alpha.
|
|
22
|
+
"@angular-eslint/bundled-angular-compiler": "22.5.1-alpha.5",
|
|
23
|
+
"@angular-eslint/utils": "22.5.1-alpha.5",
|
|
24
24
|
"ts-api-utils": "^2.1.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@angular-eslint/test-utils": "22.5.1-alpha.
|
|
27
|
+
"@angular-eslint/test-utils": "22.5.1-alpha.5"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@typescript-eslint/utils": "^8.0.0",
|