@nx/eslint-plugin 20.0.0-beta.6 → 20.0.0-beta.8
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 +3 -3
- package/src/configs/javascript.d.ts +2 -2
- package/src/configs/javascript.js +2 -2
- package/src/configs/typescript.d.ts +2 -2
- package/src/configs/typescript.js +2 -2
- package/src/flat-configs/javascript.js +2 -2
- package/src/flat-configs/react-base.js +1 -2
- package/src/flat-configs/typescript.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/eslint-plugin",
|
|
3
|
-
"version": "20.0.0-beta.
|
|
3
|
+
"version": "20.0.0-beta.8",
|
|
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": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@eslint/compat": "^1.1.1",
|
|
38
|
-
"@nx/devkit": "20.0.0-beta.
|
|
39
|
-
"@nx/js": "20.0.0-beta.
|
|
38
|
+
"@nx/devkit": "20.0.0-beta.8",
|
|
39
|
+
"@nx/js": "20.0.0-beta.8",
|
|
40
40
|
"@typescript-eslint/type-utils": "^8.0.0",
|
|
41
41
|
"@typescript-eslint/utils": "^8.0.0",
|
|
42
42
|
"chalk": "^4.1.0",
|
|
@@ -44,7 +44,7 @@ declare const _default: {
|
|
|
44
44
|
* previously defined v5 of `@typescript-eslint`. v6 of `@typescript-eslint`
|
|
45
45
|
* changed how configurations are defined.
|
|
46
46
|
*
|
|
47
|
-
* TODO(
|
|
47
|
+
* TODO(eslint): re-evalute these deviations from @typescript-eslint/recommended in v20 of Nx
|
|
48
48
|
*/
|
|
49
49
|
'@typescript-eslint/no-non-null-assertion': string;
|
|
50
50
|
'@typescript-eslint/adjacent-overload-signatures': string;
|
|
@@ -59,7 +59,7 @@ declare const _default: {
|
|
|
59
59
|
* During the migration to use ESLint v9 and typescript-eslint v8 for new workspaces,
|
|
60
60
|
* this rule would have created a lot of noise, so we are disabling it by default for now.
|
|
61
61
|
*
|
|
62
|
-
* TODO(
|
|
62
|
+
* TODO(eslint): we should make this part of what we re-evaluate in v20
|
|
63
63
|
*/
|
|
64
64
|
'@typescript-eslint/no-require-imports': string;
|
|
65
65
|
};
|
|
@@ -53,7 +53,7 @@ exports.default = {
|
|
|
53
53
|
* previously defined v5 of `@typescript-eslint`. v6 of `@typescript-eslint`
|
|
54
54
|
* changed how configurations are defined.
|
|
55
55
|
*
|
|
56
|
-
* TODO(
|
|
56
|
+
* TODO(eslint): re-evalute these deviations from @typescript-eslint/recommended in v20 of Nx
|
|
57
57
|
*/
|
|
58
58
|
'@typescript-eslint/no-non-null-assertion': 'warn',
|
|
59
59
|
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
|
@@ -68,7 +68,7 @@ exports.default = {
|
|
|
68
68
|
* During the migration to use ESLint v9 and typescript-eslint v8 for new workspaces,
|
|
69
69
|
* this rule would have created a lot of noise, so we are disabling it by default for now.
|
|
70
70
|
*
|
|
71
|
-
* TODO(
|
|
71
|
+
* TODO(eslint): we should make this part of what we re-evaluate in v20
|
|
72
72
|
*/
|
|
73
73
|
'@typescript-eslint/no-require-imports': 'off',
|
|
74
74
|
},
|
|
@@ -26,7 +26,7 @@ declare const _default: {
|
|
|
26
26
|
* previously defined v5 of `@typescript-eslint`. v6 of `@typescript-eslint`
|
|
27
27
|
* changed how configurations are defined.
|
|
28
28
|
*
|
|
29
|
-
* TODO(
|
|
29
|
+
* TODO(eslint): re-evalute these deviations from @typescript-eslint/recommended in v20 of Nx
|
|
30
30
|
*/
|
|
31
31
|
'@typescript-eslint/no-non-null-assertion': string;
|
|
32
32
|
'@typescript-eslint/adjacent-overload-signatures': string;
|
|
@@ -41,7 +41,7 @@ declare const _default: {
|
|
|
41
41
|
* During the migration to use ESLint v9 and typescript-eslint v8 for new workspaces,
|
|
42
42
|
* this rule would have created a lot of noise, so we are disabling it by default for now.
|
|
43
43
|
*
|
|
44
|
-
* TODO(
|
|
44
|
+
* TODO(eslint): we should make this part of what we re-evaluate in v20
|
|
45
45
|
*/
|
|
46
46
|
'@typescript-eslint/no-require-imports': string;
|
|
47
47
|
};
|
|
@@ -36,7 +36,7 @@ exports.default = {
|
|
|
36
36
|
* previously defined v5 of `@typescript-eslint`. v6 of `@typescript-eslint`
|
|
37
37
|
* changed how configurations are defined.
|
|
38
38
|
*
|
|
39
|
-
* TODO(
|
|
39
|
+
* TODO(eslint): re-evalute these deviations from @typescript-eslint/recommended in v20 of Nx
|
|
40
40
|
*/
|
|
41
41
|
'@typescript-eslint/no-non-null-assertion': 'warn',
|
|
42
42
|
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
|
@@ -51,7 +51,7 @@ exports.default = {
|
|
|
51
51
|
* During the migration to use ESLint v9 and typescript-eslint v8 for new workspaces,
|
|
52
52
|
* this rule would have created a lot of noise, so we are disabling it by default for now.
|
|
53
53
|
*
|
|
54
|
-
* TODO(
|
|
54
|
+
* TODO(eslint): we should make this part of what we re-evaluate in v20
|
|
55
55
|
*/
|
|
56
56
|
'@typescript-eslint/no-require-imports': 'off',
|
|
57
57
|
},
|
|
@@ -53,7 +53,7 @@ exports.default = typescript_eslint_1.default.config(js_1.default.configs.recomm
|
|
|
53
53
|
* previously defined v5 of `@typescript-eslint`. v6 of `@typescript-eslint`
|
|
54
54
|
* changed how configurations are defined.
|
|
55
55
|
*
|
|
56
|
-
* TODO(
|
|
56
|
+
* TODO(eslint): re-evalute these deviations from @typescript-eslint/recommended in v20 of Nx
|
|
57
57
|
*/
|
|
58
58
|
'@typescript-eslint/no-non-null-assertion': 'warn',
|
|
59
59
|
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
|
@@ -68,7 +68,7 @@ exports.default = typescript_eslint_1.default.config(js_1.default.configs.recomm
|
|
|
68
68
|
* During the migration to use ESLint v9 and typescript-eslint v8 for new workspaces,
|
|
69
69
|
* this rule would have created a lot of noise, so we are disabling it by default for now.
|
|
70
70
|
*
|
|
71
|
-
* TODO(
|
|
71
|
+
* TODO(eslint): we should make this part of what we re-evaluate in v20
|
|
72
72
|
*/
|
|
73
73
|
'@typescript-eslint/no-require-imports': 'off',
|
|
74
74
|
},
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const compat_1 = require("@eslint/compat");
|
|
5
4
|
const importPlugin = tslib_1.__importStar(require("eslint-plugin-import"));
|
|
6
5
|
const globals_1 = tslib_1.__importDefault(require("globals"));
|
|
7
6
|
const typescript_eslint_1 = tslib_1.__importDefault(require("typescript-eslint"));
|
|
@@ -20,7 +19,7 @@ const typescript_eslint_1 = tslib_1.__importDefault(require("typescript-eslint")
|
|
|
20
19
|
* https://github.com/facebook/create-react-app/blob/567f36c9235f1e1fd4a76dc6d1ae00be754ca047/packages/eslint-config-react-app/index.js
|
|
21
20
|
*/
|
|
22
21
|
exports.default = typescript_eslint_1.default.config({
|
|
23
|
-
plugins: { import:
|
|
22
|
+
plugins: { import: importPlugin },
|
|
24
23
|
languageOptions: {
|
|
25
24
|
globals: {
|
|
26
25
|
...globals_1.default.browser,
|
|
@@ -37,7 +37,7 @@ exports.default = typescript_eslint_1.default.config(js_1.default.configs.recomm
|
|
|
37
37
|
* previously defined v5 of `@typescript-eslint`. v6 of `@typescript-eslint`
|
|
38
38
|
* changed how configurations are defined.
|
|
39
39
|
*
|
|
40
|
-
* TODO(
|
|
40
|
+
* TODO(eslint): re-evalute these deviations from @typescript-eslint/recommended in v20 of Nx
|
|
41
41
|
*/
|
|
42
42
|
'@typescript-eslint/no-non-null-assertion': 'warn',
|
|
43
43
|
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
|
@@ -52,7 +52,7 @@ exports.default = typescript_eslint_1.default.config(js_1.default.configs.recomm
|
|
|
52
52
|
* During the migration to use ESLint v9 and typescript-eslint v8 for new workspaces,
|
|
53
53
|
* this rule would have created a lot of noise, so we are disabling it by default for now.
|
|
54
54
|
*
|
|
55
|
-
* TODO(
|
|
55
|
+
* TODO(eslint): we should make this part of what we re-evaluate in v20
|
|
56
56
|
*/
|
|
57
57
|
'@typescript-eslint/no-require-imports': 'off',
|
|
58
58
|
},
|