@eslint-react/eslint-plugin 2.0.0-next.58 → 2.0.0-next.61
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 +12 -9
- package/dist/chunk-Cl8Af3a2.js +11 -0
- package/dist/index.d.ts +1133 -3389
- package/dist/index.js +442 -386
- package/package.json +17 -18
package/README.md
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
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 @@
|
|
|
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, **4-7x faster** than other ESLint plugins.
|
|
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
|
|
|
@@ -69,8 +70,8 @@ npm install --save-dev typescript-eslint @eslint-react/eslint-plugin
|
|
|
69
70
|
// eslint.config.js
|
|
70
71
|
|
|
71
72
|
// @ts-check
|
|
72
|
-
import eslintJs from "@eslint/js";
|
|
73
73
|
import eslintReact from "@eslint-react/eslint-plugin";
|
|
74
|
+
import eslintJs from "@eslint/js";
|
|
74
75
|
import tseslint from "typescript-eslint";
|
|
75
76
|
|
|
76
77
|
export default tseslint.config({
|
|
@@ -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)
|
|
@@ -162,8 +165,8 @@ export default tseslint.config({
|
|
|
162
165
|
|
|
163
166
|
Contributions are welcome!
|
|
164
167
|
|
|
165
|
-
Please follow our [contributing guidelines](
|
|
168
|
+
Please follow our [contributing guidelines](https://github.com/Rel1cx/eslint-react/tree/2.0.0/.github/CONTRIBUTING.md).
|
|
166
169
|
|
|
167
170
|
## License
|
|
168
171
|
|
|
169
|
-
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
172
|
+
This project is licensed under the MIT License - see the [LICENSE](https://github.com/Rel1cx/eslint-react/tree/2.0.0/LICENSE) file for details.
|