@eslint-react/eslint-plugin 1.42.2-next.2 → 1.42.2-next.3
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 +17 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -82,27 +82,38 @@ export default tseslint.config({
|
|
|
82
82
|
|
|
83
83
|
### Bare Bones
|
|
84
84
|
|
|
85
|
-
-
|
|
85
|
+
- `x`\
|
|
86
86
|
Enable rules for `"react"`.
|
|
87
|
-
-
|
|
87
|
+
- `dom`\
|
|
88
88
|
Enable rules for `"react-dom"`.
|
|
89
|
-
-
|
|
89
|
+
- `web-api`\
|
|
90
90
|
Enable rules for interacting with Web APIs.
|
|
91
91
|
|
|
92
92
|
### General Purpose
|
|
93
93
|
|
|
94
|
-
-
|
|
94
|
+
- `recommended`\
|
|
95
95
|
Enforce rules that are recommended by ESLint React for general purpose React + React DOM projects.\
|
|
96
96
|
_This preset includes the `x`, `dom`, and `web-api` presets._
|
|
97
97
|
|
|
98
98
|
### TypeScript Specialized
|
|
99
99
|
|
|
100
|
-
-
|
|
100
|
+
- `recommended-typescript`\
|
|
101
101
|
Same as the `recommended` preset but disables rules that can be enforced by TypeScript.
|
|
102
102
|
|
|
103
|
-
-
|
|
103
|
+
- `recommended-type-checked`\
|
|
104
104
|
Same as the `recommended-typescript` preset but enables additional rules that require type information.
|
|
105
105
|
|
|
106
|
+
### Other
|
|
107
|
+
|
|
108
|
+
- `disable-dom`\
|
|
109
|
+
Disable rules in the `dom` preset.
|
|
110
|
+
- `disable-web-api`\
|
|
111
|
+
Disable rules in the `web-api` preset.
|
|
112
|
+
- `disable-type-checked`\
|
|
113
|
+
Disable rules that require type information.
|
|
114
|
+
- `off`\
|
|
115
|
+
Disable all rules in this plugin except for debug rules.
|
|
116
|
+
|
|
106
117
|
[Full Presets List ↗](https://eslint-react.xyz/docs/presets)
|
|
107
118
|
|
|
108
119
|
## Rules
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.42.2-next.
|
|
3
|
+
"version": "1.42.2-next.3",
|
|
4
4
|
"description": "A series of composable ESLint rules for React and friends.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"@typescript-eslint/type-utils": "^8.29.1",
|
|
51
51
|
"@typescript-eslint/types": "^8.29.1",
|
|
52
52
|
"@typescript-eslint/utils": "^8.29.1",
|
|
53
|
-
"@eslint-react/
|
|
54
|
-
"@eslint-react/
|
|
55
|
-
"@eslint-react/
|
|
56
|
-
"eslint-plugin-react-
|
|
57
|
-
"eslint-plugin-react-
|
|
58
|
-
"eslint-plugin-react-
|
|
59
|
-
"eslint-plugin-react-
|
|
60
|
-
"eslint-plugin-react-
|
|
61
|
-
"eslint-plugin-react-
|
|
53
|
+
"@eslint-react/eff": "1.42.2-next.3",
|
|
54
|
+
"@eslint-react/kit": "1.42.2-next.3",
|
|
55
|
+
"@eslint-react/shared": "1.42.2-next.3",
|
|
56
|
+
"eslint-plugin-react-dom": "1.42.2-next.3",
|
|
57
|
+
"eslint-plugin-react-naming-convention": "1.42.2-next.3",
|
|
58
|
+
"eslint-plugin-react-web-api": "1.42.2-next.3",
|
|
59
|
+
"eslint-plugin-react-x": "1.42.2-next.3",
|
|
60
|
+
"eslint-plugin-react-debug": "1.42.2-next.3",
|
|
61
|
+
"eslint-plugin-react-hooks-extra": "1.42.2-next.3"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"tsup": "^8.4.0",
|