@nrwl/linter 15.0.5 → 15.0.7-rc.0
Sign up to get free protection for your applications and to get access to all the features.
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.7-rc.0](https://github.com/nrwl/nx/compare/15.0.5...15.0.7-rc.0) (2022-11-02)
|
7
7
|
|
8
8
|
**Note:** Version bump only for package @nrwl/linter
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nrwl/linter",
|
3
|
-
"version": "15.0.
|
3
|
+
"version": "15.0.7-rc.0",
|
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.7-rc.0",
|
37
|
+
"@nrwl/jest": "15.0.7-rc.0",
|
38
38
|
"@phenomnomnominal/tsquery": "4.1.1",
|
39
|
-
"nx": "15.0.
|
39
|
+
"nx": "15.0.7-rc.0",
|
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": "98b6393474097d04bc460cb607cd6172fdbb435c"
|
53
53
|
}
|
@@ -5,16 +5,6 @@
|
|
5
5
|
"title": "Create a new Workspace Lint Rule",
|
6
6
|
"description": "Create a new Workspace Lint Rule.",
|
7
7
|
"type": "object",
|
8
|
-
"examples": [
|
9
|
-
{
|
10
|
-
"command": "nx g @nrwl/linter:workspace-rule my-custom-rule",
|
11
|
-
"description": "Create a new workspace lint rule called my-custom-rule"
|
12
|
-
},
|
13
|
-
{
|
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
|
-
}
|
17
|
-
],
|
18
8
|
"properties": {
|
19
9
|
"name": {
|
20
10
|
"type": "string",
|
@@ -31,5 +21,6 @@
|
|
31
21
|
"default": "rules"
|
32
22
|
}
|
33
23
|
},
|
34
|
-
"required": ["name", "directory"]
|
24
|
+
"required": ["name", "directory"],
|
25
|
+
"examplesFile": "../../../docs/workspace-rule-examples.md"
|
35
26
|
}
|
@@ -3,7 +3,7 @@ import type { Linter } from 'eslint';
|
|
3
3
|
import type { TSLintRuleOptions } from 'tslint-to-eslint-config';
|
4
4
|
export declare function ensureESLintPluginsAreInstalled(host: Tree, eslintPluginsToBeInstalled: string[]): GeneratorCallback;
|
5
5
|
export declare function convertTSLintConfig(rawTSLintJson: any, tslintJsonPath: string, ignoreExtendsVals: string[]): Promise<{
|
6
|
-
convertedESLintConfig: Linter.Config<Linter.RulesRecord>;
|
6
|
+
convertedESLintConfig: Linter.Config<Linter.RulesRecord, Linter.RulesRecord>;
|
7
7
|
unconvertedTSLintRules: TSLintRuleOptions[];
|
8
8
|
ensureESLintPlugins: string[];
|
9
9
|
}>;
|