@nx/eslint-plugin 19.0.0-beta.3 → 19.0.0-beta.5
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/eslint-plugin",
|
|
3
|
-
"version": "19.0.0-beta.
|
|
3
|
+
"version": "19.0.0-beta.5",
|
|
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": "19.0.0-beta.
|
|
37
|
-
"@nx/js": "19.0.0-beta.
|
|
36
|
+
"@nx/devkit": "19.0.0-beta.5",
|
|
37
|
+
"@nx/js": "19.0.0-beta.5",
|
|
38
38
|
"@typescript-eslint/type-utils": "^7.3.0",
|
|
39
39
|
"@typescript-eslint/utils": "^7.3.0",
|
|
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": "19.0.0-beta.
|
|
45
|
+
"@nrwl/eslint-plugin-nx": "19.0.0-beta.5"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This configuration is intended to be applied to ALL files within a React
|
|
3
|
+
* project in an Nx workspace.
|
|
4
|
+
*
|
|
5
|
+
* It should therefore NOT contain any rules or plugins which are specific
|
|
6
|
+
* to one particular variant, e.g. TypeScript vs JavaScript, .js vs .jsx etc
|
|
7
|
+
*
|
|
8
|
+
* This configuration is intended to be combined with other configs from this
|
|
9
|
+
* package.
|
|
10
|
+
*/
|
|
1
11
|
/**
|
|
2
12
|
* Rule set originally adapted from:
|
|
3
13
|
* https://github.com/facebook/create-react-app/blob/567f36c9235f1e1fd4a76dc6d1ae00be754ca047/packages/eslint-config-react-app/index.js
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
2
|
/**
|
|
5
3
|
* This configuration is intended to be applied to ALL files within a React
|
|
6
4
|
* project in an Nx workspace.
|
|
@@ -11,7 +9,7 @@ const tslib_1 = require("tslib");
|
|
|
11
9
|
* This configuration is intended to be combined with other configs from this
|
|
12
10
|
* package.
|
|
13
11
|
*/
|
|
14
|
-
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
13
|
/**
|
|
16
14
|
* Rule set originally adapted from:
|
|
17
15
|
* https://github.com/facebook/create-react-app/blob/567f36c9235f1e1fd4a76dc6d1ae00be754ca047/packages/eslint-config-react-app/index.js
|
|
@@ -92,7 +90,7 @@ exports.default = {
|
|
|
92
90
|
'no-template-curly-in-string': 'warn',
|
|
93
91
|
'no-this-before-super': 'warn',
|
|
94
92
|
'no-throw-literal': 'warn',
|
|
95
|
-
'no-restricted-globals': ['error'].concat(
|
|
93
|
+
'no-restricted-globals': ['error'].concat(require('confusing-browser-globals')),
|
|
96
94
|
'no-unexpected-multiline': 'warn',
|
|
97
95
|
'no-unreachable': 'warn',
|
|
98
96
|
'no-unused-expressions': 'off',
|