@eslint-react/eslint-plugin 1.19.0 → 1.20.0-beta.13
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 +4 -37
- package/dist/index.d.mts +31 -135
- package/dist/index.d.ts +31 -135
- package/dist/index.js +4 -3
- package/dist/index.mjs +4 -3
- package/package.json +19 -15
package/README.md
CHANGED
|
@@ -72,15 +72,8 @@ export default [
|
|
|
72
72
|
|
|
73
73
|
### Flat Config
|
|
74
74
|
|
|
75
|
-
- **core**\
|
|
76
|
-
Enable rules that are renderer-agnostic.
|
|
77
|
-
- **dom**\
|
|
78
|
-
Enable rules that are specific to React DOM.
|
|
79
|
-
- **web-api**\
|
|
80
|
-
Enable rules for interacting with Web APIs.
|
|
81
75
|
- **recommended**\
|
|
82
|
-
Enable rules that are recommended by ESLint React
|
|
83
|
-
_This preset includes the `core`, `dom`, and `web-api` presets._
|
|
76
|
+
Enable rules that are recommended by ESLint React.
|
|
84
77
|
- **recommended-typescript**\
|
|
85
78
|
Enable rules that are recommended by ESLint React and disable rules that can be covered by TypeScript.\
|
|
86
79
|
_This preset includes the `recommended` preset._
|
|
@@ -103,35 +96,9 @@ export default [
|
|
|
103
96
|
- [Milestone 2.0 ↗](https://eslint-react.xyz/roadmap#milestone-20)
|
|
104
97
|
- [Milestone 3.0 ↗](https://eslint-react.xyz/roadmap#milestone-30-draft)
|
|
105
98
|
|
|
106
|
-
##
|
|
107
|
-
|
|
108
|
-
-
|
|
109
|
-
- [`antfu/eslint-config`](https://github.com/antfu/eslint-config) - Anthony's ESLint config preset.
|
|
110
|
-
- [`christopher-buss/roblox-ts-eslint-config`](https://github.com/christopher-buss/roblox-ts-eslint-config) - iSentinel's ESLint config preset for Roblox-TS.
|
|
111
|
-
- [`DimensionDev/Maskbook`](https://github.com/DimensionDev/Maskbook) - The portal to the new, open Internet. ([I:b]).
|
|
112
|
-
- [`dream-num/univer`](https://github.com/dream-num/univer) - Univer is an open-source alternative to Google Sheets, Slides, and Docs.
|
|
113
|
-
- [`electric-sql/pglite`](https://github.com/electric-sql/pglite) - Lightweight Postgres packaged as WASM into a TypeScript library for the browser, Node.js, Bun and Deno.
|
|
114
|
-
- [`ensdomains/ensdomains-landing`](https://github.com/ensdomains/ensdomains-landing) - ENS Homepage V2, the main homepage of the ENS protocol.
|
|
115
|
-
- [`hairyf/overlastic`](https://github.com/hairyf/overlastic) - A universal overlays utils, support react, vue, vanilla, svelte.
|
|
116
|
-
- [`hipstersmoothie/react-window-splitter`](https://github.com/hipstersmoothie/react-window-splitter) - A full featured window splitter for React.
|
|
117
|
-
- [`johannschopplich/unlazy`](https://github.com/johannschopplich/unlazy) - Universal lazy loading library for placeholder images leveraging native browser APIs.
|
|
118
|
-
- [`luxdotdev/parsertime`](https://github.com/luxdotdev/parsertime) - A web app written to help collegiate Overwatch players track their performance in scrims.
|
|
119
|
-
- [`npmgraph/npmgraph`](https://github.com/npmgraph/npmgraph) - A tool for exploring NPM modules and dependencies.
|
|
120
|
-
- [`react-navigation/react-navigation`](https://github.com/react-navigation/react-navigation) - Routing and navigation for your React Native apps.
|
|
121
|
-
- [`RebeccaStevens/eslint-config-rebeccastevens`](https://github.com/RebeccaStevens/eslint-config-rebeccastevens) - RebeccaStevens' ESLint config preset.
|
|
122
|
-
- [`refined-github/refined-github`](https://github.com/refined-github/refined-github) - :octocat: Browser extension that simplifies the GitHub interface and adds useful features.
|
|
123
|
-
- [`RightCapitalHQ/frontend-style-guide`](https://github.com/RightCapitalHQ/frontend-style-guide) - RightCapital's frontend style guide.
|
|
124
|
-
- [`RSSNext/follow`](https://github.com/RSSNext/follow) - 🧡 Next generation information browser.
|
|
125
|
-
- [`satya164/PocketGear`](https://github.com/satya164/PocketGear) - A clean and simple Pokédex app for Pokémon GO.
|
|
126
|
-
- [`SukkaW/eslint-config-sukka`](https://github.com/SukkaW/eslint-config-sukka) - ESLint configuration of Sukka.
|
|
127
|
-
- [`SukkaW/foxact`](https://github.com/SukkaW/foxact) - React Hooks/Utils done right. For Browser, SSR, and React Server Components.
|
|
128
|
-
- [`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.
|
|
129
|
-
- [`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.
|
|
130
|
-
- [`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.
|
|
131
|
-
- [`TanStack/store`](https://github.com/TanStack/store) - 🤖 Framework agnostic, type-safe store w/ reactive framework adapters.
|
|
132
|
-
- [`timkurvers/wine-log-explorer`](https://github.com/timkurvers/wine-log-explorer) - Explorer for Wine logs.
|
|
133
|
-
- [`toss/suspensive`](https://github.com/toss/suspensive) - Manage asynchronous operations, timing, error handling, detecting intersection of elements, and caching easily and declaratively (One of TanStack Query community resources).
|
|
134
|
-
- [`upleveled/eslint-config-upleveled`](https://github.com/upleveled/eslint-config-upleveled) - UpLeveled ESLint defaults for programming in JavaScript, TypeScript, React, Next.js, Node.js, Postgres.js.
|
|
99
|
+
## Used by
|
|
100
|
+
|
|
101
|
+

|
|
135
102
|
|
|
136
103
|
_Data collected from GitHub dependents network, if there are any mismatch or outdated information, feel free to [open issue](https://github.com/Rel1cx/eslint-react/issues/new?assignees=&labels=type%3A+documentation&projects=&template=docs_report.md&title=%5Bdocs%5D+) or pull request._
|
|
137
104
|
|
package/dist/index.d.mts
CHANGED
|
@@ -141,7 +141,6 @@ declare const plugins$6: {
|
|
|
141
141
|
"no-leaked-resize-observer": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedResizeObserver" | "noLeakedResizeObserverInControlFlow" | "noLeakedResizeObserverNoFloatingInstance", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
142
142
|
"no-leaked-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedTimeoutInEffect" | "noLeakedTimeoutInLifecycle" | "noLeakedTimeoutNoTimeoutId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
143
143
|
};
|
|
144
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {};
|
|
145
144
|
};
|
|
146
145
|
"@eslint-react/dom": {
|
|
147
146
|
readonly meta: {
|
|
@@ -162,16 +161,6 @@ declare const plugins$6: {
|
|
|
162
161
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
163
162
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
164
163
|
};
|
|
165
|
-
readonly DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
166
|
-
readonly additionalComponents: [{
|
|
167
|
-
readonly name: "Link";
|
|
168
|
-
readonly as: "a";
|
|
169
|
-
readonly attributes: [{
|
|
170
|
-
readonly name: "to";
|
|
171
|
-
readonly as: "href";
|
|
172
|
-
}];
|
|
173
|
-
}];
|
|
174
|
-
};
|
|
175
164
|
};
|
|
176
165
|
"@eslint-react": {
|
|
177
166
|
meta: {
|
|
@@ -233,26 +222,16 @@ declare const plugins$6: {
|
|
|
233
222
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
234
223
|
"no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
235
224
|
};
|
|
236
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
237
|
-
readonly additionalHooks: {
|
|
238
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
239
|
-
};
|
|
240
|
-
readonly polymorphicPropName: "as";
|
|
241
|
-
readonly strictImportCheck: true;
|
|
242
|
-
readonly version: "detect";
|
|
243
|
-
};
|
|
244
225
|
};
|
|
245
226
|
};
|
|
246
227
|
declare const settings$5: {
|
|
247
228
|
"react-x": {
|
|
248
|
-
readonly
|
|
249
|
-
readonly
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
}];
|
|
255
|
-
}];
|
|
229
|
+
readonly additionalHooks: {
|
|
230
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
231
|
+
};
|
|
232
|
+
readonly polymorphicPropName: "as";
|
|
233
|
+
readonly strictImportCheck: false;
|
|
234
|
+
readonly version: "detect";
|
|
256
235
|
};
|
|
257
236
|
};
|
|
258
237
|
|
|
@@ -361,14 +340,6 @@ declare const plugins$5: {
|
|
|
361
340
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
362
341
|
"no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
363
342
|
};
|
|
364
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
365
|
-
readonly additionalHooks: {
|
|
366
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
367
|
-
};
|
|
368
|
-
readonly polymorphicPropName: "as";
|
|
369
|
-
readonly strictImportCheck: true;
|
|
370
|
-
readonly version: "detect";
|
|
371
|
-
};
|
|
372
343
|
};
|
|
373
344
|
};
|
|
374
345
|
declare const settings$4: {
|
|
@@ -377,7 +348,7 @@ declare const settings$4: {
|
|
|
377
348
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
378
349
|
};
|
|
379
350
|
readonly polymorphicPropName: "as";
|
|
380
|
-
readonly strictImportCheck:
|
|
351
|
+
readonly strictImportCheck: false;
|
|
381
352
|
readonly version: "detect";
|
|
382
353
|
};
|
|
383
354
|
};
|
|
@@ -500,28 +471,16 @@ declare const plugins$3: {
|
|
|
500
471
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
501
472
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
502
473
|
};
|
|
503
|
-
readonly DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
504
|
-
readonly additionalComponents: [{
|
|
505
|
-
readonly name: "Link";
|
|
506
|
-
readonly as: "a";
|
|
507
|
-
readonly attributes: [{
|
|
508
|
-
readonly name: "to";
|
|
509
|
-
readonly as: "href";
|
|
510
|
-
}];
|
|
511
|
-
}];
|
|
512
|
-
};
|
|
513
474
|
};
|
|
514
475
|
};
|
|
515
476
|
declare const settings$3: {
|
|
516
477
|
"react-x": {
|
|
517
|
-
readonly
|
|
518
|
-
readonly
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
}];
|
|
524
|
-
}];
|
|
478
|
+
readonly additionalHooks: {
|
|
479
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
480
|
+
};
|
|
481
|
+
readonly polymorphicPropName: "as";
|
|
482
|
+
readonly strictImportCheck: false;
|
|
483
|
+
readonly version: "detect";
|
|
525
484
|
};
|
|
526
485
|
};
|
|
527
486
|
|
|
@@ -735,7 +694,6 @@ declare const plugins$2: {
|
|
|
735
694
|
"no-leaked-resize-observer": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedResizeObserver" | "noLeakedResizeObserverInControlFlow" | "noLeakedResizeObserverNoFloatingInstance", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
736
695
|
"no-leaked-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedTimeoutInEffect" | "noLeakedTimeoutInLifecycle" | "noLeakedTimeoutNoTimeoutId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
737
696
|
};
|
|
738
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {};
|
|
739
697
|
};
|
|
740
698
|
"@eslint-react/dom": {
|
|
741
699
|
readonly meta: {
|
|
@@ -756,16 +714,6 @@ declare const plugins$2: {
|
|
|
756
714
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
757
715
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
758
716
|
};
|
|
759
|
-
readonly DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
760
|
-
readonly additionalComponents: [{
|
|
761
|
-
readonly name: "Link";
|
|
762
|
-
readonly as: "a";
|
|
763
|
-
readonly attributes: [{
|
|
764
|
-
readonly name: "to";
|
|
765
|
-
readonly as: "href";
|
|
766
|
-
}];
|
|
767
|
-
}];
|
|
768
|
-
};
|
|
769
717
|
};
|
|
770
718
|
"@eslint-react": {
|
|
771
719
|
meta: {
|
|
@@ -827,26 +775,16 @@ declare const plugins$2: {
|
|
|
827
775
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
828
776
|
"no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
829
777
|
};
|
|
830
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
831
|
-
readonly additionalHooks: {
|
|
832
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
833
|
-
};
|
|
834
|
-
readonly polymorphicPropName: "as";
|
|
835
|
-
readonly strictImportCheck: true;
|
|
836
|
-
readonly version: "detect";
|
|
837
|
-
};
|
|
838
778
|
};
|
|
839
779
|
};
|
|
840
780
|
declare const settings$2: {
|
|
841
781
|
"react-x": {
|
|
842
|
-
readonly
|
|
843
|
-
readonly
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
}];
|
|
849
|
-
}];
|
|
782
|
+
readonly additionalHooks: {
|
|
783
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
784
|
+
};
|
|
785
|
+
readonly polymorphicPropName: "as";
|
|
786
|
+
readonly strictImportCheck: false;
|
|
787
|
+
readonly version: "detect";
|
|
850
788
|
};
|
|
851
789
|
};
|
|
852
790
|
|
|
@@ -981,7 +919,6 @@ declare const plugins$1: {
|
|
|
981
919
|
"no-leaked-resize-observer": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedResizeObserver" | "noLeakedResizeObserverInControlFlow" | "noLeakedResizeObserverNoFloatingInstance", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
982
920
|
"no-leaked-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedTimeoutInEffect" | "noLeakedTimeoutInLifecycle" | "noLeakedTimeoutNoTimeoutId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
983
921
|
};
|
|
984
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {};
|
|
985
922
|
};
|
|
986
923
|
"@eslint-react/dom": {
|
|
987
924
|
readonly meta: {
|
|
@@ -1002,16 +939,6 @@ declare const plugins$1: {
|
|
|
1002
939
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1003
940
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1004
941
|
};
|
|
1005
|
-
readonly DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
1006
|
-
readonly additionalComponents: [{
|
|
1007
|
-
readonly name: "Link";
|
|
1008
|
-
readonly as: "a";
|
|
1009
|
-
readonly attributes: [{
|
|
1010
|
-
readonly name: "to";
|
|
1011
|
-
readonly as: "href";
|
|
1012
|
-
}];
|
|
1013
|
-
}];
|
|
1014
|
-
};
|
|
1015
942
|
};
|
|
1016
943
|
"@eslint-react": {
|
|
1017
944
|
meta: {
|
|
@@ -1073,26 +1000,16 @@ declare const plugins$1: {
|
|
|
1073
1000
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1074
1001
|
"no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1075
1002
|
};
|
|
1076
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
1077
|
-
readonly additionalHooks: {
|
|
1078
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1079
|
-
};
|
|
1080
|
-
readonly polymorphicPropName: "as";
|
|
1081
|
-
readonly strictImportCheck: true;
|
|
1082
|
-
readonly version: "detect";
|
|
1083
|
-
};
|
|
1084
1003
|
};
|
|
1085
1004
|
};
|
|
1086
1005
|
declare const settings$1: {
|
|
1087
1006
|
"react-x": {
|
|
1088
|
-
readonly
|
|
1089
|
-
readonly
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
}];
|
|
1095
|
-
}];
|
|
1007
|
+
readonly additionalHooks: {
|
|
1008
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1009
|
+
};
|
|
1010
|
+
readonly polymorphicPropName: "as";
|
|
1011
|
+
readonly strictImportCheck: false;
|
|
1012
|
+
readonly version: "detect";
|
|
1096
1013
|
};
|
|
1097
1014
|
};
|
|
1098
1015
|
|
|
@@ -1226,7 +1143,6 @@ declare const plugins: {
|
|
|
1226
1143
|
"no-leaked-resize-observer": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedResizeObserver" | "noLeakedResizeObserverInControlFlow" | "noLeakedResizeObserverNoFloatingInstance", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1227
1144
|
"no-leaked-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedTimeoutInEffect" | "noLeakedTimeoutInLifecycle" | "noLeakedTimeoutNoTimeoutId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1228
1145
|
};
|
|
1229
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {};
|
|
1230
1146
|
};
|
|
1231
1147
|
"@eslint-react/dom": {
|
|
1232
1148
|
readonly meta: {
|
|
@@ -1247,16 +1163,6 @@ declare const plugins: {
|
|
|
1247
1163
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1248
1164
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1249
1165
|
};
|
|
1250
|
-
readonly DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
1251
|
-
readonly additionalComponents: [{
|
|
1252
|
-
readonly name: "Link";
|
|
1253
|
-
readonly as: "a";
|
|
1254
|
-
readonly attributes: [{
|
|
1255
|
-
readonly name: "to";
|
|
1256
|
-
readonly as: "href";
|
|
1257
|
-
}];
|
|
1258
|
-
}];
|
|
1259
|
-
};
|
|
1260
1166
|
};
|
|
1261
1167
|
"@eslint-react": {
|
|
1262
1168
|
meta: {
|
|
@@ -1318,26 +1224,16 @@ declare const plugins: {
|
|
|
1318
1224
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1319
1225
|
"no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1320
1226
|
};
|
|
1321
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
1322
|
-
readonly additionalHooks: {
|
|
1323
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1324
|
-
};
|
|
1325
|
-
readonly polymorphicPropName: "as";
|
|
1326
|
-
readonly strictImportCheck: true;
|
|
1327
|
-
readonly version: "detect";
|
|
1328
|
-
};
|
|
1329
1227
|
};
|
|
1330
1228
|
};
|
|
1331
1229
|
declare const settings: {
|
|
1332
1230
|
"react-x": {
|
|
1333
|
-
readonly
|
|
1334
|
-
readonly
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
}];
|
|
1340
|
-
}];
|
|
1231
|
+
readonly additionalHooks: {
|
|
1232
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1233
|
+
};
|
|
1234
|
+
readonly polymorphicPropName: "as";
|
|
1235
|
+
readonly strictImportCheck: false;
|
|
1236
|
+
readonly version: "detect";
|
|
1341
1237
|
};
|
|
1342
1238
|
};
|
|
1343
1239
|
|
package/dist/index.d.ts
CHANGED
|
@@ -141,7 +141,6 @@ declare const plugins$6: {
|
|
|
141
141
|
"no-leaked-resize-observer": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedResizeObserver" | "noLeakedResizeObserverInControlFlow" | "noLeakedResizeObserverNoFloatingInstance", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
142
142
|
"no-leaked-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedTimeoutInEffect" | "noLeakedTimeoutInLifecycle" | "noLeakedTimeoutNoTimeoutId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
143
143
|
};
|
|
144
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {};
|
|
145
144
|
};
|
|
146
145
|
"@eslint-react/dom": {
|
|
147
146
|
readonly meta: {
|
|
@@ -162,16 +161,6 @@ declare const plugins$6: {
|
|
|
162
161
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
163
162
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
164
163
|
};
|
|
165
|
-
readonly DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
166
|
-
readonly additionalComponents: [{
|
|
167
|
-
readonly name: "Link";
|
|
168
|
-
readonly as: "a";
|
|
169
|
-
readonly attributes: [{
|
|
170
|
-
readonly name: "to";
|
|
171
|
-
readonly as: "href";
|
|
172
|
-
}];
|
|
173
|
-
}];
|
|
174
|
-
};
|
|
175
164
|
};
|
|
176
165
|
"@eslint-react": {
|
|
177
166
|
meta: {
|
|
@@ -233,26 +222,16 @@ declare const plugins$6: {
|
|
|
233
222
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
234
223
|
"no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
235
224
|
};
|
|
236
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
237
|
-
readonly additionalHooks: {
|
|
238
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
239
|
-
};
|
|
240
|
-
readonly polymorphicPropName: "as";
|
|
241
|
-
readonly strictImportCheck: true;
|
|
242
|
-
readonly version: "detect";
|
|
243
|
-
};
|
|
244
225
|
};
|
|
245
226
|
};
|
|
246
227
|
declare const settings$5: {
|
|
247
228
|
"react-x": {
|
|
248
|
-
readonly
|
|
249
|
-
readonly
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
}];
|
|
255
|
-
}];
|
|
229
|
+
readonly additionalHooks: {
|
|
230
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
231
|
+
};
|
|
232
|
+
readonly polymorphicPropName: "as";
|
|
233
|
+
readonly strictImportCheck: false;
|
|
234
|
+
readonly version: "detect";
|
|
256
235
|
};
|
|
257
236
|
};
|
|
258
237
|
|
|
@@ -361,14 +340,6 @@ declare const plugins$5: {
|
|
|
361
340
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
362
341
|
"no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
363
342
|
};
|
|
364
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
365
|
-
readonly additionalHooks: {
|
|
366
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
367
|
-
};
|
|
368
|
-
readonly polymorphicPropName: "as";
|
|
369
|
-
readonly strictImportCheck: true;
|
|
370
|
-
readonly version: "detect";
|
|
371
|
-
};
|
|
372
343
|
};
|
|
373
344
|
};
|
|
374
345
|
declare const settings$4: {
|
|
@@ -377,7 +348,7 @@ declare const settings$4: {
|
|
|
377
348
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
378
349
|
};
|
|
379
350
|
readonly polymorphicPropName: "as";
|
|
380
|
-
readonly strictImportCheck:
|
|
351
|
+
readonly strictImportCheck: false;
|
|
381
352
|
readonly version: "detect";
|
|
382
353
|
};
|
|
383
354
|
};
|
|
@@ -500,28 +471,16 @@ declare const plugins$3: {
|
|
|
500
471
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
501
472
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
502
473
|
};
|
|
503
|
-
readonly DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
504
|
-
readonly additionalComponents: [{
|
|
505
|
-
readonly name: "Link";
|
|
506
|
-
readonly as: "a";
|
|
507
|
-
readonly attributes: [{
|
|
508
|
-
readonly name: "to";
|
|
509
|
-
readonly as: "href";
|
|
510
|
-
}];
|
|
511
|
-
}];
|
|
512
|
-
};
|
|
513
474
|
};
|
|
514
475
|
};
|
|
515
476
|
declare const settings$3: {
|
|
516
477
|
"react-x": {
|
|
517
|
-
readonly
|
|
518
|
-
readonly
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
}];
|
|
524
|
-
}];
|
|
478
|
+
readonly additionalHooks: {
|
|
479
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
480
|
+
};
|
|
481
|
+
readonly polymorphicPropName: "as";
|
|
482
|
+
readonly strictImportCheck: false;
|
|
483
|
+
readonly version: "detect";
|
|
525
484
|
};
|
|
526
485
|
};
|
|
527
486
|
|
|
@@ -735,7 +694,6 @@ declare const plugins$2: {
|
|
|
735
694
|
"no-leaked-resize-observer": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedResizeObserver" | "noLeakedResizeObserverInControlFlow" | "noLeakedResizeObserverNoFloatingInstance", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
736
695
|
"no-leaked-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedTimeoutInEffect" | "noLeakedTimeoutInLifecycle" | "noLeakedTimeoutNoTimeoutId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
737
696
|
};
|
|
738
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {};
|
|
739
697
|
};
|
|
740
698
|
"@eslint-react/dom": {
|
|
741
699
|
readonly meta: {
|
|
@@ -756,16 +714,6 @@ declare const plugins$2: {
|
|
|
756
714
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
757
715
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
758
716
|
};
|
|
759
|
-
readonly DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
760
|
-
readonly additionalComponents: [{
|
|
761
|
-
readonly name: "Link";
|
|
762
|
-
readonly as: "a";
|
|
763
|
-
readonly attributes: [{
|
|
764
|
-
readonly name: "to";
|
|
765
|
-
readonly as: "href";
|
|
766
|
-
}];
|
|
767
|
-
}];
|
|
768
|
-
};
|
|
769
717
|
};
|
|
770
718
|
"@eslint-react": {
|
|
771
719
|
meta: {
|
|
@@ -827,26 +775,16 @@ declare const plugins$2: {
|
|
|
827
775
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
828
776
|
"no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
829
777
|
};
|
|
830
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
831
|
-
readonly additionalHooks: {
|
|
832
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
833
|
-
};
|
|
834
|
-
readonly polymorphicPropName: "as";
|
|
835
|
-
readonly strictImportCheck: true;
|
|
836
|
-
readonly version: "detect";
|
|
837
|
-
};
|
|
838
778
|
};
|
|
839
779
|
};
|
|
840
780
|
declare const settings$2: {
|
|
841
781
|
"react-x": {
|
|
842
|
-
readonly
|
|
843
|
-
readonly
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
}];
|
|
849
|
-
}];
|
|
782
|
+
readonly additionalHooks: {
|
|
783
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
784
|
+
};
|
|
785
|
+
readonly polymorphicPropName: "as";
|
|
786
|
+
readonly strictImportCheck: false;
|
|
787
|
+
readonly version: "detect";
|
|
850
788
|
};
|
|
851
789
|
};
|
|
852
790
|
|
|
@@ -981,7 +919,6 @@ declare const plugins$1: {
|
|
|
981
919
|
"no-leaked-resize-observer": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedResizeObserver" | "noLeakedResizeObserverInControlFlow" | "noLeakedResizeObserverNoFloatingInstance", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
982
920
|
"no-leaked-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedTimeoutInEffect" | "noLeakedTimeoutInLifecycle" | "noLeakedTimeoutNoTimeoutId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
983
921
|
};
|
|
984
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {};
|
|
985
922
|
};
|
|
986
923
|
"@eslint-react/dom": {
|
|
987
924
|
readonly meta: {
|
|
@@ -1002,16 +939,6 @@ declare const plugins$1: {
|
|
|
1002
939
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1003
940
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1004
941
|
};
|
|
1005
|
-
readonly DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
1006
|
-
readonly additionalComponents: [{
|
|
1007
|
-
readonly name: "Link";
|
|
1008
|
-
readonly as: "a";
|
|
1009
|
-
readonly attributes: [{
|
|
1010
|
-
readonly name: "to";
|
|
1011
|
-
readonly as: "href";
|
|
1012
|
-
}];
|
|
1013
|
-
}];
|
|
1014
|
-
};
|
|
1015
942
|
};
|
|
1016
943
|
"@eslint-react": {
|
|
1017
944
|
meta: {
|
|
@@ -1073,26 +1000,16 @@ declare const plugins$1: {
|
|
|
1073
1000
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1074
1001
|
"no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1075
1002
|
};
|
|
1076
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
1077
|
-
readonly additionalHooks: {
|
|
1078
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1079
|
-
};
|
|
1080
|
-
readonly polymorphicPropName: "as";
|
|
1081
|
-
readonly strictImportCheck: true;
|
|
1082
|
-
readonly version: "detect";
|
|
1083
|
-
};
|
|
1084
1003
|
};
|
|
1085
1004
|
};
|
|
1086
1005
|
declare const settings$1: {
|
|
1087
1006
|
"react-x": {
|
|
1088
|
-
readonly
|
|
1089
|
-
readonly
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
}];
|
|
1095
|
-
}];
|
|
1007
|
+
readonly additionalHooks: {
|
|
1008
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1009
|
+
};
|
|
1010
|
+
readonly polymorphicPropName: "as";
|
|
1011
|
+
readonly strictImportCheck: false;
|
|
1012
|
+
readonly version: "detect";
|
|
1096
1013
|
};
|
|
1097
1014
|
};
|
|
1098
1015
|
|
|
@@ -1226,7 +1143,6 @@ declare const plugins: {
|
|
|
1226
1143
|
"no-leaked-resize-observer": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedResizeObserver" | "noLeakedResizeObserverInControlFlow" | "noLeakedResizeObserverNoFloatingInstance", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1227
1144
|
"no-leaked-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedTimeoutInEffect" | "noLeakedTimeoutInLifecycle" | "noLeakedTimeoutNoTimeoutId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1228
1145
|
};
|
|
1229
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {};
|
|
1230
1146
|
};
|
|
1231
1147
|
"@eslint-react/dom": {
|
|
1232
1148
|
readonly meta: {
|
|
@@ -1247,16 +1163,6 @@ declare const plugins: {
|
|
|
1247
1163
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1248
1164
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1249
1165
|
};
|
|
1250
|
-
readonly DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
1251
|
-
readonly additionalComponents: [{
|
|
1252
|
-
readonly name: "Link";
|
|
1253
|
-
readonly as: "a";
|
|
1254
|
-
readonly attributes: [{
|
|
1255
|
-
readonly name: "to";
|
|
1256
|
-
readonly as: "href";
|
|
1257
|
-
}];
|
|
1258
|
-
}];
|
|
1259
|
-
};
|
|
1260
1166
|
};
|
|
1261
1167
|
"@eslint-react": {
|
|
1262
1168
|
meta: {
|
|
@@ -1318,26 +1224,16 @@ declare const plugins: {
|
|
|
1318
1224
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1319
1225
|
"no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1320
1226
|
};
|
|
1321
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
1322
|
-
readonly additionalHooks: {
|
|
1323
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1324
|
-
};
|
|
1325
|
-
readonly polymorphicPropName: "as";
|
|
1326
|
-
readonly strictImportCheck: true;
|
|
1327
|
-
readonly version: "detect";
|
|
1328
|
-
};
|
|
1329
1227
|
};
|
|
1330
1228
|
};
|
|
1331
1229
|
declare const settings: {
|
|
1332
1230
|
"react-x": {
|
|
1333
|
-
readonly
|
|
1334
|
-
readonly
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
}];
|
|
1340
|
-
}];
|
|
1231
|
+
readonly additionalHooks: {
|
|
1232
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1233
|
+
};
|
|
1234
|
+
readonly polymorphicPropName: "as";
|
|
1235
|
+
readonly strictImportCheck: false;
|
|
1236
|
+
readonly version: "detect";
|
|
1341
1237
|
};
|
|
1342
1238
|
};
|
|
1343
1239
|
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var reactHooksExtra = require('eslint-plugin-react-hooks-extra');
|
|
|
6
6
|
var reactNamingConvention = require('eslint-plugin-react-naming-convention');
|
|
7
7
|
var reactWebApi = require('eslint-plugin-react-web-api');
|
|
8
8
|
var react = require('eslint-plugin-react-x');
|
|
9
|
+
var shared = require('@eslint-react/shared');
|
|
9
10
|
var tools = require('@eslint-react/tools');
|
|
10
11
|
|
|
11
12
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -25,7 +26,7 @@ var __export = (target, all) => {
|
|
|
25
26
|
|
|
26
27
|
// package.json
|
|
27
28
|
var name = "@eslint-react/eslint-plugin";
|
|
28
|
-
var version = "1.
|
|
29
|
+
var version = "1.20.0-beta.13";
|
|
29
30
|
|
|
30
31
|
// src/configs/all.ts
|
|
31
32
|
var all_exports = {};
|
|
@@ -88,7 +89,7 @@ var plugins = {
|
|
|
88
89
|
"@eslint-react": react__default.default
|
|
89
90
|
};
|
|
90
91
|
var settings = {
|
|
91
|
-
"react-x":
|
|
92
|
+
"react-x": shared.DEFAULT_ESLINT_REACT_SETTINGS
|
|
92
93
|
};
|
|
93
94
|
|
|
94
95
|
// src/configs/dom.ts
|
|
@@ -119,7 +120,7 @@ var plugins2 = {
|
|
|
119
120
|
"@eslint-react/dom": reactDom__default.default
|
|
120
121
|
};
|
|
121
122
|
var settings2 = {
|
|
122
|
-
"react-x":
|
|
123
|
+
"react-x": shared.DEFAULT_ESLINT_REACT_SETTINGS
|
|
123
124
|
};
|
|
124
125
|
|
|
125
126
|
// src/configs/all.ts
|
package/dist/index.mjs
CHANGED
|
@@ -4,6 +4,7 @@ import reactHooksExtra from 'eslint-plugin-react-hooks-extra';
|
|
|
4
4
|
import reactNamingConvention from 'eslint-plugin-react-naming-convention';
|
|
5
5
|
import reactWebApi from 'eslint-plugin-react-web-api';
|
|
6
6
|
import react from 'eslint-plugin-react-x';
|
|
7
|
+
import { DEFAULT_ESLINT_REACT_SETTINGS } from '@eslint-react/shared';
|
|
7
8
|
import { fromEntries, entries, typeOf } from '@eslint-react/tools';
|
|
8
9
|
|
|
9
10
|
var __defProp = Object.defineProperty;
|
|
@@ -14,7 +15,7 @@ var __export = (target, all) => {
|
|
|
14
15
|
|
|
15
16
|
// package.json
|
|
16
17
|
var name = "@eslint-react/eslint-plugin";
|
|
17
|
-
var version = "1.
|
|
18
|
+
var version = "1.20.0-beta.13";
|
|
18
19
|
|
|
19
20
|
// src/configs/all.ts
|
|
20
21
|
var all_exports = {};
|
|
@@ -77,7 +78,7 @@ var plugins = {
|
|
|
77
78
|
"@eslint-react": react
|
|
78
79
|
};
|
|
79
80
|
var settings = {
|
|
80
|
-
"react-x":
|
|
81
|
+
"react-x": DEFAULT_ESLINT_REACT_SETTINGS
|
|
81
82
|
};
|
|
82
83
|
|
|
83
84
|
// src/configs/dom.ts
|
|
@@ -108,7 +109,7 @@ var plugins2 = {
|
|
|
108
109
|
"@eslint-react/dom": reactDom
|
|
109
110
|
};
|
|
110
111
|
var settings2 = {
|
|
111
|
-
"react-x":
|
|
112
|
+
"react-x": DEFAULT_ESLINT_REACT_SETTINGS
|
|
112
113
|
};
|
|
113
114
|
|
|
114
115
|
// src/configs/all.ts
|
package/package.json
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0-beta.13",
|
|
4
4
|
"description": "The main ESLint plugin of ESLint React. Contains all the rules and presets of ESLint React.",
|
|
5
5
|
"keywords": [
|
|
6
|
+
"react",
|
|
6
7
|
"eslint",
|
|
7
|
-
"eslint-plugin",
|
|
8
8
|
"eslint-react",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
9
|
+
"eslint-plugin",
|
|
10
|
+
"eslint-plugin-react-x",
|
|
11
|
+
"eslint-plugin-react-dom",
|
|
12
|
+
"eslint-plugin-react-web-api",
|
|
13
|
+
"eslint-plugin-react-hooks-extra",
|
|
14
|
+
"eslint-plugin-react-naming-convention"
|
|
12
15
|
],
|
|
13
16
|
"homepage": "https://github.com/rel1cx/eslint-react",
|
|
14
17
|
"bugs": {
|
|
@@ -47,18 +50,19 @@
|
|
|
47
50
|
"@typescript-eslint/type-utils": "^8.18.0",
|
|
48
51
|
"@typescript-eslint/types": "^8.18.0",
|
|
49
52
|
"@typescript-eslint/utils": "^8.18.0",
|
|
50
|
-
"@eslint-react/shared": "1.
|
|
51
|
-
"@eslint-react/tools": "1.
|
|
52
|
-
"@eslint-react/types": "1.
|
|
53
|
-
"eslint-plugin-react-debug": "1.
|
|
54
|
-
"eslint-plugin-react-dom": "1.
|
|
55
|
-
"eslint-plugin-react-
|
|
56
|
-
"eslint-plugin-react-
|
|
57
|
-
"eslint-plugin-react-
|
|
58
|
-
"eslint-plugin-react-x": "1.
|
|
53
|
+
"@eslint-react/shared": "1.20.0-beta.13",
|
|
54
|
+
"@eslint-react/tools": "1.20.0-beta.13",
|
|
55
|
+
"@eslint-react/types": "1.20.0-beta.13",
|
|
56
|
+
"eslint-plugin-react-debug": "1.20.0-beta.13",
|
|
57
|
+
"eslint-plugin-react-dom": "1.20.0-beta.13",
|
|
58
|
+
"eslint-plugin-react-naming-convention": "1.20.0-beta.13",
|
|
59
|
+
"eslint-plugin-react-web-api": "1.20.0-beta.13",
|
|
60
|
+
"eslint-plugin-react-hooks-extra": "1.20.0-beta.13",
|
|
61
|
+
"eslint-plugin-react-x": "1.20.0-beta.13"
|
|
59
62
|
},
|
|
60
63
|
"devDependencies": {
|
|
61
|
-
"tsup": "^8.3.5"
|
|
64
|
+
"tsup": "^8.3.5",
|
|
65
|
+
"@workspace/configs": "0.0.0"
|
|
62
66
|
},
|
|
63
67
|
"peerDependencies": {
|
|
64
68
|
"eslint": "^8.57.0 || ^9.0.0",
|