@wistia/eslint-config 2.3.1 → 2.4.0
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/CHANGELOG.md +6 -0
- package/package.json +4 -10
- package/src/configs/react.mjs +2 -13
- package/src/rules/react.mjs +197 -476
- package/test/__snapshots__/react.mjs.snap +287 -525
- package/src/rules/react-hooks.mjs +0 -72
|
@@ -1188,12 +1188,296 @@
|
|
|
1188
1188
|
},
|
|
1189
1189
|
"plugins": [
|
|
1190
1190
|
"@",
|
|
1191
|
-
"react",
|
|
1191
|
+
"@eslint-react:eslint-plugin-react-x@3.0.0",
|
|
1192
|
+
"@eslint-react/rsc:eslint-plugin-react-rsc@3.0.0",
|
|
1193
|
+
"@eslint-react/dom:eslint-plugin-react-dom@3.0.0",
|
|
1194
|
+
"@eslint-react/naming-convention:eslint-plugin-react-naming-convention@3.0.0",
|
|
1195
|
+
"@eslint-react/web-api:eslint-plugin-react-web-api@3.0.0",
|
|
1192
1196
|
"jsx-a11y:eslint-plugin-jsx-a11y@6.10.2",
|
|
1193
|
-
"react-hooks:eslint-plugin-react-hooks@7.0.0",
|
|
1194
|
-
"react-compiler:eslint-plugin-react-compiler",
|
|
1195
1197
|
],
|
|
1196
1198
|
"rules": {
|
|
1199
|
+
"@eslint-react/component-hook-factories": [
|
|
1200
|
+
2,
|
|
1201
|
+
],
|
|
1202
|
+
"@eslint-react/dom/no-dangerously-set-innerhtml": [
|
|
1203
|
+
2,
|
|
1204
|
+
],
|
|
1205
|
+
"@eslint-react/dom/no-dangerously-set-innerhtml-with-children": [
|
|
1206
|
+
2,
|
|
1207
|
+
],
|
|
1208
|
+
"@eslint-react/dom/no-find-dom-node": [
|
|
1209
|
+
2,
|
|
1210
|
+
],
|
|
1211
|
+
"@eslint-react/dom/no-flush-sync": [
|
|
1212
|
+
2,
|
|
1213
|
+
],
|
|
1214
|
+
"@eslint-react/dom/no-hydrate": [
|
|
1215
|
+
2,
|
|
1216
|
+
],
|
|
1217
|
+
"@eslint-react/dom/no-missing-button-type": [
|
|
1218
|
+
2,
|
|
1219
|
+
],
|
|
1220
|
+
"@eslint-react/dom/no-missing-iframe-sandbox": [
|
|
1221
|
+
2,
|
|
1222
|
+
],
|
|
1223
|
+
"@eslint-react/dom/no-namespace": [
|
|
1224
|
+
2,
|
|
1225
|
+
],
|
|
1226
|
+
"@eslint-react/dom/no-render": [
|
|
1227
|
+
2,
|
|
1228
|
+
],
|
|
1229
|
+
"@eslint-react/dom/no-render-return-value": [
|
|
1230
|
+
2,
|
|
1231
|
+
],
|
|
1232
|
+
"@eslint-react/dom/no-script-url": [
|
|
1233
|
+
2,
|
|
1234
|
+
],
|
|
1235
|
+
"@eslint-react/dom/no-string-style-prop": [
|
|
1236
|
+
2,
|
|
1237
|
+
],
|
|
1238
|
+
"@eslint-react/dom/no-unknown-property": [
|
|
1239
|
+
2,
|
|
1240
|
+
],
|
|
1241
|
+
"@eslint-react/dom/no-unsafe-iframe-sandbox": [
|
|
1242
|
+
2,
|
|
1243
|
+
],
|
|
1244
|
+
"@eslint-react/dom/no-unsafe-target-blank": [
|
|
1245
|
+
2,
|
|
1246
|
+
],
|
|
1247
|
+
"@eslint-react/dom/no-use-form-state": [
|
|
1248
|
+
2,
|
|
1249
|
+
],
|
|
1250
|
+
"@eslint-react/dom/no-void-elements-with-children": [
|
|
1251
|
+
2,
|
|
1252
|
+
],
|
|
1253
|
+
"@eslint-react/dom/prefer-namespace-import": [
|
|
1254
|
+
0,
|
|
1255
|
+
],
|
|
1256
|
+
"@eslint-react/error-boundaries": [
|
|
1257
|
+
2,
|
|
1258
|
+
],
|
|
1259
|
+
"@eslint-react/exhaustive-deps": [
|
|
1260
|
+
2,
|
|
1261
|
+
],
|
|
1262
|
+
"@eslint-react/immutability": [
|
|
1263
|
+
2,
|
|
1264
|
+
],
|
|
1265
|
+
"@eslint-react/jsx-dollar": [
|
|
1266
|
+
2,
|
|
1267
|
+
],
|
|
1268
|
+
"@eslint-react/jsx-key-before-spread": [
|
|
1269
|
+
2,
|
|
1270
|
+
],
|
|
1271
|
+
"@eslint-react/jsx-no-comment-textnodes": [
|
|
1272
|
+
2,
|
|
1273
|
+
],
|
|
1274
|
+
"@eslint-react/jsx-shorthand-boolean": [
|
|
1275
|
+
2,
|
|
1276
|
+
-1,
|
|
1277
|
+
],
|
|
1278
|
+
"@eslint-react/jsx-shorthand-fragment": [
|
|
1279
|
+
2,
|
|
1280
|
+
1,
|
|
1281
|
+
],
|
|
1282
|
+
"@eslint-react/naming-convention/context-name": [
|
|
1283
|
+
2,
|
|
1284
|
+
],
|
|
1285
|
+
"@eslint-react/naming-convention/id-name": [
|
|
1286
|
+
2,
|
|
1287
|
+
],
|
|
1288
|
+
"@eslint-react/naming-convention/ref-name": [
|
|
1289
|
+
2,
|
|
1290
|
+
],
|
|
1291
|
+
"@eslint-react/no-access-state-in-setstate": [
|
|
1292
|
+
2,
|
|
1293
|
+
],
|
|
1294
|
+
"@eslint-react/no-array-index-key": [
|
|
1295
|
+
2,
|
|
1296
|
+
],
|
|
1297
|
+
"@eslint-react/no-children-count": [
|
|
1298
|
+
2,
|
|
1299
|
+
],
|
|
1300
|
+
"@eslint-react/no-children-for-each": [
|
|
1301
|
+
2,
|
|
1302
|
+
],
|
|
1303
|
+
"@eslint-react/no-children-map": [
|
|
1304
|
+
2,
|
|
1305
|
+
],
|
|
1306
|
+
"@eslint-react/no-children-only": [
|
|
1307
|
+
2,
|
|
1308
|
+
],
|
|
1309
|
+
"@eslint-react/no-children-prop": [
|
|
1310
|
+
2,
|
|
1311
|
+
],
|
|
1312
|
+
"@eslint-react/no-children-to-array": [
|
|
1313
|
+
2,
|
|
1314
|
+
],
|
|
1315
|
+
"@eslint-react/no-class-component": [
|
|
1316
|
+
2,
|
|
1317
|
+
],
|
|
1318
|
+
"@eslint-react/no-clone-element": [
|
|
1319
|
+
2,
|
|
1320
|
+
],
|
|
1321
|
+
"@eslint-react/no-component-will-mount": [
|
|
1322
|
+
2,
|
|
1323
|
+
],
|
|
1324
|
+
"@eslint-react/no-component-will-receive-props": [
|
|
1325
|
+
2,
|
|
1326
|
+
],
|
|
1327
|
+
"@eslint-react/no-component-will-update": [
|
|
1328
|
+
2,
|
|
1329
|
+
],
|
|
1330
|
+
"@eslint-react/no-context-provider": [
|
|
1331
|
+
2,
|
|
1332
|
+
],
|
|
1333
|
+
"@eslint-react/no-create-ref": [
|
|
1334
|
+
2,
|
|
1335
|
+
],
|
|
1336
|
+
"@eslint-react/no-direct-mutation-state": [
|
|
1337
|
+
2,
|
|
1338
|
+
],
|
|
1339
|
+
"@eslint-react/no-duplicate-key": [
|
|
1340
|
+
2,
|
|
1341
|
+
],
|
|
1342
|
+
"@eslint-react/no-forward-ref": [
|
|
1343
|
+
2,
|
|
1344
|
+
],
|
|
1345
|
+
"@eslint-react/no-implicit-children": [
|
|
1346
|
+
2,
|
|
1347
|
+
],
|
|
1348
|
+
"@eslint-react/no-implicit-key": [
|
|
1349
|
+
2,
|
|
1350
|
+
],
|
|
1351
|
+
"@eslint-react/no-implicit-ref": [
|
|
1352
|
+
2,
|
|
1353
|
+
],
|
|
1354
|
+
"@eslint-react/no-leaked-conditional-rendering": [
|
|
1355
|
+
2,
|
|
1356
|
+
],
|
|
1357
|
+
"@eslint-react/no-missing-component-display-name": [
|
|
1358
|
+
0,
|
|
1359
|
+
],
|
|
1360
|
+
"@eslint-react/no-missing-context-display-name": [
|
|
1361
|
+
0,
|
|
1362
|
+
],
|
|
1363
|
+
"@eslint-react/no-missing-key": [
|
|
1364
|
+
2,
|
|
1365
|
+
],
|
|
1366
|
+
"@eslint-react/no-misused-capture-owner-stack": [
|
|
1367
|
+
2,
|
|
1368
|
+
],
|
|
1369
|
+
"@eslint-react/no-nested-component-definitions": [
|
|
1370
|
+
2,
|
|
1371
|
+
],
|
|
1372
|
+
"@eslint-react/no-nested-lazy-component-declarations": [
|
|
1373
|
+
2,
|
|
1374
|
+
],
|
|
1375
|
+
"@eslint-react/no-redundant-should-component-update": [
|
|
1376
|
+
2,
|
|
1377
|
+
],
|
|
1378
|
+
"@eslint-react/no-set-state-in-component-did-mount": [
|
|
1379
|
+
2,
|
|
1380
|
+
],
|
|
1381
|
+
"@eslint-react/no-set-state-in-component-did-update": [
|
|
1382
|
+
2,
|
|
1383
|
+
],
|
|
1384
|
+
"@eslint-react/no-set-state-in-component-will-update": [
|
|
1385
|
+
2,
|
|
1386
|
+
],
|
|
1387
|
+
"@eslint-react/no-unnecessary-use-callback": [
|
|
1388
|
+
2,
|
|
1389
|
+
],
|
|
1390
|
+
"@eslint-react/no-unnecessary-use-memo": [
|
|
1391
|
+
2,
|
|
1392
|
+
],
|
|
1393
|
+
"@eslint-react/no-unnecessary-use-prefix": [
|
|
1394
|
+
2,
|
|
1395
|
+
],
|
|
1396
|
+
"@eslint-react/no-unsafe-component-will-mount": [
|
|
1397
|
+
2,
|
|
1398
|
+
],
|
|
1399
|
+
"@eslint-react/no-unsafe-component-will-receive-props": [
|
|
1400
|
+
2,
|
|
1401
|
+
],
|
|
1402
|
+
"@eslint-react/no-unsafe-component-will-update": [
|
|
1403
|
+
2,
|
|
1404
|
+
],
|
|
1405
|
+
"@eslint-react/no-unstable-context-value": [
|
|
1406
|
+
2,
|
|
1407
|
+
],
|
|
1408
|
+
"@eslint-react/no-unstable-default-props": [
|
|
1409
|
+
2,
|
|
1410
|
+
],
|
|
1411
|
+
"@eslint-react/no-unused-class-component-members": [
|
|
1412
|
+
2,
|
|
1413
|
+
],
|
|
1414
|
+
"@eslint-react/no-unused-props": [
|
|
1415
|
+
2,
|
|
1416
|
+
],
|
|
1417
|
+
"@eslint-react/no-unused-state": [
|
|
1418
|
+
2,
|
|
1419
|
+
],
|
|
1420
|
+
"@eslint-react/no-use-context": [
|
|
1421
|
+
2,
|
|
1422
|
+
],
|
|
1423
|
+
"@eslint-react/no-useless-fragment": [
|
|
1424
|
+
2,
|
|
1425
|
+
{
|
|
1426
|
+
"allowEmptyFragment": false,
|
|
1427
|
+
"allowExpressions": true,
|
|
1428
|
+
},
|
|
1429
|
+
],
|
|
1430
|
+
"@eslint-react/prefer-destructuring-assignment": [
|
|
1431
|
+
0,
|
|
1432
|
+
],
|
|
1433
|
+
"@eslint-react/prefer-namespace-import": [
|
|
1434
|
+
0,
|
|
1435
|
+
],
|
|
1436
|
+
"@eslint-react/purity": [
|
|
1437
|
+
2,
|
|
1438
|
+
],
|
|
1439
|
+
"@eslint-react/refs": [
|
|
1440
|
+
2,
|
|
1441
|
+
],
|
|
1442
|
+
"@eslint-react/rsc/function-definition": [
|
|
1443
|
+
2,
|
|
1444
|
+
],
|
|
1445
|
+
"@eslint-react/rules-of-hooks": [
|
|
1446
|
+
2,
|
|
1447
|
+
],
|
|
1448
|
+
"@eslint-react/set-state-in-effect": [
|
|
1449
|
+
2,
|
|
1450
|
+
],
|
|
1451
|
+
"@eslint-react/set-state-in-render": [
|
|
1452
|
+
2,
|
|
1453
|
+
],
|
|
1454
|
+
"@eslint-react/unstable-rules-of-props": [
|
|
1455
|
+
2,
|
|
1456
|
+
],
|
|
1457
|
+
"@eslint-react/unstable-rules-of-state": [
|
|
1458
|
+
2,
|
|
1459
|
+
],
|
|
1460
|
+
"@eslint-react/unsupported-syntax": [
|
|
1461
|
+
2,
|
|
1462
|
+
],
|
|
1463
|
+
"@eslint-react/use-memo": [
|
|
1464
|
+
2,
|
|
1465
|
+
],
|
|
1466
|
+
"@eslint-react/use-state": [
|
|
1467
|
+
2,
|
|
1468
|
+
],
|
|
1469
|
+
"@eslint-react/web-api/no-leaked-event-listener": [
|
|
1470
|
+
2,
|
|
1471
|
+
],
|
|
1472
|
+
"@eslint-react/web-api/no-leaked-interval": [
|
|
1473
|
+
2,
|
|
1474
|
+
],
|
|
1475
|
+
"@eslint-react/web-api/no-leaked-resize-observer": [
|
|
1476
|
+
2,
|
|
1477
|
+
],
|
|
1478
|
+
"@eslint-react/web-api/no-leaked-timeout": [
|
|
1479
|
+
2,
|
|
1480
|
+
],
|
|
1197
1481
|
"class-methods-use-this": [
|
|
1198
1482
|
2,
|
|
1199
1483
|
{
|
|
@@ -1480,527 +1764,5 @@
|
|
|
1480
1764
|
"jsx-a11y/tabindex-no-positive": [
|
|
1481
1765
|
2,
|
|
1482
1766
|
],
|
|
1483
|
-
"react-compiler/react-compiler": [
|
|
1484
|
-
2,
|
|
1485
|
-
],
|
|
1486
|
-
"react-hooks/component-hook-factories": [
|
|
1487
|
-
2,
|
|
1488
|
-
],
|
|
1489
|
-
"react-hooks/config": [
|
|
1490
|
-
0,
|
|
1491
|
-
],
|
|
1492
|
-
"react-hooks/error-boundaries": [
|
|
1493
|
-
2,
|
|
1494
|
-
],
|
|
1495
|
-
"react-hooks/exhaustive-deps": [
|
|
1496
|
-
2,
|
|
1497
|
-
],
|
|
1498
|
-
"react-hooks/gating": [
|
|
1499
|
-
0,
|
|
1500
|
-
],
|
|
1501
|
-
"react-hooks/globals": [
|
|
1502
|
-
2,
|
|
1503
|
-
],
|
|
1504
|
-
"react-hooks/immutability": [
|
|
1505
|
-
2,
|
|
1506
|
-
],
|
|
1507
|
-
"react-hooks/incompatible-library": [
|
|
1508
|
-
2,
|
|
1509
|
-
],
|
|
1510
|
-
"react-hooks/preserve-manual-memoization": [
|
|
1511
|
-
2,
|
|
1512
|
-
],
|
|
1513
|
-
"react-hooks/purity": [
|
|
1514
|
-
2,
|
|
1515
|
-
],
|
|
1516
|
-
"react-hooks/refs": [
|
|
1517
|
-
2,
|
|
1518
|
-
],
|
|
1519
|
-
"react-hooks/rules-of-hooks": [
|
|
1520
|
-
2,
|
|
1521
|
-
],
|
|
1522
|
-
"react-hooks/set-state-in-effect": [
|
|
1523
|
-
2,
|
|
1524
|
-
],
|
|
1525
|
-
"react-hooks/set-state-in-render": [
|
|
1526
|
-
2,
|
|
1527
|
-
],
|
|
1528
|
-
"react-hooks/static-components": [
|
|
1529
|
-
2,
|
|
1530
|
-
],
|
|
1531
|
-
"react-hooks/unsupported-syntax": [
|
|
1532
|
-
2,
|
|
1533
|
-
],
|
|
1534
|
-
"react-hooks/use-memo": [
|
|
1535
|
-
2,
|
|
1536
|
-
],
|
|
1537
|
-
"react/boolean-prop-naming": [
|
|
1538
|
-
0,
|
|
1539
|
-
{
|
|
1540
|
-
"message": "",
|
|
1541
|
-
"propTypeNames": [
|
|
1542
|
-
"bool",
|
|
1543
|
-
"mutuallyExclusiveTrueProps",
|
|
1544
|
-
],
|
|
1545
|
-
"rule": "^(is|has)[A-Z]([A-Za-z0-9]?)+",
|
|
1546
|
-
},
|
|
1547
|
-
],
|
|
1548
|
-
"react/button-has-type": [
|
|
1549
|
-
2,
|
|
1550
|
-
{
|
|
1551
|
-
"button": true,
|
|
1552
|
-
"reset": false,
|
|
1553
|
-
"submit": true,
|
|
1554
|
-
},
|
|
1555
|
-
],
|
|
1556
|
-
"react/checked-requires-onchange-or-readonly": [
|
|
1557
|
-
2,
|
|
1558
|
-
],
|
|
1559
|
-
"react/default-props-match-prop-types": [
|
|
1560
|
-
0,
|
|
1561
|
-
],
|
|
1562
|
-
"react/destructuring-assignment": [
|
|
1563
|
-
0,
|
|
1564
|
-
"always",
|
|
1565
|
-
],
|
|
1566
|
-
"react/display-name": [
|
|
1567
|
-
0,
|
|
1568
|
-
{
|
|
1569
|
-
"ignoreTranspilerName": false,
|
|
1570
|
-
},
|
|
1571
|
-
],
|
|
1572
|
-
"react/forbid-component-props": [
|
|
1573
|
-
0,
|
|
1574
|
-
{
|
|
1575
|
-
"forbid": [],
|
|
1576
|
-
},
|
|
1577
|
-
],
|
|
1578
|
-
"react/forbid-dom-props": [
|
|
1579
|
-
0,
|
|
1580
|
-
{
|
|
1581
|
-
"forbid": [],
|
|
1582
|
-
},
|
|
1583
|
-
],
|
|
1584
|
-
"react/forbid-elements": [
|
|
1585
|
-
0,
|
|
1586
|
-
{
|
|
1587
|
-
"forbid": [],
|
|
1588
|
-
},
|
|
1589
|
-
],
|
|
1590
|
-
"react/forbid-foreign-prop-types": [
|
|
1591
|
-
0,
|
|
1592
|
-
],
|
|
1593
|
-
"react/forbid-prop-types": [
|
|
1594
|
-
0,
|
|
1595
|
-
],
|
|
1596
|
-
"react/forward-ref-uses-ref": [
|
|
1597
|
-
2,
|
|
1598
|
-
],
|
|
1599
|
-
"react/function-component-definition": [
|
|
1600
|
-
2,
|
|
1601
|
-
{
|
|
1602
|
-
"namedComponents": "arrow-function",
|
|
1603
|
-
"unnamedComponents": "arrow-function",
|
|
1604
|
-
},
|
|
1605
|
-
],
|
|
1606
|
-
"react/hook-use-state": [
|
|
1607
|
-
2,
|
|
1608
|
-
],
|
|
1609
|
-
"react/iframe-missing-sandbox": [
|
|
1610
|
-
2,
|
|
1611
|
-
],
|
|
1612
|
-
"react/jsx-boolean-value": [
|
|
1613
|
-
2,
|
|
1614
|
-
"always",
|
|
1615
|
-
],
|
|
1616
|
-
"react/jsx-child-element-spacing": [
|
|
1617
|
-
0,
|
|
1618
|
-
],
|
|
1619
|
-
"react/jsx-closing-bracket-location": [
|
|
1620
|
-
0,
|
|
1621
|
-
],
|
|
1622
|
-
"react/jsx-closing-tag-location": [
|
|
1623
|
-
0,
|
|
1624
|
-
],
|
|
1625
|
-
"react/jsx-curly-brace-presence": [
|
|
1626
|
-
2,
|
|
1627
|
-
{
|
|
1628
|
-
"children": "never",
|
|
1629
|
-
"props": "never",
|
|
1630
|
-
},
|
|
1631
|
-
],
|
|
1632
|
-
"react/jsx-curly-newline": [
|
|
1633
|
-
0,
|
|
1634
|
-
],
|
|
1635
|
-
"react/jsx-curly-spacing": [
|
|
1636
|
-
0,
|
|
1637
|
-
],
|
|
1638
|
-
"react/jsx-equals-spacing": [
|
|
1639
|
-
0,
|
|
1640
|
-
],
|
|
1641
|
-
"react/jsx-filename-extension": [
|
|
1642
|
-
2,
|
|
1643
|
-
{
|
|
1644
|
-
"extensions": [
|
|
1645
|
-
".jsx",
|
|
1646
|
-
".tsx",
|
|
1647
|
-
],
|
|
1648
|
-
},
|
|
1649
|
-
],
|
|
1650
|
-
"react/jsx-first-prop-new-line": [
|
|
1651
|
-
0,
|
|
1652
|
-
],
|
|
1653
|
-
"react/jsx-fragments": [
|
|
1654
|
-
2,
|
|
1655
|
-
"syntax",
|
|
1656
|
-
],
|
|
1657
|
-
"react/jsx-handler-names": [
|
|
1658
|
-
2,
|
|
1659
|
-
{
|
|
1660
|
-
"checkInlineFunction": false,
|
|
1661
|
-
"checkLocalVariables": true,
|
|
1662
|
-
"eventHandlerPrefix": "handle",
|
|
1663
|
-
"eventHandlerPropPrefix": "on",
|
|
1664
|
-
},
|
|
1665
|
-
],
|
|
1666
|
-
"react/jsx-indent": [
|
|
1667
|
-
0,
|
|
1668
|
-
],
|
|
1669
|
-
"react/jsx-indent-props": [
|
|
1670
|
-
0,
|
|
1671
|
-
],
|
|
1672
|
-
"react/jsx-key": [
|
|
1673
|
-
2,
|
|
1674
|
-
{
|
|
1675
|
-
"checkFragmentShorthand": true,
|
|
1676
|
-
"checkKeyMustBeforeSpread": true,
|
|
1677
|
-
"warnOnDuplicates": true,
|
|
1678
|
-
},
|
|
1679
|
-
],
|
|
1680
|
-
"react/jsx-max-depth": [
|
|
1681
|
-
0,
|
|
1682
|
-
],
|
|
1683
|
-
"react/jsx-max-props-per-line": [
|
|
1684
|
-
0,
|
|
1685
|
-
],
|
|
1686
|
-
"react/jsx-newline": [
|
|
1687
|
-
0,
|
|
1688
|
-
],
|
|
1689
|
-
"react/jsx-no-bind": [
|
|
1690
|
-
2,
|
|
1691
|
-
{
|
|
1692
|
-
"allowArrowFunctions": true,
|
|
1693
|
-
"allowBind": false,
|
|
1694
|
-
"allowFunctions": false,
|
|
1695
|
-
"ignoreDOMComponents": true,
|
|
1696
|
-
"ignoreRefs": true,
|
|
1697
|
-
},
|
|
1698
|
-
],
|
|
1699
|
-
"react/jsx-no-comment-textnodes": [
|
|
1700
|
-
2,
|
|
1701
|
-
],
|
|
1702
|
-
"react/jsx-no-constructed-context-values": [
|
|
1703
|
-
2,
|
|
1704
|
-
],
|
|
1705
|
-
"react/jsx-no-duplicate-props": [
|
|
1706
|
-
2,
|
|
1707
|
-
{
|
|
1708
|
-
"ignoreCase": true,
|
|
1709
|
-
},
|
|
1710
|
-
],
|
|
1711
|
-
"react/jsx-no-leaked-render": [
|
|
1712
|
-
2,
|
|
1713
|
-
],
|
|
1714
|
-
"react/jsx-no-literals": [
|
|
1715
|
-
0,
|
|
1716
|
-
{
|
|
1717
|
-
"noStrings": true,
|
|
1718
|
-
},
|
|
1719
|
-
],
|
|
1720
|
-
"react/jsx-no-script-url": [
|
|
1721
|
-
2,
|
|
1722
|
-
[
|
|
1723
|
-
{
|
|
1724
|
-
"name": "Link",
|
|
1725
|
-
"props": [
|
|
1726
|
-
"to",
|
|
1727
|
-
],
|
|
1728
|
-
},
|
|
1729
|
-
],
|
|
1730
|
-
],
|
|
1731
|
-
"react/jsx-no-target-blank": [
|
|
1732
|
-
2,
|
|
1733
|
-
{
|
|
1734
|
-
"enforceDynamicLinks": "always",
|
|
1735
|
-
"forms": false,
|
|
1736
|
-
"links": true,
|
|
1737
|
-
},
|
|
1738
|
-
],
|
|
1739
|
-
"react/jsx-no-undef": [
|
|
1740
|
-
2,
|
|
1741
|
-
],
|
|
1742
|
-
"react/jsx-no-useless-fragment": [
|
|
1743
|
-
2,
|
|
1744
|
-
],
|
|
1745
|
-
"react/jsx-one-expression-per-line": [
|
|
1746
|
-
0,
|
|
1747
|
-
],
|
|
1748
|
-
"react/jsx-pascal-case": [
|
|
1749
|
-
2,
|
|
1750
|
-
{
|
|
1751
|
-
"allowAllCaps": true,
|
|
1752
|
-
"ignore": [],
|
|
1753
|
-
},
|
|
1754
|
-
],
|
|
1755
|
-
"react/jsx-props-no-multi-spaces": [
|
|
1756
|
-
0,
|
|
1757
|
-
],
|
|
1758
|
-
"react/jsx-props-no-spread-multi": [
|
|
1759
|
-
2,
|
|
1760
|
-
],
|
|
1761
|
-
"react/jsx-props-no-spreading": [
|
|
1762
|
-
0,
|
|
1763
|
-
],
|
|
1764
|
-
"react/jsx-sort-prop-types": [
|
|
1765
|
-
0,
|
|
1766
|
-
],
|
|
1767
|
-
"react/jsx-sort-props": [
|
|
1768
|
-
2,
|
|
1769
|
-
{
|
|
1770
|
-
"callbacksLast": false,
|
|
1771
|
-
"ignoreCase": true,
|
|
1772
|
-
"locale": "auto",
|
|
1773
|
-
"multiline": "ignore",
|
|
1774
|
-
"noSortAlphabetically": false,
|
|
1775
|
-
"reservedFirst": true,
|
|
1776
|
-
"shorthandFirst": false,
|
|
1777
|
-
"shorthandLast": false,
|
|
1778
|
-
},
|
|
1779
|
-
],
|
|
1780
|
-
"react/jsx-tag-spacing": [
|
|
1781
|
-
0,
|
|
1782
|
-
],
|
|
1783
|
-
"react/jsx-uses-react": [
|
|
1784
|
-
0,
|
|
1785
|
-
],
|
|
1786
|
-
"react/jsx-uses-vars": [
|
|
1787
|
-
2,
|
|
1788
|
-
],
|
|
1789
|
-
"react/jsx-wrap-multilines": [
|
|
1790
|
-
0,
|
|
1791
|
-
],
|
|
1792
|
-
"react/no-access-state-in-setstate": [
|
|
1793
|
-
2,
|
|
1794
|
-
],
|
|
1795
|
-
"react/no-adjacent-inline-elements": [
|
|
1796
|
-
2,
|
|
1797
|
-
],
|
|
1798
|
-
"react/no-array-index-key": [
|
|
1799
|
-
2,
|
|
1800
|
-
],
|
|
1801
|
-
"react/no-arrow-function-lifecycle": [
|
|
1802
|
-
2,
|
|
1803
|
-
],
|
|
1804
|
-
"react/no-children-prop": [
|
|
1805
|
-
2,
|
|
1806
|
-
],
|
|
1807
|
-
"react/no-danger": [
|
|
1808
|
-
2,
|
|
1809
|
-
],
|
|
1810
|
-
"react/no-danger-with-children": [
|
|
1811
|
-
2,
|
|
1812
|
-
],
|
|
1813
|
-
"react/no-deprecated": [
|
|
1814
|
-
2,
|
|
1815
|
-
],
|
|
1816
|
-
"react/no-did-mount-set-state": [
|
|
1817
|
-
2,
|
|
1818
|
-
],
|
|
1819
|
-
"react/no-did-update-set-state": [
|
|
1820
|
-
2,
|
|
1821
|
-
],
|
|
1822
|
-
"react/no-direct-mutation-state": [
|
|
1823
|
-
0,
|
|
1824
|
-
],
|
|
1825
|
-
"react/no-find-dom-node": [
|
|
1826
|
-
2,
|
|
1827
|
-
],
|
|
1828
|
-
"react/no-invalid-html-attribute": [
|
|
1829
|
-
2,
|
|
1830
|
-
],
|
|
1831
|
-
"react/no-is-mounted": [
|
|
1832
|
-
2,
|
|
1833
|
-
],
|
|
1834
|
-
"react/no-multi-comp": [
|
|
1835
|
-
0,
|
|
1836
|
-
],
|
|
1837
|
-
"react/no-namespace": [
|
|
1838
|
-
2,
|
|
1839
|
-
],
|
|
1840
|
-
"react/no-object-type-as-default-prop": [
|
|
1841
|
-
0,
|
|
1842
|
-
],
|
|
1843
|
-
"react/no-redundant-should-component-update": [
|
|
1844
|
-
2,
|
|
1845
|
-
],
|
|
1846
|
-
"react/no-render-return-value": [
|
|
1847
|
-
2,
|
|
1848
|
-
],
|
|
1849
|
-
"react/no-set-state": [
|
|
1850
|
-
0,
|
|
1851
|
-
],
|
|
1852
|
-
"react/no-string-refs": [
|
|
1853
|
-
2,
|
|
1854
|
-
],
|
|
1855
|
-
"react/no-this-in-sfc": [
|
|
1856
|
-
2,
|
|
1857
|
-
],
|
|
1858
|
-
"react/no-typos": [
|
|
1859
|
-
2,
|
|
1860
|
-
],
|
|
1861
|
-
"react/no-unescaped-entities": [
|
|
1862
|
-
2,
|
|
1863
|
-
],
|
|
1864
|
-
"react/no-unknown-property": [
|
|
1865
|
-
2,
|
|
1866
|
-
],
|
|
1867
|
-
"react/no-unsafe": [
|
|
1868
|
-
0,
|
|
1869
|
-
],
|
|
1870
|
-
"react/no-unstable-nested-components": [
|
|
1871
|
-
2,
|
|
1872
|
-
{
|
|
1873
|
-
"allowAsProps": true,
|
|
1874
|
-
},
|
|
1875
|
-
],
|
|
1876
|
-
"react/no-unused-class-component-methods": [
|
|
1877
|
-
2,
|
|
1878
|
-
],
|
|
1879
|
-
"react/no-unused-prop-types": [
|
|
1880
|
-
0,
|
|
1881
|
-
],
|
|
1882
|
-
"react/no-unused-state": [
|
|
1883
|
-
2,
|
|
1884
|
-
],
|
|
1885
|
-
"react/no-will-update-set-state": [
|
|
1886
|
-
2,
|
|
1887
|
-
],
|
|
1888
|
-
"react/prefer-es6-class": [
|
|
1889
|
-
2,
|
|
1890
|
-
"always",
|
|
1891
|
-
],
|
|
1892
|
-
"react/prefer-exact-props": [
|
|
1893
|
-
2,
|
|
1894
|
-
],
|
|
1895
|
-
"react/prefer-read-only-props": [
|
|
1896
|
-
0,
|
|
1897
|
-
],
|
|
1898
|
-
"react/prefer-stateless-function": [
|
|
1899
|
-
2,
|
|
1900
|
-
{
|
|
1901
|
-
"ignorePureComponents": true,
|
|
1902
|
-
},
|
|
1903
|
-
],
|
|
1904
|
-
"react/prop-types": [
|
|
1905
|
-
0,
|
|
1906
|
-
],
|
|
1907
|
-
"react/react-in-jsx-scope": [
|
|
1908
|
-
0,
|
|
1909
|
-
],
|
|
1910
|
-
"react/require-default-props": [
|
|
1911
|
-
0,
|
|
1912
|
-
],
|
|
1913
|
-
"react/require-optimization": [
|
|
1914
|
-
0,
|
|
1915
|
-
{
|
|
1916
|
-
"allowDecorators": [],
|
|
1917
|
-
},
|
|
1918
|
-
],
|
|
1919
|
-
"react/require-render-return": [
|
|
1920
|
-
2,
|
|
1921
|
-
],
|
|
1922
|
-
"react/self-closing-comp": [
|
|
1923
|
-
2,
|
|
1924
|
-
],
|
|
1925
|
-
"react/sort-comp": [
|
|
1926
|
-
2,
|
|
1927
|
-
{
|
|
1928
|
-
"groups": {
|
|
1929
|
-
"lifecycle": [
|
|
1930
|
-
"displayName",
|
|
1931
|
-
"propTypes",
|
|
1932
|
-
"contextTypes",
|
|
1933
|
-
"childContextTypes",
|
|
1934
|
-
"mixins",
|
|
1935
|
-
"statics",
|
|
1936
|
-
"defaultProps",
|
|
1937
|
-
"constructor",
|
|
1938
|
-
"getDefaultProps",
|
|
1939
|
-
"getInitialState",
|
|
1940
|
-
"state",
|
|
1941
|
-
"getChildContext",
|
|
1942
|
-
"getDerivedStateFromProps",
|
|
1943
|
-
"componentWillMount",
|
|
1944
|
-
"UNSAFE_componentWillMount",
|
|
1945
|
-
"componentDidMount",
|
|
1946
|
-
"componentWillReceiveProps",
|
|
1947
|
-
"UNSAFE_componentWillReceiveProps",
|
|
1948
|
-
"shouldComponentUpdate",
|
|
1949
|
-
"componentWillUpdate",
|
|
1950
|
-
"UNSAFE_componentWillUpdate",
|
|
1951
|
-
"getSnapshotBeforeUpdate",
|
|
1952
|
-
"componentDidUpdate",
|
|
1953
|
-
"componentDidCatch",
|
|
1954
|
-
"componentWillUnmount",
|
|
1955
|
-
],
|
|
1956
|
-
"rendering": [
|
|
1957
|
-
"/^render.+$/",
|
|
1958
|
-
"render",
|
|
1959
|
-
],
|
|
1960
|
-
},
|
|
1961
|
-
"order": [
|
|
1962
|
-
"static-variables",
|
|
1963
|
-
"static-methods",
|
|
1964
|
-
"instance-variables",
|
|
1965
|
-
"lifecycle",
|
|
1966
|
-
"/^handle.+$/",
|
|
1967
|
-
"/^on.+$/",
|
|
1968
|
-
"getters",
|
|
1969
|
-
"setters",
|
|
1970
|
-
"/^(get|set)(?!(InitialState$|DefaultProps$|ChildContext$)).+$/",
|
|
1971
|
-
"instance-methods",
|
|
1972
|
-
"everything-else",
|
|
1973
|
-
"rendering",
|
|
1974
|
-
],
|
|
1975
|
-
},
|
|
1976
|
-
],
|
|
1977
|
-
"react/sort-default-props": [
|
|
1978
|
-
2,
|
|
1979
|
-
{
|
|
1980
|
-
"ignoreCase": true,
|
|
1981
|
-
},
|
|
1982
|
-
],
|
|
1983
|
-
"react/sort-prop-types": [
|
|
1984
|
-
0,
|
|
1985
|
-
],
|
|
1986
|
-
"react/state-in-constructor": [
|
|
1987
|
-
2,
|
|
1988
|
-
"never",
|
|
1989
|
-
],
|
|
1990
|
-
"react/static-property-placement": [
|
|
1991
|
-
2,
|
|
1992
|
-
"static public field",
|
|
1993
|
-
],
|
|
1994
|
-
"react/style-prop-object": [
|
|
1995
|
-
2,
|
|
1996
|
-
],
|
|
1997
|
-
"react/void-dom-elements-no-children": [
|
|
1998
|
-
2,
|
|
1999
|
-
],
|
|
2000
|
-
},
|
|
2001
|
-
"settings": {
|
|
2002
|
-
"react": {
|
|
2003
|
-
"version": "detect",
|
|
2004
|
-
},
|
|
2005
1767
|
},
|
|
2006
1768
|
}
|