@nx/eslint-plugin 17.3.0-beta.5 → 17.3.0-beta.6
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": "17.3.0-beta.
|
|
3
|
+
"version": "17.3.0-beta.6",
|
|
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": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@nx/devkit": "17.3.0-beta.
|
|
37
|
-
"@nx/js": "17.3.0-beta.
|
|
36
|
+
"@nx/devkit": "17.3.0-beta.6",
|
|
37
|
+
"@nx/js": "17.3.0-beta.6",
|
|
38
38
|
"@typescript-eslint/type-utils": "^6.13.2",
|
|
39
39
|
"@typescript-eslint/utils": "^6.13.2",
|
|
40
40
|
"chalk": "^4.1.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"jsonc-eslint-parser": "^2.1.0",
|
|
43
43
|
"semver": "7.5.3",
|
|
44
44
|
"tslib": "^2.3.0",
|
|
45
|
-
"@nrwl/eslint-plugin-nx": "17.3.0-beta.
|
|
45
|
+
"@nrwl/eslint-plugin-nx": "17.3.0-beta.6"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
@@ -10,7 +10,7 @@ const runtime_lint_utils_1 = require("../utils/runtime-lint-utils");
|
|
|
10
10
|
const package_json_utils_1 = require("../utils/package-json-utils");
|
|
11
11
|
const utils_1 = require("@typescript-eslint/utils");
|
|
12
12
|
exports.RULE_NAME = 'dependency-checks';
|
|
13
|
-
exports.default = utils_1.ESLintUtils.RuleCreator(() =>
|
|
13
|
+
exports.default = utils_1.ESLintUtils.RuleCreator(() => `https://github.com/nrwl/nx/blob/${devkit_1.NX_VERSION}/docs/generated/packages/eslint-plugin/documents/dependency-checks.md`)({
|
|
14
14
|
name: exports.RULE_NAME,
|
|
15
15
|
meta: {
|
|
16
16
|
type: 'suggestion',
|
|
@@ -11,7 +11,7 @@ const ast_utils_1 = require("../utils/ast-utils");
|
|
|
11
11
|
const project_graph_utils_1 = require("../utils/project-graph-utils");
|
|
12
12
|
const utils_2 = require("@typescript-eslint/utils");
|
|
13
13
|
exports.RULE_NAME = 'enforce-module-boundaries';
|
|
14
|
-
exports.default = utils_2.ESLintUtils.RuleCreator(() =>
|
|
14
|
+
exports.default = utils_2.ESLintUtils.RuleCreator(() => `https://github.com/nrwl/nx/blob/${devkit_1.NX_VERSION}/docs/generated/packages/eslint-plugin/documents/enforce-module-boundaries.md`)({
|
|
15
15
|
name: exports.RULE_NAME,
|
|
16
16
|
meta: {
|
|
17
17
|
type: 'suggestion',
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.readProjectGraph = exports.ensureGlobalProjectGraph = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
4
|
const devkit_1 = require("@nx/devkit");
|
|
6
5
|
const runtime_lint_utils_1 = require("./runtime-lint-utils");
|
|
7
|
-
const chalk =
|
|
6
|
+
const chalk = require("chalk");
|
|
8
7
|
const find_project_for_path_1 = require("nx/src/project-graph/utils/find-project-for-path");
|
|
9
8
|
const configuration_1 = require("nx/src/config/configuration");
|
|
10
9
|
const internal_1 = require("@nx/js/src/internal");
|