@eslint-react/eslint-plugin 2.4.1-beta.3 → 2.4.1-beta.6
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 -4
- package/dist/index.js +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
- **Modern**: First-class support for **TypeScript**, **React 19**, and more.
|
|
38
38
|
- **Flexible**: Fully customizable rule severity levels, allowing you to **enforce** or **relax** rules as needed.
|
|
39
39
|
- **Performant**: Built with performance in mind, optimized for large codebases, [**4-7x faster**](https://github.com/Rel1cx/eslint-react-benchmark) than other ESLint plugins.
|
|
40
|
-
- **Context-aware
|
|
40
|
+
- **Context-aware linting**: Rules that understand the context of your code and [project configuration](https://eslint-react.xyz/docs/configuration/configure-project-config) to provide more **accurate** linting.
|
|
41
41
|
|
|
42
42
|
## Public Packages
|
|
43
43
|
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
|
|
48
48
|
### Modular ESLint Plugins
|
|
49
49
|
|
|
50
|
-
- [`eslint-plugin-react-x`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) - X
|
|
51
|
-
- [`eslint-plugin-react-dom`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) - DOM
|
|
50
|
+
- [`eslint-plugin-react-x`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) - X rules (renderer-agnostic, compatible with x-platform).
|
|
51
|
+
- [`eslint-plugin-react-dom`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) - DOM-specific rules for React DOM.
|
|
52
52
|
- [`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.
|
|
53
53
|
- [`eslint-plugin-react-hooks-extra`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-hooks-extra) - Extra React Hooks rules.
|
|
54
54
|
- [`eslint-plugin-react-naming-convention`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-naming-convention) - Naming convention rules.
|
|
@@ -130,7 +130,7 @@ export default defineConfig(
|
|
|
130
130
|
## General Purpose
|
|
131
131
|
|
|
132
132
|
- `recommended`\
|
|
133
|
-
Enforce rules that are recommended by ESLint React for general
|
|
133
|
+
Enforce rules that are recommended by ESLint React for general-purpose React + React DOM projects.\
|
|
134
134
|
_This preset includes the `x`, `dom`, and `web-api` presets._
|
|
135
135
|
|
|
136
136
|
- `strict`\
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "2.4.1-beta.
|
|
3
|
+
"version": "2.4.1-beta.6",
|
|
4
4
|
"description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"@typescript-eslint/types": "^8.50.1",
|
|
46
46
|
"@typescript-eslint/utils": "^8.50.1",
|
|
47
47
|
"ts-api-utils": "^2.1.0",
|
|
48
|
-
"@eslint-react/eff": "2.4.1-beta.
|
|
49
|
-
"eslint-
|
|
50
|
-
"eslint-plugin-react-
|
|
51
|
-
"
|
|
52
|
-
"eslint-plugin-react-
|
|
53
|
-
"eslint-plugin-react-
|
|
54
|
-
"eslint-plugin-react-
|
|
48
|
+
"@eslint-react/eff": "2.4.1-beta.6",
|
|
49
|
+
"@eslint-react/shared": "2.4.1-beta.6",
|
|
50
|
+
"eslint-plugin-react-dom": "2.4.1-beta.6",
|
|
51
|
+
"eslint-plugin-react-naming-convention": "2.4.1-beta.6",
|
|
52
|
+
"eslint-plugin-react-web-api": "2.4.1-beta.6",
|
|
53
|
+
"eslint-plugin-react-x": "2.4.1-beta.6",
|
|
54
|
+
"eslint-plugin-react-hooks-extra": "2.4.1-beta.6"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"tsdown": "^0.18.3",
|