@eslint-react/eslint-plugin 3.0.0-next.19 → 3.0.0-next.20

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -6
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@ var __exportAll = (all, no_symbols) => {
24
24
  //#endregion
25
25
  //#region package.json
26
26
  var name$19 = "@eslint-react/eslint-plugin";
27
- var version = "3.0.0-next.19";
27
+ var version = "3.0.0-next.20";
28
28
 
29
29
  //#endregion
30
30
  //#region src/configs/dom.ts
@@ -95,6 +95,8 @@ const rules$17 = {
95
95
  "@eslint-react/no-direct-mutation-state": "error",
96
96
  "@eslint-react/no-forward-ref": "warn",
97
97
  "@eslint-react/no-missing-key": "error",
98
+ "@eslint-react/use-memo": "error",
99
+ "@eslint-react/use-state": "warn",
98
100
  "@eslint-react/no-nested-component-definitions": "error",
99
101
  "@eslint-react/no-nested-lazy-component-declarations": "error",
100
102
  "@eslint-react/no-redundant-should-component-update": "error",
@@ -108,7 +110,6 @@ const rules$17 = {
108
110
  "@eslint-react/no-unused-class-component-members": "warn",
109
111
  "@eslint-react/no-use-context": "warn",
110
112
  "@eslint-react/no-useless-forward-ref": "warn",
111
- "@eslint-react/prefer-use-state-lazy-initialization": "warn",
112
113
  "@eslint-react/purity": "warn",
113
114
  "@eslint-react/rules-of-hooks": "error",
114
115
  "@eslint-react/set-state-in-effect": "warn",
@@ -161,6 +162,8 @@ const rules$16 = {
161
162
  "@eslint-react/no-missing-component-display-name": "warn",
162
163
  "@eslint-react/no-missing-context-display-name": "warn",
163
164
  "@eslint-react/no-missing-key": "error",
165
+ "@eslint-react/use-memo": "error",
166
+ "@eslint-react/use-state": "warn",
164
167
  "@eslint-react/no-misused-capture-owner-stack": "error",
165
168
  "@eslint-react/no-nested-component-definitions": "error",
166
169
  "@eslint-react/no-nested-lazy-component-declarations": "error",
@@ -183,7 +186,6 @@ const rules$16 = {
183
186
  "@eslint-react/no-useless-fragment": "warn",
184
187
  "@eslint-react/prefer-destructuring-assignment": "warn",
185
188
  "@eslint-react/prefer-namespace-import": "warn",
186
- "@eslint-react/prefer-use-state-lazy-initialization": "warn",
187
189
  "@eslint-react/purity": "warn",
188
190
  "@eslint-react/refs": "error",
189
191
  "@eslint-react/rules-of-hooks": "error",
@@ -216,8 +218,7 @@ const rules$16 = {
216
218
  "@eslint-react/naming-convention/component-name": "warn",
217
219
  "@eslint-react/naming-convention/context-name": "warn",
218
220
  "@eslint-react/naming-convention/id-name": "warn",
219
- "@eslint-react/naming-convention/ref-name": "warn",
220
- "@eslint-react/naming-convention/use-state": "warn"
221
+ "@eslint-react/naming-convention/ref-name": "warn"
221
222
  };
222
223
  const plugins$8 = {
223
224
  ...plugins$9,
@@ -420,7 +421,7 @@ const rules$6 = {
420
421
  "@eslint-react/naming-convention/context-name": "warn",
421
422
  "@eslint-react/naming-convention/id-name": "warn",
422
423
  "@eslint-react/naming-convention/ref-name": "warn",
423
- "@eslint-react/naming-convention/use-state": "warn"
424
+ "@eslint-react/use-state": "warn"
424
425
  };
425
426
  const plugins$5 = {
426
427
  ...plugins$9,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/eslint-plugin",
3
- "version": "3.0.0-next.19",
3
+ "version": "3.0.0-next.20",
4
4
  "description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
5
5
  "keywords": [
6
6
  "react",
@@ -46,13 +46,13 @@
46
46
  "@typescript-eslint/types": "canary",
47
47
  "@typescript-eslint/utils": "canary",
48
48
  "ts-api-utils": "^2.4.0",
49
- "@eslint-react/eff": "3.0.0-next.19",
50
- "eslint-plugin-react-dom": "3.0.0-next.19",
51
- "eslint-plugin-react-naming-convention": "3.0.0-next.19",
52
- "@eslint-react/shared": "3.0.0-next.19",
53
- "eslint-plugin-react-rsc": "3.0.0-next.19",
54
- "eslint-plugin-react-web-api": "3.0.0-next.19",
55
- "eslint-plugin-react-x": "3.0.0-next.19"
49
+ "@eslint-react/eff": "3.0.0-next.20",
50
+ "@eslint-react/shared": "3.0.0-next.20",
51
+ "eslint-plugin-react-dom": "3.0.0-next.20",
52
+ "eslint-plugin-react-naming-convention": "3.0.0-next.20",
53
+ "eslint-plugin-react-rsc": "3.0.0-next.20",
54
+ "eslint-plugin-react-web-api": "3.0.0-next.20",
55
+ "eslint-plugin-react-x": "3.0.0-next.20"
56
56
  },
57
57
  "devDependencies": {
58
58
  "tsdown": "^0.20.3",