@eslint-react/eslint-plugin 1.24.0-next.11 → 1.24.0-next.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/dist/index.d.mts +48 -48
- package/dist/index.d.ts +48 -48
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -231,26 +231,26 @@ declare const plugins$6: {
|
|
|
231
231
|
};
|
|
232
232
|
declare const settings$5: {
|
|
233
233
|
"react-x": {
|
|
234
|
+
readonly importSource: "react";
|
|
235
|
+
readonly jsxPragma: "createElement";
|
|
236
|
+
readonly jsxPragmaFrag: "Fragment";
|
|
237
|
+
readonly polymorphicPropName: "as";
|
|
238
|
+
readonly strict: false;
|
|
239
|
+
readonly strictImportCheck: false;
|
|
240
|
+
readonly version: "detect";
|
|
234
241
|
readonly additionalHooks: {
|
|
235
242
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
236
243
|
};
|
|
237
|
-
readonly version: string;
|
|
238
|
-
readonly importSource: string;
|
|
239
|
-
readonly jsxPragma: string;
|
|
240
|
-
readonly jsxPragmaFrag: string;
|
|
241
|
-
readonly polymorphicPropName: string;
|
|
242
|
-
readonly strict: boolean;
|
|
243
|
-
readonly strictImportCheck: boolean;
|
|
244
244
|
readonly additionalComponents?: {
|
|
245
245
|
name: string;
|
|
246
246
|
as?: string;
|
|
247
|
-
selector?: string;
|
|
248
247
|
attributes?: {
|
|
249
248
|
name: string;
|
|
250
249
|
as?: string;
|
|
251
250
|
controlled?: boolean;
|
|
252
251
|
defaultValue?: string;
|
|
253
252
|
}[];
|
|
253
|
+
selector?: string;
|
|
254
254
|
}[];
|
|
255
255
|
};
|
|
256
256
|
};
|
|
@@ -366,26 +366,26 @@ declare const plugins$5: {
|
|
|
366
366
|
};
|
|
367
367
|
declare const settings$4: {
|
|
368
368
|
"react-x": {
|
|
369
|
+
readonly importSource: "react";
|
|
370
|
+
readonly jsxPragma: "createElement";
|
|
371
|
+
readonly jsxPragmaFrag: "Fragment";
|
|
372
|
+
readonly polymorphicPropName: "as";
|
|
373
|
+
readonly strict: false;
|
|
374
|
+
readonly strictImportCheck: false;
|
|
375
|
+
readonly version: "detect";
|
|
369
376
|
readonly additionalHooks: {
|
|
370
377
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
371
378
|
};
|
|
372
|
-
readonly version: string;
|
|
373
|
-
readonly importSource: string;
|
|
374
|
-
readonly jsxPragma: string;
|
|
375
|
-
readonly jsxPragmaFrag: string;
|
|
376
|
-
readonly polymorphicPropName: string;
|
|
377
|
-
readonly strict: boolean;
|
|
378
|
-
readonly strictImportCheck: boolean;
|
|
379
379
|
readonly additionalComponents?: {
|
|
380
380
|
name: string;
|
|
381
381
|
as?: string;
|
|
382
|
-
selector?: string;
|
|
383
382
|
attributes?: {
|
|
384
383
|
name: string;
|
|
385
384
|
as?: string;
|
|
386
385
|
controlled?: boolean;
|
|
387
386
|
defaultValue?: string;
|
|
388
387
|
}[];
|
|
388
|
+
selector?: string;
|
|
389
389
|
}[];
|
|
390
390
|
};
|
|
391
391
|
};
|
|
@@ -513,26 +513,26 @@ declare const plugins$3: {
|
|
|
513
513
|
};
|
|
514
514
|
declare const settings$3: {
|
|
515
515
|
"react-x": {
|
|
516
|
+
readonly importSource: "react";
|
|
517
|
+
readonly jsxPragma: "createElement";
|
|
518
|
+
readonly jsxPragmaFrag: "Fragment";
|
|
519
|
+
readonly polymorphicPropName: "as";
|
|
520
|
+
readonly strict: false;
|
|
521
|
+
readonly strictImportCheck: false;
|
|
522
|
+
readonly version: "detect";
|
|
516
523
|
readonly additionalHooks: {
|
|
517
524
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
518
525
|
};
|
|
519
|
-
readonly version: string;
|
|
520
|
-
readonly importSource: string;
|
|
521
|
-
readonly jsxPragma: string;
|
|
522
|
-
readonly jsxPragmaFrag: string;
|
|
523
|
-
readonly polymorphicPropName: string;
|
|
524
|
-
readonly strict: boolean;
|
|
525
|
-
readonly strictImportCheck: boolean;
|
|
526
526
|
readonly additionalComponents?: {
|
|
527
527
|
name: string;
|
|
528
528
|
as?: string;
|
|
529
|
-
selector?: string;
|
|
530
529
|
attributes?: {
|
|
531
530
|
name: string;
|
|
532
531
|
as?: string;
|
|
533
532
|
controlled?: boolean;
|
|
534
533
|
defaultValue?: string;
|
|
535
534
|
}[];
|
|
535
|
+
selector?: string;
|
|
536
536
|
}[];
|
|
537
537
|
};
|
|
538
538
|
};
|
|
@@ -837,26 +837,26 @@ declare const plugins$2: {
|
|
|
837
837
|
};
|
|
838
838
|
declare const settings$2: {
|
|
839
839
|
"react-x": {
|
|
840
|
+
readonly importSource: "react";
|
|
841
|
+
readonly jsxPragma: "createElement";
|
|
842
|
+
readonly jsxPragmaFrag: "Fragment";
|
|
843
|
+
readonly polymorphicPropName: "as";
|
|
844
|
+
readonly strict: false;
|
|
845
|
+
readonly strictImportCheck: false;
|
|
846
|
+
readonly version: "detect";
|
|
840
847
|
readonly additionalHooks: {
|
|
841
848
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
842
849
|
};
|
|
843
|
-
readonly version: string;
|
|
844
|
-
readonly importSource: string;
|
|
845
|
-
readonly jsxPragma: string;
|
|
846
|
-
readonly jsxPragmaFrag: string;
|
|
847
|
-
readonly polymorphicPropName: string;
|
|
848
|
-
readonly strict: boolean;
|
|
849
|
-
readonly strictImportCheck: boolean;
|
|
850
850
|
readonly additionalComponents?: {
|
|
851
851
|
name: string;
|
|
852
852
|
as?: string;
|
|
853
|
-
selector?: string;
|
|
854
853
|
attributes?: {
|
|
855
854
|
name: string;
|
|
856
855
|
as?: string;
|
|
857
856
|
controlled?: boolean;
|
|
858
857
|
defaultValue?: string;
|
|
859
858
|
}[];
|
|
859
|
+
selector?: string;
|
|
860
860
|
}[];
|
|
861
861
|
};
|
|
862
862
|
};
|
|
@@ -1082,26 +1082,26 @@ declare const plugins$1: {
|
|
|
1082
1082
|
};
|
|
1083
1083
|
declare const settings$1: {
|
|
1084
1084
|
"react-x": {
|
|
1085
|
+
readonly importSource: "react";
|
|
1086
|
+
readonly jsxPragma: "createElement";
|
|
1087
|
+
readonly jsxPragmaFrag: "Fragment";
|
|
1088
|
+
readonly polymorphicPropName: "as";
|
|
1089
|
+
readonly strict: false;
|
|
1090
|
+
readonly strictImportCheck: false;
|
|
1091
|
+
readonly version: "detect";
|
|
1085
1092
|
readonly additionalHooks: {
|
|
1086
1093
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1087
1094
|
};
|
|
1088
|
-
readonly version: string;
|
|
1089
|
-
readonly importSource: string;
|
|
1090
|
-
readonly jsxPragma: string;
|
|
1091
|
-
readonly jsxPragmaFrag: string;
|
|
1092
|
-
readonly polymorphicPropName: string;
|
|
1093
|
-
readonly strict: boolean;
|
|
1094
|
-
readonly strictImportCheck: boolean;
|
|
1095
1095
|
readonly additionalComponents?: {
|
|
1096
1096
|
name: string;
|
|
1097
1097
|
as?: string;
|
|
1098
|
-
selector?: string;
|
|
1099
1098
|
attributes?: {
|
|
1100
1099
|
name: string;
|
|
1101
1100
|
as?: string;
|
|
1102
1101
|
controlled?: boolean;
|
|
1103
1102
|
defaultValue?: string;
|
|
1104
1103
|
}[];
|
|
1104
|
+
selector?: string;
|
|
1105
1105
|
}[];
|
|
1106
1106
|
};
|
|
1107
1107
|
};
|
|
@@ -1326,26 +1326,26 @@ declare const plugins: {
|
|
|
1326
1326
|
};
|
|
1327
1327
|
declare const settings: {
|
|
1328
1328
|
"react-x": {
|
|
1329
|
+
readonly importSource: "react";
|
|
1330
|
+
readonly jsxPragma: "createElement";
|
|
1331
|
+
readonly jsxPragmaFrag: "Fragment";
|
|
1332
|
+
readonly polymorphicPropName: "as";
|
|
1333
|
+
readonly strict: false;
|
|
1334
|
+
readonly strictImportCheck: false;
|
|
1335
|
+
readonly version: "detect";
|
|
1329
1336
|
readonly additionalHooks: {
|
|
1330
1337
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1331
1338
|
};
|
|
1332
|
-
readonly version: string;
|
|
1333
|
-
readonly importSource: string;
|
|
1334
|
-
readonly jsxPragma: string;
|
|
1335
|
-
readonly jsxPragmaFrag: string;
|
|
1336
|
-
readonly polymorphicPropName: string;
|
|
1337
|
-
readonly strict: boolean;
|
|
1338
|
-
readonly strictImportCheck: boolean;
|
|
1339
1339
|
readonly additionalComponents?: {
|
|
1340
1340
|
name: string;
|
|
1341
1341
|
as?: string;
|
|
1342
|
-
selector?: string;
|
|
1343
1342
|
attributes?: {
|
|
1344
1343
|
name: string;
|
|
1345
1344
|
as?: string;
|
|
1346
1345
|
controlled?: boolean;
|
|
1347
1346
|
defaultValue?: string;
|
|
1348
1347
|
}[];
|
|
1348
|
+
selector?: string;
|
|
1349
1349
|
}[];
|
|
1350
1350
|
};
|
|
1351
1351
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -231,26 +231,26 @@ declare const plugins$6: {
|
|
|
231
231
|
};
|
|
232
232
|
declare const settings$5: {
|
|
233
233
|
"react-x": {
|
|
234
|
+
readonly importSource: "react";
|
|
235
|
+
readonly jsxPragma: "createElement";
|
|
236
|
+
readonly jsxPragmaFrag: "Fragment";
|
|
237
|
+
readonly polymorphicPropName: "as";
|
|
238
|
+
readonly strict: false;
|
|
239
|
+
readonly strictImportCheck: false;
|
|
240
|
+
readonly version: "detect";
|
|
234
241
|
readonly additionalHooks: {
|
|
235
242
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
236
243
|
};
|
|
237
|
-
readonly version: string;
|
|
238
|
-
readonly importSource: string;
|
|
239
|
-
readonly jsxPragma: string;
|
|
240
|
-
readonly jsxPragmaFrag: string;
|
|
241
|
-
readonly polymorphicPropName: string;
|
|
242
|
-
readonly strict: boolean;
|
|
243
|
-
readonly strictImportCheck: boolean;
|
|
244
244
|
readonly additionalComponents?: {
|
|
245
245
|
name: string;
|
|
246
246
|
as?: string;
|
|
247
|
-
selector?: string;
|
|
248
247
|
attributes?: {
|
|
249
248
|
name: string;
|
|
250
249
|
as?: string;
|
|
251
250
|
controlled?: boolean;
|
|
252
251
|
defaultValue?: string;
|
|
253
252
|
}[];
|
|
253
|
+
selector?: string;
|
|
254
254
|
}[];
|
|
255
255
|
};
|
|
256
256
|
};
|
|
@@ -366,26 +366,26 @@ declare const plugins$5: {
|
|
|
366
366
|
};
|
|
367
367
|
declare const settings$4: {
|
|
368
368
|
"react-x": {
|
|
369
|
+
readonly importSource: "react";
|
|
370
|
+
readonly jsxPragma: "createElement";
|
|
371
|
+
readonly jsxPragmaFrag: "Fragment";
|
|
372
|
+
readonly polymorphicPropName: "as";
|
|
373
|
+
readonly strict: false;
|
|
374
|
+
readonly strictImportCheck: false;
|
|
375
|
+
readonly version: "detect";
|
|
369
376
|
readonly additionalHooks: {
|
|
370
377
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
371
378
|
};
|
|
372
|
-
readonly version: string;
|
|
373
|
-
readonly importSource: string;
|
|
374
|
-
readonly jsxPragma: string;
|
|
375
|
-
readonly jsxPragmaFrag: string;
|
|
376
|
-
readonly polymorphicPropName: string;
|
|
377
|
-
readonly strict: boolean;
|
|
378
|
-
readonly strictImportCheck: boolean;
|
|
379
379
|
readonly additionalComponents?: {
|
|
380
380
|
name: string;
|
|
381
381
|
as?: string;
|
|
382
|
-
selector?: string;
|
|
383
382
|
attributes?: {
|
|
384
383
|
name: string;
|
|
385
384
|
as?: string;
|
|
386
385
|
controlled?: boolean;
|
|
387
386
|
defaultValue?: string;
|
|
388
387
|
}[];
|
|
388
|
+
selector?: string;
|
|
389
389
|
}[];
|
|
390
390
|
};
|
|
391
391
|
};
|
|
@@ -513,26 +513,26 @@ declare const plugins$3: {
|
|
|
513
513
|
};
|
|
514
514
|
declare const settings$3: {
|
|
515
515
|
"react-x": {
|
|
516
|
+
readonly importSource: "react";
|
|
517
|
+
readonly jsxPragma: "createElement";
|
|
518
|
+
readonly jsxPragmaFrag: "Fragment";
|
|
519
|
+
readonly polymorphicPropName: "as";
|
|
520
|
+
readonly strict: false;
|
|
521
|
+
readonly strictImportCheck: false;
|
|
522
|
+
readonly version: "detect";
|
|
516
523
|
readonly additionalHooks: {
|
|
517
524
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
518
525
|
};
|
|
519
|
-
readonly version: string;
|
|
520
|
-
readonly importSource: string;
|
|
521
|
-
readonly jsxPragma: string;
|
|
522
|
-
readonly jsxPragmaFrag: string;
|
|
523
|
-
readonly polymorphicPropName: string;
|
|
524
|
-
readonly strict: boolean;
|
|
525
|
-
readonly strictImportCheck: boolean;
|
|
526
526
|
readonly additionalComponents?: {
|
|
527
527
|
name: string;
|
|
528
528
|
as?: string;
|
|
529
|
-
selector?: string;
|
|
530
529
|
attributes?: {
|
|
531
530
|
name: string;
|
|
532
531
|
as?: string;
|
|
533
532
|
controlled?: boolean;
|
|
534
533
|
defaultValue?: string;
|
|
535
534
|
}[];
|
|
535
|
+
selector?: string;
|
|
536
536
|
}[];
|
|
537
537
|
};
|
|
538
538
|
};
|
|
@@ -837,26 +837,26 @@ declare const plugins$2: {
|
|
|
837
837
|
};
|
|
838
838
|
declare const settings$2: {
|
|
839
839
|
"react-x": {
|
|
840
|
+
readonly importSource: "react";
|
|
841
|
+
readonly jsxPragma: "createElement";
|
|
842
|
+
readonly jsxPragmaFrag: "Fragment";
|
|
843
|
+
readonly polymorphicPropName: "as";
|
|
844
|
+
readonly strict: false;
|
|
845
|
+
readonly strictImportCheck: false;
|
|
846
|
+
readonly version: "detect";
|
|
840
847
|
readonly additionalHooks: {
|
|
841
848
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
842
849
|
};
|
|
843
|
-
readonly version: string;
|
|
844
|
-
readonly importSource: string;
|
|
845
|
-
readonly jsxPragma: string;
|
|
846
|
-
readonly jsxPragmaFrag: string;
|
|
847
|
-
readonly polymorphicPropName: string;
|
|
848
|
-
readonly strict: boolean;
|
|
849
|
-
readonly strictImportCheck: boolean;
|
|
850
850
|
readonly additionalComponents?: {
|
|
851
851
|
name: string;
|
|
852
852
|
as?: string;
|
|
853
|
-
selector?: string;
|
|
854
853
|
attributes?: {
|
|
855
854
|
name: string;
|
|
856
855
|
as?: string;
|
|
857
856
|
controlled?: boolean;
|
|
858
857
|
defaultValue?: string;
|
|
859
858
|
}[];
|
|
859
|
+
selector?: string;
|
|
860
860
|
}[];
|
|
861
861
|
};
|
|
862
862
|
};
|
|
@@ -1082,26 +1082,26 @@ declare const plugins$1: {
|
|
|
1082
1082
|
};
|
|
1083
1083
|
declare const settings$1: {
|
|
1084
1084
|
"react-x": {
|
|
1085
|
+
readonly importSource: "react";
|
|
1086
|
+
readonly jsxPragma: "createElement";
|
|
1087
|
+
readonly jsxPragmaFrag: "Fragment";
|
|
1088
|
+
readonly polymorphicPropName: "as";
|
|
1089
|
+
readonly strict: false;
|
|
1090
|
+
readonly strictImportCheck: false;
|
|
1091
|
+
readonly version: "detect";
|
|
1085
1092
|
readonly additionalHooks: {
|
|
1086
1093
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1087
1094
|
};
|
|
1088
|
-
readonly version: string;
|
|
1089
|
-
readonly importSource: string;
|
|
1090
|
-
readonly jsxPragma: string;
|
|
1091
|
-
readonly jsxPragmaFrag: string;
|
|
1092
|
-
readonly polymorphicPropName: string;
|
|
1093
|
-
readonly strict: boolean;
|
|
1094
|
-
readonly strictImportCheck: boolean;
|
|
1095
1095
|
readonly additionalComponents?: {
|
|
1096
1096
|
name: string;
|
|
1097
1097
|
as?: string;
|
|
1098
|
-
selector?: string;
|
|
1099
1098
|
attributes?: {
|
|
1100
1099
|
name: string;
|
|
1101
1100
|
as?: string;
|
|
1102
1101
|
controlled?: boolean;
|
|
1103
1102
|
defaultValue?: string;
|
|
1104
1103
|
}[];
|
|
1104
|
+
selector?: string;
|
|
1105
1105
|
}[];
|
|
1106
1106
|
};
|
|
1107
1107
|
};
|
|
@@ -1326,26 +1326,26 @@ declare const plugins: {
|
|
|
1326
1326
|
};
|
|
1327
1327
|
declare const settings: {
|
|
1328
1328
|
"react-x": {
|
|
1329
|
+
readonly importSource: "react";
|
|
1330
|
+
readonly jsxPragma: "createElement";
|
|
1331
|
+
readonly jsxPragmaFrag: "Fragment";
|
|
1332
|
+
readonly polymorphicPropName: "as";
|
|
1333
|
+
readonly strict: false;
|
|
1334
|
+
readonly strictImportCheck: false;
|
|
1335
|
+
readonly version: "detect";
|
|
1329
1336
|
readonly additionalHooks: {
|
|
1330
1337
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1331
1338
|
};
|
|
1332
|
-
readonly version: string;
|
|
1333
|
-
readonly importSource: string;
|
|
1334
|
-
readonly jsxPragma: string;
|
|
1335
|
-
readonly jsxPragmaFrag: string;
|
|
1336
|
-
readonly polymorphicPropName: string;
|
|
1337
|
-
readonly strict: boolean;
|
|
1338
|
-
readonly strictImportCheck: boolean;
|
|
1339
1339
|
readonly additionalComponents?: {
|
|
1340
1340
|
name: string;
|
|
1341
1341
|
as?: string;
|
|
1342
|
-
selector?: string;
|
|
1343
1342
|
attributes?: {
|
|
1344
1343
|
name: string;
|
|
1345
1344
|
as?: string;
|
|
1346
1345
|
controlled?: boolean;
|
|
1347
1346
|
defaultValue?: string;
|
|
1348
1347
|
}[];
|
|
1348
|
+
selector?: string;
|
|
1349
1349
|
}[];
|
|
1350
1350
|
};
|
|
1351
1351
|
};
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.24.0-next.
|
|
3
|
+
"version": "1.24.0-next.13",
|
|
4
4
|
"description": "A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
"@typescript-eslint/type-utils": "^8.20.0",
|
|
49
49
|
"@typescript-eslint/types": "^8.20.0",
|
|
50
50
|
"@typescript-eslint/utils": "^8.20.0",
|
|
51
|
-
"@eslint-react/eff": "1.24.0-next.
|
|
52
|
-
"@eslint-react/shared": "1.24.0-next.
|
|
53
|
-
"eslint-plugin-react-
|
|
54
|
-
"eslint-plugin-react-
|
|
55
|
-
"eslint-plugin-react-naming-convention": "1.24.0-next.
|
|
56
|
-
"eslint-plugin-react-
|
|
57
|
-
"eslint-plugin-react-
|
|
58
|
-
"eslint-plugin-react-
|
|
51
|
+
"@eslint-react/eff": "1.24.0-next.13",
|
|
52
|
+
"@eslint-react/shared": "1.24.0-next.13",
|
|
53
|
+
"eslint-plugin-react-hooks-extra": "1.24.0-next.13",
|
|
54
|
+
"eslint-plugin-react-debug": "1.24.0-next.13",
|
|
55
|
+
"eslint-plugin-react-naming-convention": "1.24.0-next.13",
|
|
56
|
+
"eslint-plugin-react-dom": "1.24.0-next.13",
|
|
57
|
+
"eslint-plugin-react-web-api": "1.24.0-next.13",
|
|
58
|
+
"eslint-plugin-react-x": "1.24.0-next.13"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"tsup": "^8.3.5",
|