@eslint-react/eslint-plugin 1.8.0-beta.1 → 1.8.0-beta.3
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 +24 -24
- package/dist/index.d.mts +555 -16
- package/dist/index.d.ts +555 -16
- package/dist/index.js +16 -14
- package/dist/index.mjs +13 -14
- package/package.json +10 -13
package/README.md
CHANGED
|
@@ -32,34 +32,34 @@ A series of composable ESLint rules rewritten from scratch for libraries and fra
|
|
|
32
32
|
- [`eslint-plugin-react-hooks-extra`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-hooks-extra) - Extra React Hooks rules.
|
|
33
33
|
- [`eslint-plugin-react-naming-convention`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-naming-convention) - Naming convention rules.
|
|
34
34
|
|
|
35
|
-
##
|
|
36
|
-
|
|
37
|
-
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
35
|
+
## Who is using?
|
|
36
|
+
|
|
37
|
+
- [`antfu/eslint-config`](https://github.com/antfu/eslint-config) - Anthony's ESLint config preset.
|
|
38
|
+
- [`christopher-buss/roblox-ts-eslint-config`](https://github.com/christopher-buss/roblox-ts-eslint-config) - iSentinel's ESLint config preset for Roblox-TS.
|
|
39
|
+
- [`DimensionDev/Maskbook`](https://github.com/DimensionDev/Maskbook) - The portal to the new, open Internet. ([I:b]).
|
|
40
|
+
- [`dream-num/univer`](https://github.com/dream-num/univer) - Univer is an open-source alternative to Google Sheets, Slides, and Docs.
|
|
41
|
+
- [`hairyf/overlastic`](https://github.com/hairyf/overlastic) - A universal overlays utils, support react, vue, vanilla, svelte.
|
|
42
|
+
- [`react-navigation/react-navigation`](https://github.com/react-navigation/react-navigation) - Routing and navigation for your React Native apps.
|
|
43
|
+
- [`RSSNext/follow`](https://github.com/RSSNext/follow) - 🧡 Next generation information browser.
|
|
44
|
+
- [`SukkaW/eslint-config-sukka`](https://github.com/SukkaW/eslint-config-sukka) - ESLint configuration of Sukka.
|
|
45
|
+
- [`SukkaW/foxact`](https://github.com/SukkaW/foxact) - React Hooks/Utils done right. For Browser, SSR, and React Server Components.
|
|
46
|
+
- [`TanStack/form`](https://github.com/TanStack/form) - 🤖 Powerful and type-safe form state management for the web. TS/JS, React Form, Solid Form, Lit Form and Vue Form.
|
|
47
|
+
- [`TanStack/query`](https://github.com/TanStack/query) - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
|
|
48
|
+
- [`TanStack/router`](https://github.com/TanStack/router) - 🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.
|
|
49
|
+
- [`TanStack/store`](https://github.com/TanStack/store) - 🤖 Framework agnostic, type-safe store w/ reactive framework adapters.
|
|
50
|
+
|
|
51
|
+
Find more projects using ESLint React on [GitHub](https://github.com/Rel1cx/eslint-react/network/dependents).
|
|
52
|
+
|
|
53
|
+
## Install
|
|
54
54
|
|
|
55
55
|
```sh
|
|
56
56
|
# npm
|
|
57
57
|
npm install --save-dev @eslint-react/eslint-plugin
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
## Setup
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
### Flat Config
|
|
63
63
|
|
|
64
64
|
Add the plugin to your `eslint.config.js`:
|
|
65
65
|
|
|
@@ -82,7 +82,7 @@ export default [
|
|
|
82
82
|
];
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
### Legacy Config
|
|
86
86
|
|
|
87
87
|
Add the plugin to your `.eslintrc.json`:
|
|
88
88
|
|
|
@@ -106,7 +106,7 @@ Add the plugin to your `.eslintrc.json`:
|
|
|
106
106
|
|
|
107
107
|
## Presets
|
|
108
108
|
|
|
109
|
-
|
|
109
|
+
### Flat Config
|
|
110
110
|
|
|
111
111
|
- **recommended**\
|
|
112
112
|
Enable rules that are recommended by ESLint React.
|
|
@@ -119,7 +119,7 @@ Add the plugin to your `.eslintrc.json`:
|
|
|
119
119
|
- **off**\
|
|
120
120
|
Disable all rules in this plugin except for debug rules.
|
|
121
121
|
|
|
122
|
-
|
|
122
|
+
### Legacy Config
|
|
123
123
|
|
|
124
124
|
- **recommended-legacy**\
|
|
125
125
|
Enable rules that are recommended by ESLint React.
|