@nx/eslint-plugin 0.0.0-pr-29993-f89d4dd → 0.0.0-pr-3-e51e28c
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/eslint-plugin",
|
|
3
|
-
"version": "0.0.0-pr-
|
|
3
|
+
"version": "0.0.0-pr-3-e51e28c",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The eslint-plugin package is an ESLint plugin that contains a collection of recommended ESLint rule configurations which you can extend from in your own ESLint configs, as well as an Nx-specific lint rule called enforce-module-boundaries.",
|
|
6
6
|
"repository": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@nx/devkit": "0.0.0-pr-
|
|
38
|
-
"@nx/js": "0.0.0-pr-
|
|
37
|
+
"@nx/devkit": "0.0.0-pr-3-e51e28c",
|
|
38
|
+
"@nx/js": "0.0.0-pr-3-e51e28c",
|
|
39
39
|
"@typescript-eslint/type-utils": "^8.0.0",
|
|
40
40
|
"@typescript-eslint/utils": "^8.0.0",
|
|
41
41
|
"chalk": "^4.1.0",
|
|
@@ -10,7 +10,6 @@ const ast_utils_1 = require("../utils/ast-utils");
|
|
|
10
10
|
const graph_utils_1 = require("../utils/graph-utils");
|
|
11
11
|
const project_graph_utils_1 = require("../utils/project-graph-utils");
|
|
12
12
|
const runtime_lint_utils_1 = require("../utils/runtime-lint-utils");
|
|
13
|
-
const project_graph_1 = require("nx/src/config/project-graph");
|
|
14
13
|
exports.RULE_NAME = 'enforce-module-boundaries';
|
|
15
14
|
exports.default = utils_1.ESLintUtils.RuleCreator(() => `https://github.com/nrwl/nx/blob/${devkit_1.NX_VERSION}/docs/generated/packages/eslint-plugin/documents/enforce-module-boundaries.md`)({
|
|
16
15
|
name: exports.RULE_NAME,
|
|
@@ -329,10 +328,6 @@ exports.default = utils_1.ESLintUtils.RuleCreator(() => `https://github.com/nrwl
|
|
|
329
328
|
}
|
|
330
329
|
return;
|
|
331
330
|
}
|
|
332
|
-
if (!(0, project_graph_1.isProjectGraphProjectNode)(targetProject)) {
|
|
333
|
-
return;
|
|
334
|
-
}
|
|
335
|
-
targetProject = targetProject;
|
|
336
331
|
// check constraints between libs and apps
|
|
337
332
|
// check for circular dependency
|
|
338
333
|
const circularPath = (0, graph_utils_1.checkCircularPath)(projectGraph, sourceProject, targetProject);
|