@nx/eslint 17.3.0-canary.20231214-dc03c37 → 17.3.0-canary.20231216-71ce32a
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",
|
3
|
-
"version": "17.3.0-canary.
|
3
|
+
"version": "17.3.0-canary.20231216-71ce32a",
|
4
4
|
"private": false,
|
5
5
|
"description": "The ESLint plugin for Nx contains executors, generators and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.",
|
6
6
|
"repository": {
|
@@ -34,11 +34,11 @@
|
|
34
34
|
"js-yaml": "4.1.0"
|
35
35
|
},
|
36
36
|
"dependencies": {
|
37
|
-
"@nx/devkit": "17.3.0-canary.
|
38
|
-
"@nx/js": "17.3.0-canary.
|
37
|
+
"@nx/devkit": "17.3.0-canary.20231216-71ce32a",
|
38
|
+
"@nx/js": "17.3.0-canary.20231216-71ce32a",
|
39
39
|
"tslib": "^2.3.0",
|
40
40
|
"typescript": "~5.2.2",
|
41
|
-
"@nx/linter": "17.3.0-canary.
|
41
|
+
"@nx/linter": "17.3.0-canary.20231216-71ce32a"
|
42
42
|
},
|
43
43
|
"peerDependenciesMeta": {
|
44
44
|
"eslint": {
|
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
18
18
|
|
19
|
-
// NOTE: The rule will be available in ESLint configs as "@nx/workspace
|
19
|
+
// NOTE: The rule will be available in ESLint configs as "@nx/workspace-<%= name %>"
|
20
20
|
export const RULE_NAME = '<%= name %>';
|
21
21
|
|
22
22
|
export const rule = ESLintUtils.RuleCreator(() => __filename)({
|
@@ -65,7 +65,7 @@ async function lintWorkspaceRuleGenerator(tree, options) {
|
|
65
65
|
devkit_1.logger.info(`NX Reminder: Once you have finished writing your rule logic, you need to actually enable the rule within an appropriate ESLint config in your workspace, for example:
|
66
66
|
|
67
67
|
"rules": {
|
68
|
-
"@nx/workspace
|
68
|
+
"@nx/workspace-${options.name}": "error"
|
69
69
|
}
|
70
70
|
`);
|
71
71
|
return projectGeneratorCallback;
|