@nrwl/linter 13.10.0-beta.4 → 13.10.0-beta.7
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/executors.json +4 -4
- package/generators.json +4 -4
- package/package.json +4 -4
- package/src/executors/eslint/schema.json +7 -7
- package/src/executors/lint/schema.json +3 -3
- package/src/generators/workspace-rule/schema.json +6 -6
- package/src/generators/workspace-rules-project/schema.json +2 -2
- package/src/utils/versions.js +1 -1
package/executors.json
CHANGED
|
@@ -3,25 +3,25 @@
|
|
|
3
3
|
"lint": {
|
|
4
4
|
"implementation": "./src/executors/lint/compat",
|
|
5
5
|
"schema": "./src/executors/lint/schema.json",
|
|
6
|
-
"description": "**[DEPRECATED]**: Please use the eslint builder instead, an automated migration was provided in v10.3.0"
|
|
6
|
+
"description": "**[DEPRECATED]**: Please use the eslint builder instead, an automated migration was provided in `v10.3.0`."
|
|
7
7
|
},
|
|
8
8
|
"eslint": {
|
|
9
9
|
"implementation": "./src/executors/eslint/compat",
|
|
10
10
|
"schema": "./src/executors/eslint/schema.json",
|
|
11
|
-
"description": "Run ESLint on a project"
|
|
11
|
+
"description": "Run ESLint on a project."
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"executors": {
|
|
15
15
|
"lint": {
|
|
16
16
|
"implementation": "./src/executors/lint/lint.impl",
|
|
17
17
|
"schema": "./src/executors/lint/schema.json",
|
|
18
|
-
"description": "**[DEPRECATED]**: Please use the eslint builder instead, an automated migration was provided in v10.3.0"
|
|
18
|
+
"description": "**[DEPRECATED]**: Please use the eslint builder instead, an automated migration was provided in `v10.3.0`."
|
|
19
19
|
},
|
|
20
20
|
"eslint": {
|
|
21
21
|
"implementation": "./src/executors/eslint/lint.impl",
|
|
22
22
|
"schema": "./src/executors/eslint/schema.json",
|
|
23
23
|
"hasher": "./src/executors/eslint/hasher",
|
|
24
|
-
"description": "Run ESLint on a project"
|
|
24
|
+
"description": "Run ESLint on a project."
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
package/generators.json
CHANGED
|
@@ -5,26 +5,26 @@
|
|
|
5
5
|
"workspace-rules-project": {
|
|
6
6
|
"factory": "./src/generators/workspace-rules-project/workspace-rules-project#lintWorkspaceRulesProjectSchematic",
|
|
7
7
|
"schema": "./src/generators/workspace-rules-project/schema.json",
|
|
8
|
-
"description": "Create the Workspace Lint Rules Project",
|
|
8
|
+
"description": "Create the Workspace Lint Rules Project.",
|
|
9
9
|
"hidden": true
|
|
10
10
|
},
|
|
11
11
|
"workspace-rule": {
|
|
12
12
|
"factory": "./src/generators/workspace-rule/workspace-rule#lintWorkspaceRuleSchematic",
|
|
13
13
|
"schema": "./src/generators/workspace-rule/schema.json",
|
|
14
|
-
"description": "Create a new
|
|
14
|
+
"description": "Create a new Workspace ESLint rule."
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"generators": {
|
|
18
18
|
"workspace-rules-project": {
|
|
19
19
|
"factory": "./src/generators/workspace-rules-project/workspace-rules-project#lintWorkspaceRulesProjectGenerator",
|
|
20
20
|
"schema": "./src/generators/workspace-rules-project/schema.json",
|
|
21
|
-
"description": "Create the Workspace Lint Rules Project",
|
|
21
|
+
"description": "Create the Workspace Lint Rules Project.",
|
|
22
22
|
"hidden": true
|
|
23
23
|
},
|
|
24
24
|
"workspace-rule": {
|
|
25
25
|
"factory": "./src/generators/workspace-rule/workspace-rule#lintWorkspaceRuleGenerator",
|
|
26
26
|
"schema": "./src/generators/workspace-rule/schema.json",
|
|
27
|
-
"description": "Create a new
|
|
27
|
+
"description": "Create a new Workspace ESLint rule."
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/linter",
|
|
3
|
-
"version": "13.10.0-beta.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "13.10.0-beta.7",
|
|
4
|
+
"description": "The Linter plugin contains executors, generator, plugin and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/nrwl/nx.git",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@phenomnomnominal/tsquery": "4.1.1",
|
|
37
|
-
"@nrwl/devkit": "13.10.0-beta.
|
|
38
|
-
"@nrwl/jest": "13.10.0-beta.
|
|
37
|
+
"@nrwl/devkit": "13.10.0-beta.7",
|
|
38
|
+
"@nrwl/jest": "13.10.0-beta.7",
|
|
39
39
|
"tmp": "~0.2.1",
|
|
40
40
|
"tslib": "^2.3.0"
|
|
41
41
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema",
|
|
3
3
|
"title": "ESLint Lint Target",
|
|
4
|
-
"description": "ESLint Lint Target",
|
|
4
|
+
"description": "ESLint Lint Target.",
|
|
5
5
|
"cli": "nx",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"lintFilePatterns": {
|
|
13
13
|
"type": "array",
|
|
14
|
-
"description": "One or more files/dirs/globs to pass directly to ESLint's lintFiles() method.",
|
|
14
|
+
"description": "One or more files/dirs/globs to pass directly to ESLint's `lintFiles()` method.",
|
|
15
15
|
"default": [],
|
|
16
16
|
"items": {
|
|
17
17
|
"type": "string"
|
|
@@ -74,26 +74,26 @@
|
|
|
74
74
|
},
|
|
75
75
|
"maxWarnings": {
|
|
76
76
|
"type": "number",
|
|
77
|
-
"description": "Number of warnings to trigger nonzero exit code - default:
|
|
77
|
+
"description": "Number of warnings to trigger nonzero exit code - default: `-1`.",
|
|
78
78
|
"default": -1
|
|
79
79
|
},
|
|
80
80
|
"quiet": {
|
|
81
81
|
"type": "boolean",
|
|
82
|
-
"description": "Report errors only - default: false",
|
|
82
|
+
"description": "Report errors only - default: `false`.",
|
|
83
83
|
"default": false
|
|
84
84
|
},
|
|
85
85
|
"ignorePath": {
|
|
86
86
|
"type": "string",
|
|
87
|
-
"description": "The path of the
|
|
87
|
+
"description": "The path of the `.eslintignore` file."
|
|
88
88
|
},
|
|
89
89
|
"noEslintrc": {
|
|
90
90
|
"type": "boolean",
|
|
91
|
-
"description": "The equivalent of the
|
|
91
|
+
"description": "The equivalent of the `--no-eslintrc` flag on the ESLint CLI, it is `false` by default.",
|
|
92
92
|
"default": false
|
|
93
93
|
},
|
|
94
94
|
"hasTypeAwareRules": {
|
|
95
95
|
"type": "boolean",
|
|
96
|
-
"description": "When set to true
|
|
96
|
+
"description": "When set to `true`, the linter will invalidate its cache when any of its dependencies changes."
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
"additionalProperties": false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema",
|
|
3
3
|
"title": "Lint Target",
|
|
4
|
-
"description": "Linter",
|
|
4
|
+
"description": "Linter.",
|
|
5
5
|
"cli": "nx",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
@@ -98,12 +98,12 @@
|
|
|
98
98
|
},
|
|
99
99
|
"maxWarnings": {
|
|
100
100
|
"type": "number",
|
|
101
|
-
"description": "Number of warnings to trigger nonzero exit code - default:
|
|
101
|
+
"description": "Number of warnings to trigger nonzero exit code - default: `-1`.",
|
|
102
102
|
"default": -1
|
|
103
103
|
},
|
|
104
104
|
"quiet": {
|
|
105
105
|
"type": "boolean",
|
|
106
|
-
"description": "Report errors only - default: false",
|
|
106
|
+
"description": "Report errors only - default: `false`.",
|
|
107
107
|
"default": false
|
|
108
108
|
}
|
|
109
109
|
},
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
"$id": "NxWorkspaceRule",
|
|
4
4
|
"cli": "nx",
|
|
5
5
|
"title": "Create a new Workspace Lint Rule",
|
|
6
|
-
"description": "Create a new Workspace Lint Rule",
|
|
6
|
+
"description": "Create a new Workspace Lint Rule.",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"examples": [
|
|
9
9
|
{
|
|
10
|
-
"command": "g @nrwl/linter:workspace-rule my-custom-rule",
|
|
10
|
+
"command": "nx g @nrwl/linter:workspace-rule my-custom-rule",
|
|
11
11
|
"description": "Create a new workspace lint rule called my-custom-rule"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
"command": "g @nrwl/linter:workspace-rule --name=my-custom-rule --directory=a/b/c",
|
|
15
|
-
"description": "Create a new workspace lint rule located at tools/eslint-rules/a/b/c/my-custom-rule.ts"
|
|
14
|
+
"command": "nx g @nrwl/linter:workspace-rule --name=my-custom-rule --directory=a/b/c",
|
|
15
|
+
"description": "Create a new workspace lint rule located at `tools/eslint-rules/a/b/c/my-custom-rule.ts`"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"properties": {
|
|
19
19
|
"name": {
|
|
20
20
|
"type": "string",
|
|
21
|
-
"description": "The name of the new rule",
|
|
21
|
+
"description": "The name of the new rule.",
|
|
22
22
|
"$default": {
|
|
23
23
|
"$source": "argv",
|
|
24
24
|
"index": 0
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"directory": {
|
|
28
28
|
"type": "string",
|
|
29
|
-
"description": "Create the rule under this directory within tools/eslint-rules
|
|
29
|
+
"description": "Create the rule under this directory within `tools/eslint-rules/` (can be nested).",
|
|
30
30
|
"alias": "dir",
|
|
31
31
|
"default": "rules"
|
|
32
32
|
}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
"$id": "NxWorkspaceRulesProject",
|
|
4
4
|
"cli": "nx",
|
|
5
5
|
"title": "Create the Workspace Lint Rules Project",
|
|
6
|
-
"description": "Create the Workspace Lint Rules Project",
|
|
6
|
+
"description": "Create the Workspace Lint Rules Project.",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"examples": [
|
|
9
9
|
{
|
|
10
|
-
"command": "g @nrwl/linter:workspace-rules-project",
|
|
10
|
+
"command": "nx g @nrwl/linter:workspace-rules-project",
|
|
11
11
|
"description": "Create the Workspace Lint Rules Project"
|
|
12
12
|
}
|
|
13
13
|
],
|
package/src/utils/versions.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.eslintConfigPrettierVersion = exports.eslintVersion = exports.typescriptESLintVersion = exports.buildAngularVersion = exports.tslintToEslintConfigVersion = exports.tslintVersion = exports.nxVersion = void 0;
|
|
4
|
-
exports.nxVersion = '13.10.0-beta.
|
|
4
|
+
exports.nxVersion = '13.10.0-beta.7';
|
|
5
5
|
exports.tslintVersion = '~6.1.0';
|
|
6
6
|
exports.tslintToEslintConfigVersion = '^2.4.0';
|
|
7
7
|
exports.buildAngularVersion = '~13.3.0';
|