@nrwl/linter 15.0.5 → 15.0.7-rc.0

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/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.5](https://github.com/nrwl/nx/compare/15.0.4...15.0.5) (2022-11-01)
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.5",
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.5",
37
- "@nrwl/jest": "15.0.5",
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.5",
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": "2d84f2565ff4114dee1f476b0087a2707178efe3"
52
+ "gitHead": "98b6393474097d04bc460cb607cd6172fdbb435c"
53
53
  }
@@ -131,5 +131,6 @@
131
131
  "description": "The equivalent of the `--report-unused-disable-directives` flag on the ESLint CLI."
132
132
  }
133
133
  },
134
- "required": ["lintFilePatterns"]
134
+ "required": ["lintFilePatterns"],
135
+ "examplesFile": "../../../docs/eslint-examples.md"
135
136
  }
@@ -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
  }>;