@eslint-react/eslint-plugin 2.1.0-beta.2 → 2.1.0-beta.4
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 +9 -0
- package/dist/index.d.ts +523 -212
- package/dist/index.js +165 -116
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -127,6 +127,9 @@ export default defineConfig([
|
|
|
127
127
|
Enforce rules that are recommended by ESLint React for general purpose React + React DOM projects.\
|
|
128
128
|
_This preset includes the `x`, `dom`, and `web-api` presets._
|
|
129
129
|
|
|
130
|
+
- `strict`\
|
|
131
|
+
Same as the `recommended` preset but enables additional strict rules.
|
|
132
|
+
|
|
130
133
|
### TypeScript Specialized
|
|
131
134
|
|
|
132
135
|
- `recommended-typescript`\
|
|
@@ -135,6 +138,12 @@ export default defineConfig([
|
|
|
135
138
|
- `recommended-type-checked`\
|
|
136
139
|
Same as the `recommended-typescript` preset but enables additional rules that require type information.
|
|
137
140
|
|
|
141
|
+
- `strict-typescript`\
|
|
142
|
+
Same as the `strict` preset but disables rules that can be enforced by TypeScript.
|
|
143
|
+
|
|
144
|
+
- `strict-type-checked`\
|
|
145
|
+
Same as the `strict-typescript` preset but enables additional rules that require type information.
|
|
146
|
+
|
|
138
147
|
### Other
|
|
139
148
|
|
|
140
149
|
- `disable-dom`\
|