@nrwl/linter 15.0.3 → 15.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +1 -1
- package/executors.json +0 -10
- package/package.json +5 -5
- package/src/executors/lint/compat.d.ts +0 -2
- package/src/executors/lint/compat.js +0 -6
- package/src/executors/lint/compat.js.map +0 -1
- package/src/executors/lint/lint.impl.d.ts +0 -2
- package/src/executors/lint/lint.impl.js +0 -10
- package/src/executors/lint/lint.impl.js.map +0 -1
- package/src/executors/lint/schema.json +0 -128
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,6 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
-
## [15.0.
|
6
|
+
## [15.0.5](https://github.com/nrwl/nx/compare/15.0.4...15.0.5) (2022-11-01)
|
7
7
|
|
8
8
|
**Note:** Version bump only for package @nrwl/linter
|
package/executors.json
CHANGED
@@ -1,10 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"builders": {
|
3
|
-
"lint": {
|
4
|
-
"implementation": "./src/executors/lint/compat",
|
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`."
|
7
|
-
},
|
8
3
|
"eslint": {
|
9
4
|
"implementation": "./src/executors/eslint/compat",
|
10
5
|
"schema": "./src/executors/eslint/schema.json",
|
@@ -12,11 +7,6 @@
|
|
12
7
|
}
|
13
8
|
},
|
14
9
|
"executors": {
|
15
|
-
"lint": {
|
16
|
-
"implementation": "./src/executors/lint/lint.impl",
|
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`."
|
19
|
-
},
|
20
10
|
"eslint": {
|
21
11
|
"implementation": "./src/executors/eslint/lint.impl",
|
22
12
|
"schema": "./src/executors/eslint/schema.json",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nrwl/linter",
|
3
|
-
"version": "15.0.
|
3
|
+
"version": "15.0.5",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Linter plugin for Nx contains executors, generators and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.",
|
6
6
|
"repository": {
|
@@ -33,10 +33,10 @@
|
|
33
33
|
"eslint": "^8.0.0"
|
34
34
|
},
|
35
35
|
"dependencies": {
|
36
|
-
"@nrwl/devkit": "15.0.
|
37
|
-
"@nrwl/jest": "15.0.
|
36
|
+
"@nrwl/devkit": "15.0.5",
|
37
|
+
"@nrwl/jest": "15.0.5",
|
38
38
|
"@phenomnomnominal/tsquery": "4.1.1",
|
39
|
-
"nx": "15.0.
|
39
|
+
"nx": "15.0.5",
|
40
40
|
"tmp": "~0.2.1",
|
41
41
|
"tslib": "^2.3.0"
|
42
42
|
},
|
@@ -49,5 +49,5 @@
|
|
49
49
|
"access": "public"
|
50
50
|
},
|
51
51
|
"types": "./index.d.ts",
|
52
|
-
"gitHead": "
|
52
|
+
"gitHead": "2d84f2565ff4114dee1f476b0087a2707178efe3"
|
53
53
|
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const devkit_1 = require("@nrwl/devkit");
|
4
|
-
const lint_impl_1 = require("./lint.impl");
|
5
|
-
exports.default = (0, devkit_1.convertNxExecutor)(lint_impl_1.default);
|
6
|
-
//# sourceMappingURL=compat.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"compat.js","sourceRoot":"","sources":["../../../../../../packages/linter/src/executors/lint/compat.ts"],"names":[],"mappings":";;AAAA,yCAAiD;AACjD,2CAAmC;AAEnC,kBAAe,IAAA,0BAAiB,EAAC,mBAAQ,CAAC,CAAC"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
function run(_options, _context) {
|
5
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
6
|
-
throw new Error(`"@nrwl/linter:lint" was deprecated in v10 and is no longer supported. Update your project configuration to use "@nrwl/linter:eslint" builder instead.`);
|
7
|
-
});
|
8
|
-
}
|
9
|
-
exports.default = run;
|
10
|
-
//# sourceMappingURL=lint.impl.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"lint.impl.js","sourceRoot":"","sources":["../../../../../../packages/linter/src/executors/lint/lint.impl.ts"],"names":[],"mappings":";;;AAEA,SAA8B,GAAG,CAC/B,QAAa,EACb,QAAyB;;QAEzB,MAAM,IAAI,KAAK,CACb,uJAAuJ,CACxJ,CAAC;IACJ,CAAC;CAAA;AAPD,sBAOC"}
|
@@ -1,128 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 2,
|
3
|
-
"outputCapture": "direct-nodejs",
|
4
|
-
"$schema": "http://json-schema.org/schema",
|
5
|
-
"title": "Lint Target",
|
6
|
-
"description": "Linter.",
|
7
|
-
"cli": "nx",
|
8
|
-
"type": "object",
|
9
|
-
"properties": {
|
10
|
-
"linter": {
|
11
|
-
"description": "The tool to use for running lint checks.",
|
12
|
-
"type": "string",
|
13
|
-
"enum": ["eslint"],
|
14
|
-
"default": "eslint"
|
15
|
-
},
|
16
|
-
"config": {
|
17
|
-
"type": "string",
|
18
|
-
"description": "The name of the configuration file.",
|
19
|
-
"x-completion-type": "file",
|
20
|
-
"x-completion-glob": ".eslintrc.json)"
|
21
|
-
},
|
22
|
-
"tsConfig": {
|
23
|
-
"description": "The name of the TypeScript configuration file.",
|
24
|
-
"oneOf": [
|
25
|
-
{
|
26
|
-
"type": "string",
|
27
|
-
"x-completion-type": "file",
|
28
|
-
"x-completion-glob": "tsconfig.*.json"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"type": "array",
|
32
|
-
"items": {
|
33
|
-
"type": "string",
|
34
|
-
"x-completion-type": "file",
|
35
|
-
"x-completion-glob": "tsconfig.*.json"
|
36
|
-
}
|
37
|
-
}
|
38
|
-
]
|
39
|
-
},
|
40
|
-
"format": {
|
41
|
-
"type": "string",
|
42
|
-
"description": "ESLint Output formatter (https://eslint.org/docs/user-guide/formatters).",
|
43
|
-
"default": "stylish",
|
44
|
-
"anyOf": [
|
45
|
-
{
|
46
|
-
"enum": [
|
47
|
-
"stylish",
|
48
|
-
"compact",
|
49
|
-
"codeframe",
|
50
|
-
"unix",
|
51
|
-
"visualstudio",
|
52
|
-
"table",
|
53
|
-
"checkstyle",
|
54
|
-
"html",
|
55
|
-
"jslint-xml",
|
56
|
-
"json",
|
57
|
-
"json-with-metadata",
|
58
|
-
"junit",
|
59
|
-
"tap"
|
60
|
-
]
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"minLength": 1
|
64
|
-
}
|
65
|
-
]
|
66
|
-
},
|
67
|
-
"exclude": {
|
68
|
-
"type": "array",
|
69
|
-
"description": "Files to exclude from linting.",
|
70
|
-
"default": [],
|
71
|
-
"items": {
|
72
|
-
"type": "string",
|
73
|
-
"x-completion-type": "file"
|
74
|
-
}
|
75
|
-
},
|
76
|
-
"files": {
|
77
|
-
"type": "array",
|
78
|
-
"description": "Files to include in linting.",
|
79
|
-
"default": [],
|
80
|
-
"items": {
|
81
|
-
"type": "string",
|
82
|
-
"x-completion-type": "file"
|
83
|
-
}
|
84
|
-
},
|
85
|
-
"force": {
|
86
|
-
"type": "boolean",
|
87
|
-
"description": "Succeeds even if there was linting errors.",
|
88
|
-
"default": false
|
89
|
-
},
|
90
|
-
"silent": {
|
91
|
-
"type": "boolean",
|
92
|
-
"description": "Hide output text.",
|
93
|
-
"default": false
|
94
|
-
},
|
95
|
-
"fix": {
|
96
|
-
"type": "boolean",
|
97
|
-
"description": "Fixes linting errors (may overwrite linted files).",
|
98
|
-
"default": false
|
99
|
-
},
|
100
|
-
"cache": {
|
101
|
-
"type": "boolean",
|
102
|
-
"description": "Only check changed files.",
|
103
|
-
"default": false
|
104
|
-
},
|
105
|
-
"cacheLocation": {
|
106
|
-
"type": "string",
|
107
|
-
"description": "Path to the cache file or directory.",
|
108
|
-
"x-completion-type": "directory"
|
109
|
-
},
|
110
|
-
"outputFile": {
|
111
|
-
"type": "string",
|
112
|
-
"description": "File to write report to.",
|
113
|
-
"x-completion-type": "file"
|
114
|
-
},
|
115
|
-
"maxWarnings": {
|
116
|
-
"type": "number",
|
117
|
-
"description": "Number of warnings to trigger nonzero exit code - default: `-1`.",
|
118
|
-
"default": -1
|
119
|
-
},
|
120
|
-
"quiet": {
|
121
|
-
"type": "boolean",
|
122
|
-
"description": "Report errors only - default: `false`.",
|
123
|
-
"default": false
|
124
|
-
}
|
125
|
-
},
|
126
|
-
"additionalProperties": false,
|
127
|
-
"required": ["linter"]
|
128
|
-
}
|