eslint-plugin-react-x 2.0.0-next.2 → 2.0.0-next.4
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/dist/index.d.ts +0 -20
- package/dist/index.js +380 -623
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -18,8 +18,6 @@ declare const _default: {
|
|
|
18
18
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19
19
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
20
20
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
21
|
-
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
22
|
-
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
23
21
|
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
24
22
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
25
23
|
readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -64,9 +62,6 @@ declare const _default: {
|
|
|
64
62
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
65
63
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
66
64
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
67
|
-
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
68
|
-
allowExpressions: boolean;
|
|
69
|
-
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
70
65
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
71
66
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
72
67
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -91,8 +86,6 @@ declare const _default: {
|
|
|
91
86
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
92
87
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
93
88
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
94
|
-
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
95
|
-
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
96
89
|
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
97
90
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
98
91
|
readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -137,9 +130,6 @@ declare const _default: {
|
|
|
137
130
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
138
131
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
139
132
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
140
|
-
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
141
|
-
allowExpressions: boolean;
|
|
142
|
-
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
143
133
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
144
134
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
145
135
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -164,8 +154,6 @@ declare const _default: {
|
|
|
164
154
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
165
155
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
166
156
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
167
|
-
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
168
|
-
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
169
157
|
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
170
158
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
171
159
|
readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -210,9 +198,6 @@ declare const _default: {
|
|
|
210
198
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
211
199
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
212
200
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
213
|
-
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
214
|
-
allowExpressions: boolean;
|
|
215
|
-
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
216
201
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
217
202
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
218
203
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -235,8 +220,6 @@ declare const _default: {
|
|
|
235
220
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
236
221
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
237
222
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
238
|
-
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
239
|
-
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
240
223
|
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
241
224
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
242
225
|
readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -281,9 +264,6 @@ declare const _default: {
|
|
|
281
264
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
282
265
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
283
266
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
284
|
-
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
285
|
-
allowExpressions: boolean;
|
|
286
|
-
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
287
267
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
288
268
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
289
269
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|