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

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 +6 -6
  2. package/package.json +9 -9
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.20";
27
+ var version = "3.0.0-next.24";
28
28
 
29
29
  //#endregion
30
30
  //#region src/configs/dom.ts
@@ -95,8 +95,6 @@ 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",
100
98
  "@eslint-react/no-nested-component-definitions": "error",
101
99
  "@eslint-react/no-nested-lazy-component-declarations": "error",
102
100
  "@eslint-react/no-redundant-should-component-update": "error",
@@ -114,7 +112,9 @@ const rules$17 = {
114
112
  "@eslint-react/rules-of-hooks": "error",
115
113
  "@eslint-react/set-state-in-effect": "warn",
116
114
  "@eslint-react/set-state-in-render": "error",
117
- "@eslint-react/unsupported-syntax": "error"
115
+ "@eslint-react/unsupported-syntax": "error",
116
+ "@eslint-react/use-memo": "error",
117
+ "@eslint-react/use-state": "warn"
118
118
  };
119
119
  const plugins$9 = { "@eslint-react": react };
120
120
  const settings$8 = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
@@ -162,8 +162,6 @@ const rules$16 = {
162
162
  "@eslint-react/no-missing-component-display-name": "warn",
163
163
  "@eslint-react/no-missing-context-display-name": "warn",
164
164
  "@eslint-react/no-missing-key": "error",
165
- "@eslint-react/use-memo": "error",
166
- "@eslint-react/use-state": "warn",
167
165
  "@eslint-react/no-misused-capture-owner-stack": "error",
168
166
  "@eslint-react/no-nested-component-definitions": "error",
169
167
  "@eslint-react/no-nested-lazy-component-declarations": "error",
@@ -192,6 +190,8 @@ const rules$16 = {
192
190
  "@eslint-react/set-state-in-effect": "warn",
193
191
  "@eslint-react/set-state-in-render": "error",
194
192
  "@eslint-react/unsupported-syntax": "error",
193
+ "@eslint-react/use-memo": "error",
194
+ "@eslint-react/use-state": "warn",
195
195
  "@eslint-react/dom/no-dangerously-set-innerhtml": "warn",
196
196
  "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error",
197
197
  "@eslint-react/dom/no-find-dom-node": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/eslint-plugin",
3
- "version": "3.0.0-next.20",
3
+ "version": "3.0.0-next.24",
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.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"
49
+ "@eslint-react/eff": "3.0.0-next.24",
50
+ "eslint-plugin-react-dom": "3.0.0-next.24",
51
+ "@eslint-react/shared": "3.0.0-next.24",
52
+ "eslint-plugin-react-naming-convention": "3.0.0-next.24",
53
+ "eslint-plugin-react-rsc": "3.0.0-next.24",
54
+ "eslint-plugin-react-web-api": "3.0.0-next.24",
55
+ "eslint-plugin-react-x": "3.0.0-next.24"
56
56
  },
57
57
  "devDependencies": {
58
58
  "tsdown": "^0.20.3",
@@ -71,6 +71,6 @@
71
71
  "scripts": {
72
72
  "build": "tsdown",
73
73
  "lint:publish": "pnpm publint",
74
- "lint:ts": "tsc --noEmit"
74
+ "lint:ts": "tsl"
75
75
  }
76
76
  }