@eslint-react/eslint-plugin 2.0.0-next.6 → 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 CHANGED
@@ -5,7 +5,7 @@
5
5
  [![Version](https://img.shields.io/npm/v/@eslint-react/eslint-plugin?style=flat&colorA=000000&colorB=000000)](https://npmjs.com/package/@eslint-react/eslint-plugin)
6
6
  [![Downloads](https://img.shields.io/npm/dt/@eslint-react/eslint-plugin.svg?style=flat&colorA=000000&colorB=000000)](https://npmjs.com/package/@eslint-react/eslint-plugin)
7
7
 
8
- A series of composable ESLint rules for React and friends.
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, React 19, and more.
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
 
@@ -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
@@ -68,8 +70,8 @@ npm install --save-dev typescript-eslint @eslint-react/eslint-plugin
68
70
  // eslint.config.js
69
71
 
70
72
  // @ts-check
71
- import eslintJs from "@eslint/js";
72
73
  import eslintReact from "@eslint-react/eslint-plugin";
74
+ import eslintJs from "@eslint/js";
73
75
  import tseslint from "typescript-eslint";
74
76
 
75
77
  export default tseslint.config({
@@ -105,8 +107,6 @@ export default tseslint.config({
105
107
 
106
108
  [Full Installation Guide ↗](https://eslint-react.xyz/docs/getting-started/typescript)
107
109
 
108
- </details>
109
-
110
110
  ## Presets
111
111
 
112
112
  ### Bare Bones
@@ -149,6 +149,10 @@ export default tseslint.config({
149
149
 
150
150
  [Rules Overview ↗](https://eslint-react.xyz/docs/rules/overview)
151
151
 
152
+ ## Benchmark
153
+
154
+ [Benchmark Results ↗](https://github.com/Rel1cx/eslint-react-benchmark)
155
+
152
156
  ## FAQ
153
157
 
154
158
  [Frequently Asked Questions ↗](https://eslint-react.xyz/docs/faq)
@@ -161,8 +165,8 @@ export default tseslint.config({
161
165
 
162
166
  Contributions are welcome!
163
167
 
164
- Please follow our [contributing guidelines](./.github/CONTRIBUTING.md).
168
+ Please follow our [contributing guidelines](https://github.com/Rel1cx/eslint-react/tree/2.0.0/.github/CONTRIBUTING.md).
165
169
 
166
170
  ## License
167
171
 
168
- 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.
@@ -0,0 +1,11 @@
1
+ //#region rolldown:runtime
2
+ var __defProp = Object.defineProperty;
3
+ var __export = (target, all) => {
4
+ for (var name in all) __defProp(target, name, {
5
+ get: all[name],
6
+ enumerable: true
7
+ });
8
+ };
9
+
10
+ //#endregion
11
+ export { __export };