@eslint-react/eslint-plugin 1.22.2-beta.2 → 1.22.2-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 +8 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
|
+
<!-- eslint-disable markdown/no-html -->
|
|
2
|
+
|
|
1
3
|
<p align="center"><img src="https://eslint-react.xyz/logo.svg" alt="logo" width="150" /></p>
|
|
2
4
|
|
|
3
5
|
<h1 align="center" alt="title">ESLint React</h1>
|
|
4
6
|
|
|
5
|
-
A
|
|
7
|
+
A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.
|
|
6
8
|
|
|
7
9
|
## Features
|
|
8
10
|
|
|
9
|
-
- **
|
|
10
|
-
- **
|
|
11
|
-
- **Advanced Analysis
|
|
11
|
+
- **Flexible**: Increased flexibility with fewer rule options.
|
|
12
|
+
- **Comprehensive**: First-class support for TypeScript, React UI libraries, polymorphic components.
|
|
13
|
+
- **Advanced Analysis**: Handles complex scenarios and identifies problems that other tools might miss.
|
|
12
14
|
|
|
13
15
|
## Public packages
|
|
14
16
|
|
|
@@ -16,7 +18,7 @@ A series of composable ESLint plugins for libraries and frameworks that use Reac
|
|
|
16
18
|
|
|
17
19
|
- [`@eslint-react/eslint-plugin`](https://www.npmjs.com/package/@eslint-react/eslint-plugin) - The main ESLint plugin package including all rules and config presets in this repository.
|
|
18
20
|
|
|
19
|
-
###
|
|
21
|
+
### Modular plugins
|
|
20
22
|
|
|
21
23
|
- [`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).
|
|
22
24
|
- [`eslint-plugin-react-dom`](https://github.com/rEl1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) - DOM specific rules for React DOM.
|
|
@@ -80,7 +82,7 @@ export default tseslint.config({
|
|
|
80
82
|
### General Purpose
|
|
81
83
|
|
|
82
84
|
- **Recommended** (`recommended`)\
|
|
83
|
-
Enforce rules that are recommended by ESLint React for general purpose
|
|
85
|
+
Enforce rules that are recommended by ESLint React for general purpose React + React DOM applications.
|
|
84
86
|
_This preset includes the `core`, `dom`, and `web-api` presets._
|
|
85
87
|
|
|
86
88
|
### TypeScript Specialized
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.22.2-beta.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.22.2-beta.4",
|
|
4
|
+
"description": "A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
7
7
|
"eslint",
|
|
@@ -48,15 +48,15 @@
|
|
|
48
48
|
"@typescript-eslint/type-utils": "^8.18.2",
|
|
49
49
|
"@typescript-eslint/types": "^8.18.2",
|
|
50
50
|
"@typescript-eslint/utils": "^8.18.2",
|
|
51
|
-
"@eslint-react/eff": "1.22.2-beta.
|
|
52
|
-
"@eslint-react/
|
|
53
|
-
"
|
|
54
|
-
"eslint-plugin-react-dom": "1.22.2-beta.
|
|
55
|
-
"eslint-plugin-react-
|
|
56
|
-
"eslint-
|
|
57
|
-
"eslint-plugin-react-
|
|
58
|
-
"eslint-plugin-react-web-api": "1.22.2-beta.
|
|
59
|
-
"eslint-plugin-react-
|
|
51
|
+
"@eslint-react/eff": "1.22.2-beta.4",
|
|
52
|
+
"@eslint-react/shared": "1.22.2-beta.4",
|
|
53
|
+
"eslint-plugin-react-debug": "1.22.2-beta.4",
|
|
54
|
+
"eslint-plugin-react-dom": "1.22.2-beta.4",
|
|
55
|
+
"eslint-plugin-react-hooks-extra": "1.22.2-beta.4",
|
|
56
|
+
"@eslint-react/types": "1.22.2-beta.4",
|
|
57
|
+
"eslint-plugin-react-x": "1.22.2-beta.4",
|
|
58
|
+
"eslint-plugin-react-web-api": "1.22.2-beta.4",
|
|
59
|
+
"eslint-plugin-react-naming-convention": "1.22.2-beta.4"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"tsup": "^8.3.5",
|