@eslint-react/eslint-plugin 2.0.0-beta.18 → 2.0.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 +8 -2
- package/dist/index.d.ts +476 -87
- package/dist/index.js +20 -7
- package/package.json +16 -15
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://npmjs.com/package/@eslint-react/eslint-plugin)
|
|
6
6
|
[](https://npmjs.com/package/@eslint-react/eslint-plugin)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
4-7x faster composable ESLint rules for React and friends.
|
|
9
9
|
|
|
10
10
|
## Table of Contents
|
|
11
11
|
|
|
@@ -22,6 +22,7 @@ A series of composable ESLint rules for React and friends.
|
|
|
22
22
|
- [TypeScript Specialized](#typescript-specialized)
|
|
23
23
|
- [Other](#other)
|
|
24
24
|
- [Rules](#rules)
|
|
25
|
+
- [Benchmark](#benchmark)
|
|
25
26
|
- [FAQ](#faq)
|
|
26
27
|
- [Roadmap](#roadmap)
|
|
27
28
|
- [Contributing](#contributing)
|
|
@@ -31,7 +32,7 @@ A series of composable ESLint rules for React and friends.
|
|
|
31
32
|
|
|
32
33
|
- **Modern**: First-class support for TypeScript, React 19, and more.
|
|
33
34
|
- **Flexible**: Fully customizable rule severity levels, allowing you to enforce or relax rules as needed.
|
|
34
|
-
- **Performant**: Built with performance in mind, optimized for large codebases.
|
|
35
|
+
- **Performant**: Built with performance in mind, optimized for large codebases, [**4-7x faster**](https://github.com/Rel1cx/eslint-react-benchmark) than other ESLint plugins.
|
|
35
36
|
- **Context-aware Linting**: Rules that understand the context of your code and project configuration to provide more accurate linting.
|
|
36
37
|
|
|
37
38
|
## Public Packages
|
|
@@ -41,6 +42,7 @@ A series of composable ESLint rules for React and friends.
|
|
|
41
42
|
- [`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).
|
|
42
43
|
- [`eslint-plugin-react-dom`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) - DOM specific rules for React DOM.
|
|
43
44
|
- [`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.
|
|
45
|
+
- [`eslint-plugin-react-hooks-extra`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-hooks-extra) - Extra React Hooks rules.
|
|
44
46
|
- [`eslint-plugin-react-naming-convention`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-naming-convention) - Naming convention rules.
|
|
45
47
|
|
|
46
48
|
### Unified
|
|
@@ -149,6 +151,10 @@ export default tseslint.config({
|
|
|
149
151
|
|
|
150
152
|
[Rules Overview ↗](https://eslint-react.xyz/docs/rules/overview)
|
|
151
153
|
|
|
154
|
+
## Benchmark
|
|
155
|
+
|
|
156
|
+
[Benchmark Results ↗](https://github.com/Rel1cx/eslint-react-benchmark)
|
|
157
|
+
|
|
152
158
|
## FAQ
|
|
153
159
|
|
|
154
160
|
[Frequently Asked Questions ↗](https://eslint-react.xyz/docs/faq)
|