@eslint-react/eslint-plugin 1.38.2 → 1.38.3-beta.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/README.md +1 -1
- package/dist/index.js +5 -5
- package/dist/index.mjs +4 -4
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ More than 80 high-quality linting rules to identify possible problems in your Re
|
|
|
26
26
|
|
|
27
27
|
### All-In-One
|
|
28
28
|
|
|
29
|
-
- [`@eslint-react/eslint-plugin`](https://
|
|
29
|
+
- [`@eslint-react/eslint-plugin`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin) - Main plugin combining all rules and presets from the above packages.
|
|
30
30
|
|
|
31
31
|
## Installation
|
|
32
32
|
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var reactDom = require('eslint-plugin-react-dom');
|
|
|
5
5
|
var reactHooksExtra = require('eslint-plugin-react-hooks-extra');
|
|
6
6
|
var reactNamingConvention = require('eslint-plugin-react-naming-convention');
|
|
7
7
|
var reactWebApi = require('eslint-plugin-react-web-api');
|
|
8
|
-
var
|
|
8
|
+
var react = require('eslint-plugin-react-x');
|
|
9
9
|
var shared = require('@eslint-react/shared');
|
|
10
10
|
|
|
11
11
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -15,7 +15,7 @@ var reactDom__default = /*#__PURE__*/_interopDefault(reactDom);
|
|
|
15
15
|
var reactHooksExtra__default = /*#__PURE__*/_interopDefault(reactHooksExtra);
|
|
16
16
|
var reactNamingConvention__default = /*#__PURE__*/_interopDefault(reactNamingConvention);
|
|
17
17
|
var reactWebApi__default = /*#__PURE__*/_interopDefault(reactWebApi);
|
|
18
|
-
var
|
|
18
|
+
var react__default = /*#__PURE__*/_interopDefault(react);
|
|
19
19
|
|
|
20
20
|
var __defProp = Object.defineProperty;
|
|
21
21
|
var __export = (target, all) => {
|
|
@@ -25,7 +25,7 @@ var __export = (target, all) => {
|
|
|
25
25
|
|
|
26
26
|
// package.json
|
|
27
27
|
var name = "@eslint-react/eslint-plugin";
|
|
28
|
-
var version = "1.38.
|
|
28
|
+
var version = "1.38.3-beta.0";
|
|
29
29
|
|
|
30
30
|
// src/configs/all.ts
|
|
31
31
|
var all_exports = {};
|
|
@@ -87,7 +87,7 @@ var rules = {
|
|
|
87
87
|
"@eslint-react/no-useless-fragment": "warn"
|
|
88
88
|
};
|
|
89
89
|
var plugins = {
|
|
90
|
-
"@eslint-react":
|
|
90
|
+
"@eslint-react": react__default.default
|
|
91
91
|
};
|
|
92
92
|
var settings = {
|
|
93
93
|
"react-x": shared.DEFAULT_ESLINT_REACT_SETTINGS
|
|
@@ -443,7 +443,7 @@ var index_default = {
|
|
|
443
443
|
["off-dom-legacy"]: toLegacyConfig(disable_dom_exports)
|
|
444
444
|
},
|
|
445
445
|
rules: {
|
|
446
|
-
...
|
|
446
|
+
...react__default.default.rules,
|
|
447
447
|
...padKeysLeft(reactDom__default.default.rules, "dom/"),
|
|
448
448
|
...padKeysLeft(reactWebApi__default.default.rules, "web-api/"),
|
|
449
449
|
...padKeysLeft(reactHooksExtra__default.default.rules, "hooks-extra/"),
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import reactDom from 'eslint-plugin-react-dom';
|
|
|
3
3
|
import reactHooksExtra from 'eslint-plugin-react-hooks-extra';
|
|
4
4
|
import reactNamingConvention from 'eslint-plugin-react-naming-convention';
|
|
5
5
|
import reactWebApi from 'eslint-plugin-react-web-api';
|
|
6
|
-
import
|
|
6
|
+
import react from 'eslint-plugin-react-x';
|
|
7
7
|
import { DEFAULT_ESLINT_REACT_SETTINGS } from '@eslint-react/shared';
|
|
8
8
|
|
|
9
9
|
var __defProp = Object.defineProperty;
|
|
@@ -14,7 +14,7 @@ var __export = (target, all) => {
|
|
|
14
14
|
|
|
15
15
|
// package.json
|
|
16
16
|
var name = "@eslint-react/eslint-plugin";
|
|
17
|
-
var version = "1.38.
|
|
17
|
+
var version = "1.38.3-beta.0";
|
|
18
18
|
|
|
19
19
|
// src/configs/all.ts
|
|
20
20
|
var all_exports = {};
|
|
@@ -76,7 +76,7 @@ var rules = {
|
|
|
76
76
|
"@eslint-react/no-useless-fragment": "warn"
|
|
77
77
|
};
|
|
78
78
|
var plugins = {
|
|
79
|
-
"@eslint-react":
|
|
79
|
+
"@eslint-react": react
|
|
80
80
|
};
|
|
81
81
|
var settings = {
|
|
82
82
|
"react-x": DEFAULT_ESLINT_REACT_SETTINGS
|
|
@@ -432,7 +432,7 @@ var index_default = {
|
|
|
432
432
|
["off-dom-legacy"]: toLegacyConfig(disable_dom_exports)
|
|
433
433
|
},
|
|
434
434
|
rules: {
|
|
435
|
-
...
|
|
435
|
+
...react.rules,
|
|
436
436
|
...padKeysLeft(reactDom.rules, "dom/"),
|
|
437
437
|
...padKeysLeft(reactWebApi.rules, "web-api/"),
|
|
438
438
|
...padKeysLeft(reactHooksExtra.rules, "hooks-extra/"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.38.
|
|
3
|
+
"version": "1.38.3-beta.0",
|
|
4
4
|
"description": "More than 80 high-quality linting rules to identify possible problems in your React 19 code.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"@typescript-eslint/type-utils": "^8.28.0",
|
|
51
51
|
"@typescript-eslint/types": "^8.28.0",
|
|
52
52
|
"@typescript-eslint/utils": "^8.28.0",
|
|
53
|
-
"@eslint-react/
|
|
54
|
-
"@eslint-react/
|
|
55
|
-
"@eslint-react/shared": "1.38.
|
|
56
|
-
"eslint-plugin-react-
|
|
57
|
-
"eslint-plugin-react-
|
|
58
|
-
"eslint-plugin-react-naming-convention": "1.38.
|
|
59
|
-
"eslint-plugin-react-
|
|
60
|
-
"eslint-plugin-react-web-api": "1.38.
|
|
61
|
-
"eslint-plugin-react-x": "1.38.
|
|
53
|
+
"@eslint-react/kit": "1.38.3-beta.0",
|
|
54
|
+
"@eslint-react/eff": "1.38.3-beta.0",
|
|
55
|
+
"@eslint-react/shared": "1.38.3-beta.0",
|
|
56
|
+
"eslint-plugin-react-debug": "1.38.3-beta.0",
|
|
57
|
+
"eslint-plugin-react-dom": "1.38.3-beta.0",
|
|
58
|
+
"eslint-plugin-react-naming-convention": "1.38.3-beta.0",
|
|
59
|
+
"eslint-plugin-react-hooks-extra": "1.38.3-beta.0",
|
|
60
|
+
"eslint-plugin-react-web-api": "1.38.3-beta.0",
|
|
61
|
+
"eslint-plugin-react-x": "1.38.3-beta.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"tsup": "^8.4.0",
|