@eslint-react/eslint-plugin 2.0.0-next.1 → 2.0.0-next.109
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 +10 -7
- package/dist/index.d.ts +456 -139
- package/dist/index.js +130 -57
- package/package.json +16 -18
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)
|
|
@@ -29,10 +30,10 @@ A series of composable ESLint rules for React and friends.
|
|
|
29
30
|
|
|
30
31
|
## Features
|
|
31
32
|
|
|
32
|
-
- **Modern**: First-class support for TypeScript
|
|
33
|
-
- **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
|
-
- **Context-aware Linting**: Rules that understand the context of your code and project configuration to provide more accurate linting.
|
|
33
|
+
- **Modern**: First-class support for **TypeScript**, **React 19**, and more.
|
|
34
|
+
- **Flexible**: Fully customizable rule severity levels, allowing you to **enforce** or **relax** rules as needed.
|
|
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.
|
|
36
|
+
- **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.
|
|
36
37
|
|
|
37
38
|
## Public Packages
|
|
38
39
|
|
|
@@ -106,8 +107,6 @@ export default tseslint.config({
|
|
|
106
107
|
|
|
107
108
|
[Full Installation Guide ↗](https://eslint-react.xyz/docs/getting-started/typescript)
|
|
108
109
|
|
|
109
|
-
</details>
|
|
110
|
-
|
|
111
110
|
## Presets
|
|
112
111
|
|
|
113
112
|
### Bare Bones
|
|
@@ -150,6 +149,10 @@ export default tseslint.config({
|
|
|
150
149
|
|
|
151
150
|
[Rules Overview ↗](https://eslint-react.xyz/docs/rules/overview)
|
|
152
151
|
|
|
152
|
+
## Benchmark
|
|
153
|
+
|
|
154
|
+
[Benchmark Results ↗](https://github.com/Rel1cx/eslint-react-benchmark)
|
|
155
|
+
|
|
153
156
|
## FAQ
|
|
154
157
|
|
|
155
158
|
[Frequently Asked Questions ↗](https://eslint-react.xyz/docs/faq)
|