@nx/eslint-plugin 17.3.0 → 18.0.0-canary.20240130-bb3cf3a
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/package.json +4 -4
- package/src/configs/angular.js +1 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/eslint-plugin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "18.0.0-canary.20240130-bb3cf3a",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The eslint-plugin package is an ESLint plugin that contains a collection of recommended ESLint rule configurations which you can extend from in your own ESLint configs, as well as an Nx-specific lint rule called enforce-module-boundaries.",
|
|
6
6
|
"repository": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@nx/devkit": "
|
|
37
|
-
"@nx/js": "
|
|
36
|
+
"@nx/devkit": "18.0.0-canary.20240130-bb3cf3a",
|
|
37
|
+
"@nx/js": "18.0.0-canary.20240130-bb3cf3a",
|
|
38
38
|
"@typescript-eslint/type-utils": "^6.13.2",
|
|
39
39
|
"@typescript-eslint/utils": "^6.13.2",
|
|
40
40
|
"chalk": "^4.1.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"jsonc-eslint-parser": "^2.1.0",
|
|
43
43
|
"semver": "7.5.3",
|
|
44
44
|
"tslib": "^2.3.0",
|
|
45
|
-
"@nrwl/eslint-plugin-nx": "
|
|
45
|
+
"@nrwl/eslint-plugin-nx": "18.0.0-canary.20240130-bb3cf3a"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
package/src/configs/angular.js
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
let angularEslintPlugin;
|
|
4
|
-
try {
|
|
5
|
-
angularEslintPlugin = require('@angular-eslint/eslint-plugin');
|
|
6
|
-
}
|
|
7
|
-
catch { }
|
|
8
3
|
/**
|
|
9
4
|
* This configuration is intended to be applied to ALL .ts files in Angular
|
|
10
5
|
* projects within an Nx workspace.
|
|
@@ -23,16 +18,7 @@ exports.default = {
|
|
|
23
18
|
node: true,
|
|
24
19
|
},
|
|
25
20
|
plugins: ['@angular-eslint'],
|
|
26
|
-
extends: [
|
|
27
|
-
'plugin:@angular-eslint/recommended',
|
|
28
|
-
/**
|
|
29
|
-
* TODO: Consider dropping this extends and explicitly carrying over rules we care about
|
|
30
|
-
* into our typescript preset in v13
|
|
31
|
-
*/
|
|
32
|
-
...(angularEslintPlugin?.configs?.['recommended--extra']
|
|
33
|
-
? ['plugin:@angular-eslint/recommended--extra']
|
|
34
|
-
: []),
|
|
35
|
-
],
|
|
21
|
+
extends: ['plugin:@angular-eslint/recommended'],
|
|
36
22
|
parserOptions: {
|
|
37
23
|
// Unset the default value for parserOptions.project that is found in earlier versions of @angular-eslint
|
|
38
24
|
project: [],
|