@eslint-react/eslint-plugin 2.10.2-beta.0 → 2.11.0-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 +7 -7
- package/dist/index.js +4 -2
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -123,19 +123,19 @@ export default defineConfig(
|
|
|
123
123
|
### Bare Bones
|
|
124
124
|
|
|
125
125
|
- `x`\
|
|
126
|
-
Enable rules for
|
|
126
|
+
Enable rules for React.
|
|
127
|
+
- `rsc`\
|
|
128
|
+
Enable rules for React Server Components.
|
|
127
129
|
- `dom`\
|
|
128
|
-
Enable rules for
|
|
130
|
+
Enable rules for React DOM.
|
|
129
131
|
- `web-api`\
|
|
130
132
|
Enable rules for interacting with Web APIs.
|
|
131
|
-
- `rsc`\
|
|
132
|
-
- Enable rules for React Server Components.
|
|
133
133
|
|
|
134
134
|
### General Purpose
|
|
135
135
|
|
|
136
136
|
- `recommended`\
|
|
137
137
|
Enforce rules that are recommended by ESLint React for general-purpose React + React DOM projects.\
|
|
138
|
-
_This preset includes the `x`, `dom`, and `web-api` presets._
|
|
138
|
+
_This preset includes the `x`, `rsc`, `dom`, and `web-api` presets._
|
|
139
139
|
|
|
140
140
|
- `strict`\
|
|
141
141
|
Same as the `recommended` preset but enables additional strict rules.
|
|
@@ -167,12 +167,12 @@ export default defineConfig(
|
|
|
167
167
|
|
|
168
168
|
### Other
|
|
169
169
|
|
|
170
|
+
- `disable-rsc`\
|
|
171
|
+
Disable rules in the `rsc` preset.
|
|
170
172
|
- `disable-dom`\
|
|
171
173
|
Disable rules in the `dom` preset.
|
|
172
174
|
- `disable-web-api`\
|
|
173
175
|
Disable rules in the `web-api` preset.
|
|
174
|
-
- `disable-rsc`\
|
|
175
|
-
Disable rules in the `rsc` preset.
|
|
176
176
|
- `disable-experimental`\
|
|
177
177
|
Disable rules that have an "🧪 Experimental" feature flag.
|
|
178
178
|
- `disable-type-checked`\
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region package.json
|
|
27
27
|
var name$19 = "@eslint-react/eslint-plugin";
|
|
28
|
-
var version = "2.
|
|
28
|
+
var version = "2.11.0-beta.0";
|
|
29
29
|
|
|
30
30
|
//#endregion
|
|
31
31
|
//#region src/configs/dom.ts
|
|
@@ -215,8 +215,8 @@ const rules$16 = {
|
|
|
215
215
|
};
|
|
216
216
|
const plugins$8 = {
|
|
217
217
|
...plugins$9,
|
|
218
|
-
...plugins$11,
|
|
219
218
|
...plugins$10,
|
|
219
|
+
...plugins$11,
|
|
220
220
|
"@eslint-react/hooks-extra": reactHooksExtra,
|
|
221
221
|
"@eslint-react/naming-convention": reactNamingConvention,
|
|
222
222
|
"@eslint-react/web-api": reactWebApi
|
|
@@ -408,6 +408,7 @@ var recommended_exports = /* @__PURE__ */ __exportAll({
|
|
|
408
408
|
const name$5 = "@eslint-react/recommended";
|
|
409
409
|
const rules$6 = {
|
|
410
410
|
...rules$17,
|
|
411
|
+
...rules$18,
|
|
411
412
|
...rules$19,
|
|
412
413
|
...rules$10,
|
|
413
414
|
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn",
|
|
@@ -417,6 +418,7 @@ const rules$6 = {
|
|
|
417
418
|
};
|
|
418
419
|
const plugins$5 = {
|
|
419
420
|
...plugins$9,
|
|
421
|
+
...plugins$10,
|
|
420
422
|
...plugins$11,
|
|
421
423
|
...plugins$7,
|
|
422
424
|
"@eslint-react/hooks-extra": reactHooksExtra,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0-beta.0",
|
|
4
4
|
"description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"@typescript-eslint/types": "^8.54.0",
|
|
46
46
|
"@typescript-eslint/utils": "^8.54.0",
|
|
47
47
|
"ts-api-utils": "^2.4.0",
|
|
48
|
-
"@eslint-react/eff": "2.
|
|
49
|
-
"@eslint-react/shared": "2.
|
|
50
|
-
"eslint-plugin-react-hooks-extra": "2.
|
|
51
|
-
"eslint-plugin-react-dom": "2.
|
|
52
|
-
"eslint-plugin-react-
|
|
53
|
-
"eslint-plugin-react-web-api": "2.
|
|
54
|
-
"eslint-plugin-react-
|
|
55
|
-
"eslint-plugin-react-
|
|
48
|
+
"@eslint-react/eff": "2.11.0-beta.0",
|
|
49
|
+
"@eslint-react/shared": "2.11.0-beta.0",
|
|
50
|
+
"eslint-plugin-react-hooks-extra": "2.11.0-beta.0",
|
|
51
|
+
"eslint-plugin-react-dom": "2.11.0-beta.0",
|
|
52
|
+
"eslint-plugin-react-rsc": "2.11.0-beta.0",
|
|
53
|
+
"eslint-plugin-react-web-api": "2.11.0-beta.0",
|
|
54
|
+
"eslint-plugin-react-naming-convention": "2.11.0-beta.0",
|
|
55
|
+
"eslint-plugin-react-x": "2.11.0-beta.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"tsdown": "^0.20.3",
|