@eslint-react/eslint-plugin 1.11.0-next.2 → 1.11.0-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 +4 -35
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](https://bundlephobia.com/package/@eslint-react/eslint-plugin)
|
|
7
7
|
[](https://npmjs.com/package/@eslint-react/eslint-plugin)
|
|
8
8
|
|
|
9
|
-
A series of composable ESLint
|
|
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,7 +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
|
+
- [`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.
|
|
28
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.
|
|
29
29
|
- [`eslint-plugin-react-naming-convention`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-naming-convention) - Naming convention rules.
|
|
30
30
|
|
|
@@ -124,21 +124,13 @@ Add the plugin to your `.eslintrc.json`:
|
|
|
124
124
|
- **dom**\
|
|
125
125
|
Enable rules that are specific to React DOM.
|
|
126
126
|
- **web-api**\
|
|
127
|
-
Enable rules for interacting with Web APIs
|
|
127
|
+
Enable rules for interacting with Web APIs.
|
|
128
128
|
- **recommended**\
|
|
129
129
|
Enable rules that are recommended by ESLint React.\
|
|
130
130
|
_This preset includes the `core`, `dom`, and `web-api` presets._
|
|
131
131
|
- **recommended-type-checked**\
|
|
132
132
|
Enable rules that are recommended by ESLint React with additional rules that require type information.\
|
|
133
133
|
_This preset includes the `recommended` preset._
|
|
134
|
-
- **disable-dom**\
|
|
135
|
-
Disable rules that are specific to React DOM.
|
|
136
|
-
- **disable-web-api**\
|
|
137
|
-
Disable rules for interacting with Web APIs in React.
|
|
138
|
-
- **disable-type-checked**\
|
|
139
|
-
Disable rules that require type information.
|
|
140
|
-
- **off**\
|
|
141
|
-
Disable all rules in this plugin except for debug rules.
|
|
142
134
|
|
|
143
135
|
### Legacy Config
|
|
144
136
|
|
|
@@ -150,21 +142,13 @@ Add the plugin to your `.eslintrc.json`:
|
|
|
150
142
|
- **dom-legacy**\
|
|
151
143
|
Enable rules that are specific to React DOM.
|
|
152
144
|
- **web-api-legacy**\
|
|
153
|
-
Enable rules for interacting with Web APIs
|
|
145
|
+
Enable rules for interacting with Web APIs.
|
|
154
146
|
- **recommended-legacy**\
|
|
155
147
|
Enable rules that are recommended by ESLint React.\
|
|
156
148
|
_This preset includes the `core-legacy`, `dom-legacy`, and `web-api-legacy` presets._
|
|
157
149
|
- **recommended-type-checked-legacy**\
|
|
158
150
|
Enable rules that are recommended by ESLint React with additional rules that require type information.\
|
|
159
151
|
_This preset includes the `recommended-legacy` preset._
|
|
160
|
-
- **disable-dom-legacy**\
|
|
161
|
-
Disable rules that are specific to React DOM.
|
|
162
|
-
- **disable-web-api-legacy**\
|
|
163
|
-
Disable rules for interacting with Web APIs in React.
|
|
164
|
-
- **disable-type-checked-legacy**\
|
|
165
|
-
Disable rules that require type information.
|
|
166
|
-
- **off-legacy**\
|
|
167
|
-
Disable all rules in this plugin except for debug rules.
|
|
168
152
|
|
|
169
153
|
</details>
|
|
170
154
|
|
|
@@ -215,21 +199,6 @@ Thank you to everyone contributing to ESLint React!
|
|
|
215
199
|
</picture>
|
|
216
200
|
</a>
|
|
217
201
|
|
|
218
|
-
<!-- Made with [OSS Insight](https://ossinsight.io/) -->
|
|
219
|
-
|
|
220
|
-
### All Contributors
|
|
221
|
-
|
|
222
|
-
<!-- Copy-paste in your Readme.md file -->
|
|
223
|
-
|
|
224
|
-
<a href="https://next.ossinsight.io/widgets/official/compose-contributors?repo_id=680315614&limit=50" target="_blank" style="display: block" align="center">
|
|
225
|
-
<picture>
|
|
226
|
-
<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">
|
|
227
|
-
<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">
|
|
228
|
-
</picture>
|
|
229
|
-
</a>
|
|
230
|
-
|
|
231
|
-
<!-- Made with [OSS Insight](https://ossinsight.io/) -->
|
|
232
|
-
|
|
233
202
|
## License
|
|
234
203
|
|
|
235
204
|
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
package/dist/index.js
CHANGED
|
@@ -38,7 +38,7 @@ var react__namespace = /*#__PURE__*/_interopNamespace(react);
|
|
|
38
38
|
|
|
39
39
|
// package.json
|
|
40
40
|
var name = "@eslint-react/eslint-plugin";
|
|
41
|
-
var version = "1.11.0-next.
|
|
41
|
+
var version = "1.11.0-next.3";
|
|
42
42
|
function transformKeys(obj, transform) {
|
|
43
43
|
if (tools.typeOf(obj) !== "object") return obj;
|
|
44
44
|
const res = {};
|
package/dist/index.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import * as react from 'eslint-plugin-react-x';
|
|
|
11
11
|
|
|
12
12
|
// package.json
|
|
13
13
|
var name = "@eslint-react/eslint-plugin";
|
|
14
|
-
var version = "1.11.0-next.
|
|
14
|
+
var version = "1.11.0-next.3";
|
|
15
15
|
function transformKeys(obj, transform) {
|
|
16
16
|
if (typeOf(obj) !== "object") return obj;
|
|
17
17
|
const res = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.11.0-next.
|
|
3
|
+
"version": "1.11.0-next.3",
|
|
4
4
|
"description": "The main ESLint plugin of ESLint React. Contains all the rules and presets of ESLint React.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
"@typescript-eslint/type-utils": "^8.1.0",
|
|
48
48
|
"@typescript-eslint/types": "^8.1.0",
|
|
49
49
|
"@typescript-eslint/utils": "^8.1.0",
|
|
50
|
-
"@eslint-react/shared": "1.11.0-next.
|
|
51
|
-
"eslint-
|
|
52
|
-
"eslint-plugin-react-
|
|
53
|
-
"
|
|
54
|
-
"eslint-plugin-react-hooks-extra": "1.11.0-next.
|
|
55
|
-
"eslint-plugin-react-
|
|
56
|
-
"
|
|
57
|
-
"eslint-
|
|
58
|
-
"eslint-plugin-react-
|
|
50
|
+
"@eslint-react/shared": "1.11.0-next.3",
|
|
51
|
+
"@eslint-react/types": "1.11.0-next.3",
|
|
52
|
+
"eslint-plugin-react-debug": "1.11.0-next.3",
|
|
53
|
+
"eslint-plugin-react-dom": "1.11.0-next.3",
|
|
54
|
+
"eslint-plugin-react-hooks-extra": "1.11.0-next.3",
|
|
55
|
+
"eslint-plugin-react-naming-convention": "1.11.0-next.3",
|
|
56
|
+
"eslint-plugin-react-web-api": "1.11.0-next.3",
|
|
57
|
+
"@eslint-react/tools": "1.11.0-next.3",
|
|
58
|
+
"eslint-plugin-react-x": "1.11.0-next.3"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"tsup": "^8.2.4"
|