@eslint-react/eslint-plugin 1.8.3-next.6 → 1.9.0-beta.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 +12 -4
- package/dist/index.d.mts +419 -279
- package/dist/index.d.ts +419 -279
- package/dist/index.js +33 -51
- package/dist/index.mjs +33 -51
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -113,10 +113,14 @@ Add the plugin to your `.eslintrc.json`:
|
|
|
113
113
|
|
|
114
114
|
### Flat Config
|
|
115
115
|
|
|
116
|
+
- **core**\
|
|
117
|
+
Enable rules that are renderer-agnostic.
|
|
116
118
|
- **recommended**\
|
|
117
|
-
Enable rules that are recommended by ESLint React
|
|
119
|
+
Enable rules that are recommended by ESLint React.\
|
|
120
|
+
_This preset includes the `core` preset._
|
|
118
121
|
- **recommended-type-checked**\
|
|
119
|
-
Enable rules that are recommended by ESLint React with additional rules that require type information
|
|
122
|
+
Enable rules that are recommended by ESLint React with additional rules that require type information.\
|
|
123
|
+
_This preset includes the `recommended` preset._
|
|
120
124
|
- **dom**\
|
|
121
125
|
Enable rules that are specific to React DOM.
|
|
122
126
|
- **off-dom**\
|
|
@@ -126,10 +130,14 @@ Add the plugin to your `.eslintrc.json`:
|
|
|
126
130
|
|
|
127
131
|
### Legacy Config
|
|
128
132
|
|
|
133
|
+
- **core-legacy**\
|
|
134
|
+
Enable rules that are renderer-agnostic.
|
|
129
135
|
- **recommended-legacy**\
|
|
130
|
-
Enable rules that are recommended by ESLint React
|
|
136
|
+
Enable rules that are recommended by ESLint React.\
|
|
137
|
+
_This preset includes the `core-legacy` preset._
|
|
131
138
|
- **recommended-type-checked-legacy**\
|
|
132
|
-
Enable rules that are recommended by ESLint React with additional rules that require type information
|
|
139
|
+
Enable rules that are recommended by ESLint React with additional rules that require type information.\
|
|
140
|
+
_This preset includes the `recommended-legacy` preset._
|
|
133
141
|
- **dom-legacy**\
|
|
134
142
|
Enable rules that are specific to React DOM.
|
|
135
143
|
- **off-dom-legacy**\
|