@eslint-react/eslint-plugin 5.3.2-next.1 → 5.3.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 -5
- package/dist/index.js +5 -4
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -133,8 +133,6 @@ export default defineConfig(
|
|
|
133
133
|
Enable rules for React DOM.
|
|
134
134
|
- `web-api`\
|
|
135
135
|
Enable rules for interacting with Web APIs.
|
|
136
|
-
- `naming-convention`\
|
|
137
|
-
Enable rules for naming conventions.
|
|
138
136
|
|
|
139
137
|
### General Purpose
|
|
140
138
|
|
|
@@ -169,8 +167,6 @@ export default defineConfig(
|
|
|
169
167
|
Disable rules in the `dom` preset.
|
|
170
168
|
- `disable-web-api`\
|
|
171
169
|
Disable rules in the `web-api` preset.
|
|
172
|
-
- `disable-naming-convention`\
|
|
173
|
-
Disable rules in the `naming-convention` preset.
|
|
174
170
|
- `disable-experimental`\
|
|
175
171
|
Disable rules that have an "🧪 Experimental" feature flag.
|
|
176
172
|
- `disable-type-checked`\
|
|
@@ -216,7 +212,7 @@ This project is, and will remain, 90% of its code written by humans.
|
|
|
216
212
|
A huge thank you to our amazing sponsors who make this project possible.
|
|
217
213
|
|
|
218
214
|
<p align="center">
|
|
219
|
-
<a href="
|
|
215
|
+
<a href="https://ko-fi.com/Rel1cx">
|
|
220
216
|
<img src="https://eslint-react.xyz/sponsors.svg" alt="sponsors" />
|
|
221
217
|
</a>
|
|
222
218
|
</p>
|
package/dist/index.js
CHANGED
|
@@ -83,6 +83,7 @@ const rules$22 = {
|
|
|
83
83
|
"@eslint-react/component-hook-factories": "error",
|
|
84
84
|
"@eslint-react/error-boundaries": "error",
|
|
85
85
|
"@eslint-react/exhaustive-deps": "warn",
|
|
86
|
+
"@eslint-react/globals": "warn",
|
|
86
87
|
"@eslint-react/immutability": "error",
|
|
87
88
|
"@eslint-react/no-access-state-in-setstate": "error",
|
|
88
89
|
"@eslint-react/no-array-index-key": "warn",
|
|
@@ -152,9 +153,9 @@ const rules$22 = {
|
|
|
152
153
|
"@eslint-react/dom-no-use-form-state": "warn",
|
|
153
154
|
"@eslint-react/dom-no-void-elements-with-children": "error",
|
|
154
155
|
"@eslint-react/web-api-no-leaked-event-listener": "warn",
|
|
156
|
+
"@eslint-react/web-api-no-leaked-fetch": "warn",
|
|
155
157
|
"@eslint-react/web-api-no-leaked-interval": "warn",
|
|
156
158
|
"@eslint-react/web-api-no-leaked-resize-observer": "warn",
|
|
157
|
-
"@eslint-react/web-api-no-leaked-fetch": "warn",
|
|
158
159
|
"@eslint-react/web-api-no-leaked-timeout": "warn",
|
|
159
160
|
"@eslint-react/naming-convention-context-name": "warn",
|
|
160
161
|
"@eslint-react/naming-convention-id-name": "warn",
|
|
@@ -228,8 +229,6 @@ const rules$17 = {
|
|
|
228
229
|
"@eslint-react/no-unused-props": "off",
|
|
229
230
|
"@eslint-react/refs": "off",
|
|
230
231
|
"@eslint-react/set-state-in-render": "off",
|
|
231
|
-
"@eslint-react/jsx-no-key-after-spread": "off",
|
|
232
|
-
"@eslint-react/jsx-no-namespace": "off",
|
|
233
232
|
"@eslint-react/rsc-function-definition": "off",
|
|
234
233
|
"@eslint-react/web-api-no-leaked-fetch": "off"
|
|
235
234
|
};
|
|
@@ -246,6 +245,7 @@ const rules$16 = {
|
|
|
246
245
|
"@eslint-react/jsx-no-children-prop-with-children": "error",
|
|
247
246
|
"@eslint-react/jsx-no-comment-textnodes": "warn",
|
|
248
247
|
"@eslint-react/jsx-no-key-after-spread": "error",
|
|
248
|
+
"@eslint-react/jsx-no-leaked-dollar": "warn",
|
|
249
249
|
"@eslint-react/jsx-no-leaked-semicolon": "warn",
|
|
250
250
|
"@eslint-react/jsx-no-namespace": "error"
|
|
251
251
|
};
|
|
@@ -324,6 +324,7 @@ var web_api_exports = /* @__PURE__ */ __exportAll({
|
|
|
324
324
|
const name$9 = "@eslint-react/web-api";
|
|
325
325
|
const rules$9 = {
|
|
326
326
|
"@eslint-react/web-api-no-leaked-event-listener": "warn",
|
|
327
|
+
"@eslint-react/web-api-no-leaked-fetch": "warn",
|
|
327
328
|
"@eslint-react/web-api-no-leaked-interval": "warn",
|
|
328
329
|
"@eslint-react/web-api-no-leaked-resize-observer": "warn",
|
|
329
330
|
"@eslint-react/web-api-no-leaked-timeout": "warn"
|
|
@@ -461,7 +462,7 @@ const settings = { ...settings$1 };
|
|
|
461
462
|
//#endregion
|
|
462
463
|
//#region package.json
|
|
463
464
|
var name = "@eslint-react/eslint-plugin";
|
|
464
|
-
var version = "5.3.
|
|
465
|
+
var version = "5.3.3-beta.0";
|
|
465
466
|
|
|
466
467
|
//#endregion
|
|
467
468
|
//#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.3.
|
|
3
|
+
"version": "5.3.3-beta.0",
|
|
4
4
|
"description": "The all-in-one, blazing fast ESLint plugin for React. Get complete, out-of-the-box rule coverage with instant feedback.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
"@typescript-eslint/types": "^8.58.2",
|
|
49
49
|
"@typescript-eslint/utils": "^8.58.2",
|
|
50
50
|
"ts-api-utils": "^2.5.0",
|
|
51
|
-
"@eslint-react/eslint": "5.3.
|
|
52
|
-
"@eslint-react/shared": "5.3.
|
|
53
|
-
"eslint-plugin-react-
|
|
54
|
-
"eslint-plugin-react-
|
|
55
|
-
"eslint-plugin-react-naming-convention": "5.3.
|
|
56
|
-
"eslint-plugin-react-rsc": "5.3.
|
|
57
|
-
"eslint-plugin-react-
|
|
58
|
-
"eslint-plugin-react-
|
|
51
|
+
"@eslint-react/eslint": "5.3.3-beta.0",
|
|
52
|
+
"@eslint-react/shared": "5.3.3-beta.0",
|
|
53
|
+
"eslint-plugin-react-jsx": "5.3.3-beta.0",
|
|
54
|
+
"eslint-plugin-react-dom": "5.3.3-beta.0",
|
|
55
|
+
"eslint-plugin-react-naming-convention": "5.3.3-beta.0",
|
|
56
|
+
"eslint-plugin-react-rsc": "5.3.3-beta.0",
|
|
57
|
+
"eslint-plugin-react-web-api": "5.3.3-beta.0",
|
|
58
|
+
"eslint-plugin-react-x": "5.3.3-beta.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"tsdown": "^0.21.9",
|