@eslint-react/eslint-plugin 5.0.0-next.0 → 5.0.1-beta.1
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/dist/index.js +1 -13
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -110,8 +110,6 @@ const rules$20 = {
|
|
|
110
110
|
"@eslint-react/no-set-state-in-component-did-mount": "warn",
|
|
111
111
|
"@eslint-react/no-set-state-in-component-did-update": "warn",
|
|
112
112
|
"@eslint-react/no-set-state-in-component-will-update": "warn",
|
|
113
|
-
"@eslint-react/no-unnecessary-use-callback": "warn",
|
|
114
|
-
"@eslint-react/no-unnecessary-use-memo": "warn",
|
|
115
113
|
"@eslint-react/no-unnecessary-use-prefix": "warn",
|
|
116
114
|
"@eslint-react/no-unsafe-component-will-mount": "warn",
|
|
117
115
|
"@eslint-react/no-unsafe-component-will-receive-props": "warn",
|
|
@@ -119,10 +117,7 @@ const rules$20 = {
|
|
|
119
117
|
"@eslint-react/no-unstable-context-value": "warn",
|
|
120
118
|
"@eslint-react/no-unstable-default-props": "warn",
|
|
121
119
|
"@eslint-react/no-unused-class-component-members": "warn",
|
|
122
|
-
"@eslint-react/no-unused-state": "warn",
|
|
123
120
|
"@eslint-react/no-use-context": "warn",
|
|
124
|
-
"@eslint-react/prefer-destructuring-assignment": "warn",
|
|
125
|
-
"@eslint-react/prefer-namespace-import": "warn",
|
|
126
121
|
"@eslint-react/purity": "warn",
|
|
127
122
|
"@eslint-react/refs": "error",
|
|
128
123
|
"@eslint-react/rules-of-hooks": "error",
|
|
@@ -156,7 +151,6 @@ const rules$20 = {
|
|
|
156
151
|
"@eslint-react/dom-no-unsafe-target-blank": "warn",
|
|
157
152
|
"@eslint-react/dom-no-use-form-state": "warn",
|
|
158
153
|
"@eslint-react/dom-no-void-elements-with-children": "error",
|
|
159
|
-
"@eslint-react/dom-prefer-namespace-import": "warn",
|
|
160
154
|
"@eslint-react/web-api-no-leaked-event-listener": "warn",
|
|
161
155
|
"@eslint-react/web-api-no-leaked-interval": "warn",
|
|
162
156
|
"@eslint-react/web-api-no-leaked-resize-observer": "warn",
|
|
@@ -229,8 +223,6 @@ const rules$15 = {
|
|
|
229
223
|
"@eslint-react/no-implicit-key": "off",
|
|
230
224
|
"@eslint-react/no-implicit-ref": "off",
|
|
231
225
|
"@eslint-react/no-misused-capture-owner-stack": "off",
|
|
232
|
-
"@eslint-react/no-unnecessary-use-callback": "off",
|
|
233
|
-
"@eslint-react/no-unnecessary-use-memo": "off",
|
|
234
226
|
"@eslint-react/no-unused-props": "off",
|
|
235
227
|
"@eslint-react/refs": "off",
|
|
236
228
|
"@eslint-react/set-state-in-render": "off",
|
|
@@ -405,12 +397,8 @@ const rules$2 = {
|
|
|
405
397
|
...rules$6,
|
|
406
398
|
"@eslint-react/no-class-component": "error",
|
|
407
399
|
"@eslint-react/no-misused-capture-owner-stack": "error",
|
|
408
|
-
"@eslint-react/no-unnecessary-use-callback": "warn",
|
|
409
|
-
"@eslint-react/no-unnecessary-use-memo": "warn",
|
|
410
400
|
"@eslint-react/no-unstable-context-value": "warn",
|
|
411
401
|
"@eslint-react/no-unstable-default-props": "warn",
|
|
412
|
-
"@eslint-react/no-unused-state": "warn",
|
|
413
|
-
"@eslint-react/prefer-destructuring-assignment": "warn",
|
|
414
402
|
"@eslint-react/jsx-no-children-prop": "error",
|
|
415
403
|
"@eslint-react/jsx-no-useless-fragment": "warn",
|
|
416
404
|
"@eslint-react/dom-no-missing-button-type": "warn",
|
|
@@ -451,7 +439,7 @@ const settings = { ...settings$1 };
|
|
|
451
439
|
//#endregion
|
|
452
440
|
//#region package.json
|
|
453
441
|
var name = "@eslint-react/eslint-plugin";
|
|
454
|
-
var version = "5.0.
|
|
442
|
+
var version = "5.0.1-beta.1";
|
|
455
443
|
|
|
456
444
|
//#endregion
|
|
457
445
|
//#region src/utils/type-of.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1-beta.1",
|
|
4
4
|
"description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"@typescript-eslint/types": "^8.58.0",
|
|
48
48
|
"@typescript-eslint/utils": "^8.58.0",
|
|
49
49
|
"ts-api-utils": "^2.5.0",
|
|
50
|
-
"
|
|
51
|
-
"eslint-
|
|
52
|
-
"eslint-plugin-react-jsx": "5.0.
|
|
53
|
-
"eslint-plugin-react-naming-convention": "5.0.
|
|
54
|
-
"eslint-plugin-react-
|
|
55
|
-
"eslint-plugin-react-
|
|
56
|
-
"eslint-plugin-react-x": "5.0.
|
|
50
|
+
"eslint-plugin-react-dom": "5.0.1-beta.1",
|
|
51
|
+
"@eslint-react/shared": "5.0.1-beta.1",
|
|
52
|
+
"eslint-plugin-react-jsx": "5.0.1-beta.1",
|
|
53
|
+
"eslint-plugin-react-naming-convention": "5.0.1-beta.1",
|
|
54
|
+
"eslint-plugin-react-web-api": "5.0.1-beta.1",
|
|
55
|
+
"eslint-plugin-react-rsc": "5.0.1-beta.1",
|
|
56
|
+
"eslint-plugin-react-x": "5.0.1-beta.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"tsdown": "^0.21.7",
|