@eslint-react/eslint-plugin 1.10.2-next.1 → 1.11.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 CHANGED
@@ -6,7 +6,7 @@
6
6
  [![Size](https://img.shields.io/bundlephobia/minzip/@eslint-react/eslint-plugin?label=gzip&style=flat&colorA=000000&colorB=000000)](https://bundlephobia.com/package/@eslint-react/eslint-plugin)
7
7
  [![Downloads](https://img.shields.io/npm/dt/@eslint-react/eslint-plugin.svg?style=flat&colorA=000000&colorB=000000)](https://npmjs.com/package/@eslint-react/eslint-plugin)
8
8
 
9
- A series of composable ESLint rules rewritten from scratch for libraries and frameworks that use React as a UI runtime.
9
+ A series of composable ESLint plugins for building robust and reliable React applications across all platforms.
10
10
 
11
11
  ## Features
12
12
 
@@ -24,6 +24,7 @@ A series of composable ESLint rules rewritten from scratch for libraries and fra
24
24
 
25
25
  - [`eslint-plugin-react-x`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) - Core rules (renderer-agnostic, compatible with x-platform).
26
26
  - [`eslint-plugin-react-dom`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) - DOM specific rules for React DOM.
27
+ - [`eslint-plugin-react-web-api`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-web-api) - Rules for interacting with Web APIs.
27
28
  - [`eslint-plugin-react-hooks-extra`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-hooks-extra) - Extra React Hooks rules.
28
29
  - [`eslint-plugin-react-naming-convention`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-naming-convention) - Naming convention rules.
29
30
 
@@ -120,20 +121,16 @@ Add the plugin to your `.eslintrc.json`:
120
121
 
121
122
  - **core**\
122
123
  Enable rules that are renderer-agnostic.
124
+ - **dom**\
125
+ Enable rules that are specific to React DOM.
126
+ - **web-api**\
127
+ Enable rules for interacting with Web APIs.
123
128
  - **recommended**\
124
129
  Enable rules that are recommended by ESLint React.\
125
- _This preset includes the `core` preset._
130
+ _This preset includes the `core`, `dom`, and `web-api` presets._
126
131
  - **recommended-type-checked**\
127
132
  Enable rules that are recommended by ESLint React with additional rules that require type information.\
128
133
  _This preset includes the `recommended` preset._
129
- - **dom**\
130
- Enable rules that are specific to React DOM.
131
- - **disable-dom**\
132
- Disable rules that are specific to React DOM.
133
- - **disable-type-checked**\
134
- Disable rules that require type information.
135
- - **off**\
136
- Disable all rules in this plugin except for debug rules.
137
134
 
138
135
  ### Legacy Config
139
136
 
@@ -142,20 +139,16 @@ Add the plugin to your `.eslintrc.json`:
142
139
 
143
140
  - **core-legacy**\
144
141
  Enable rules that are renderer-agnostic.
142
+ - **dom-legacy**\
143
+ Enable rules that are specific to React DOM.
144
+ - **web-api-legacy**\
145
+ Enable rules for interacting with Web APIs.
145
146
  - **recommended-legacy**\
146
147
  Enable rules that are recommended by ESLint React.\
147
- _This preset includes the `core-legacy` preset._
148
+ _This preset includes the `core-legacy`, `dom-legacy`, and `web-api-legacy` presets._
148
149
  - **recommended-type-checked-legacy**\
149
150
  Enable rules that are recommended by ESLint React with additional rules that require type information.\
150
151
  _This preset includes the `recommended-legacy` preset._
151
- - **dom-legacy**\
152
- Enable rules that are specific to React DOM.
153
- - **disable-dom-legacy**\
154
- Disable rules that are specific to React DOM.
155
- - **disable-type-checked-legacy**\
156
- Disable rules that require type information.
157
- - **off-legacy**\
158
- Disable all rules in this plugin except for debug rules.
159
152
 
160
153
  </details>
161
154
 
@@ -206,21 +199,6 @@ Thank you to everyone contributing to ESLint React!
206
199
  </picture>
207
200
  </a>
208
201
 
209
- <!-- Made with [OSS Insight](https://ossinsight.io/) -->
210
-
211
- ### All Contributors
212
-
213
- <!-- Copy-paste in your Readme.md file -->
214
-
215
- <a href="https://next.ossinsight.io/widgets/official/compose-contributors?repo_id=680315614&limit=50" target="_blank" style="display: block" align="center">
216
- <picture>
217
- <source media="(prefers-color-scheme: dark)" srcset="https://next.ossinsight.io/widgets/official/compose-contributors/thumbnail.png?repo_id=680315614&limit=50&image_size=auto&color_scheme=dark" width="655" height="auto">
218
- <img alt="Contributors of Rel1cx/eslint-react" src="https://next.ossinsight.io/widgets/official/compose-contributors/thumbnail.png?repo_id=680315614&limit=50&image_size=auto&color_scheme=light" width="655" height="auto">
219
- </picture>
220
- </a>
221
-
222
- <!-- Made with [OSS Insight](https://ossinsight.io/) -->
223
-
224
202
  ## License
225
203
 
226
204
  This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.