@nrwl/linter 14.7.17 → 14.8.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
|
-
|
6
|
+
# [14.8.0](https://github.com/nrwl/nx/compare/14.7.18...14.8.0) (2022-09-28)
|
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": "14.
|
3
|
+
"version": "14.8.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": {
|
@@ -34,10 +34,10 @@
|
|
34
34
|
"eslint": "^8.0.0"
|
35
35
|
},
|
36
36
|
"dependencies": {
|
37
|
-
"@nrwl/devkit": "14.
|
38
|
-
"@nrwl/jest": "14.
|
37
|
+
"@nrwl/devkit": "14.8.0",
|
38
|
+
"@nrwl/jest": "14.8.0",
|
39
39
|
"@phenomnomnominal/tsquery": "4.1.1",
|
40
|
-
"nx": "14.
|
40
|
+
"nx": "14.8.0",
|
41
41
|
"tmp": "~0.2.1",
|
42
42
|
"tslib": "^2.3.0"
|
43
43
|
},
|
@@ -50,5 +50,5 @@
|
|
50
50
|
"access": "public"
|
51
51
|
},
|
52
52
|
"types": "./index.d.ts",
|
53
|
-
"gitHead": "
|
53
|
+
"gitHead": "225b3a24ab4556deb644f0541572723c61d5883c"
|
54
54
|
}
|
@@ -51,7 +51,7 @@ function updateReactESLintConfigs(host) {
|
|
51
51
|
/**
|
52
52
|
* There isn't a way to know for sure if a project was started with the Nx
|
53
53
|
* original inline React ESLint config (for applications it is easy to know
|
54
|
-
* from the
|
54
|
+
* from the project configuration, but that is not the case for all libraries).
|
55
55
|
*
|
56
56
|
* We therefore try and infer it based on the presence of react eslint plugins
|
57
57
|
* within the config that is currently there.
|
@@ -289,13 +289,13 @@ class ProjectConverter {
|
|
289
289
|
*/
|
290
290
|
const uninstallTask = (0, devkit_1.removeDependenciesFromPackageJson)(this.host, [], ['tslint', 'codelyzer']);
|
291
291
|
/**
|
292
|
-
* Update global linter configuration defaults in
|
292
|
+
* Update global linter configuration defaults in project configuration
|
293
293
|
*/
|
294
294
|
const workspace = (0, devkit_1.readWorkspaceConfiguration)(this.host);
|
295
295
|
this.cleanUpGeneratorsConfig(workspace);
|
296
296
|
(0, devkit_1.updateWorkspaceConfiguration)(this.host, workspace);
|
297
297
|
/**
|
298
|
-
* Update project-level linter configuration defaults in
|
298
|
+
* Update project-level linter configuration defaults in project configuration
|
299
299
|
*/
|
300
300
|
const projects = (0, devkit_1.getProjects)(this.host);
|
301
301
|
for (const [projectName, { generators }] of projects.entries()) {
|