@jimmy.codes/eslint-config 1.8.0 → 1.10.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/dist/index.cjs +1 -1
- package/dist/index.d.cts +108 -51
- package/dist/index.d.mts +108 -51
- package/dist/index.mjs +1 -1
- package/package.json +6 -5
package/dist/index.d.mts
CHANGED
|
@@ -6,6 +6,7 @@ import * as eslint_plugin_react_hooks from 'eslint-plugin-react-hooks';
|
|
|
6
6
|
import * as eslint from 'eslint';
|
|
7
7
|
import { Linter } from 'eslint';
|
|
8
8
|
import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
|
|
9
|
+
export { TSESLint } from '@typescript-eslint/utils';
|
|
9
10
|
|
|
10
11
|
/* eslint-disable */
|
|
11
12
|
/* prettier-ignore */
|
|
@@ -1294,228 +1295,233 @@ interface RuleOptions {
|
|
|
1294
1295
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
1295
1296
|
/**
|
|
1296
1297
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1297
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1298
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/consistent-type-specifier-style.md
|
|
1298
1299
|
*/
|
|
1299
1300
|
'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>
|
|
1300
1301
|
/**
|
|
1301
1302
|
* Ensure a default export is present, given a default import.
|
|
1302
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1303
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/default.md
|
|
1303
1304
|
*/
|
|
1304
1305
|
'import-x/default'?: Linter.RuleEntry<[]>
|
|
1305
1306
|
/**
|
|
1306
1307
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1307
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1308
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/dynamic-import-chunkname.md
|
|
1308
1309
|
*/
|
|
1309
1310
|
'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>
|
|
1310
1311
|
/**
|
|
1311
1312
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1312
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1313
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/export.md
|
|
1313
1314
|
*/
|
|
1314
1315
|
'import-x/export'?: Linter.RuleEntry<[]>
|
|
1315
1316
|
/**
|
|
1316
1317
|
* Ensure all exports appear after other statements.
|
|
1317
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1318
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/exports-last.md
|
|
1318
1319
|
*/
|
|
1319
1320
|
'import-x/exports-last'?: Linter.RuleEntry<[]>
|
|
1320
1321
|
/**
|
|
1321
1322
|
* Ensure consistent use of file extension within the import path.
|
|
1322
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1323
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/extensions.md
|
|
1323
1324
|
*/
|
|
1324
1325
|
'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>
|
|
1325
1326
|
/**
|
|
1326
1327
|
* Ensure all imports appear before other statements.
|
|
1327
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1328
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/first.md
|
|
1328
1329
|
*/
|
|
1329
1330
|
'import-x/first'?: Linter.RuleEntry<ImportXFirst>
|
|
1330
1331
|
/**
|
|
1331
1332
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1332
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1333
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/group-exports.md
|
|
1333
1334
|
*/
|
|
1334
1335
|
'import-x/group-exports'?: Linter.RuleEntry<[]>
|
|
1335
1336
|
/**
|
|
1336
1337
|
* Replaced by `import-x/first`.
|
|
1337
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1338
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/imports-first.md
|
|
1338
1339
|
* @deprecated
|
|
1339
1340
|
*/
|
|
1340
1341
|
'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>
|
|
1341
1342
|
/**
|
|
1342
1343
|
* Enforce the maximum number of dependencies a module can have.
|
|
1343
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1344
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/max-dependencies.md
|
|
1344
1345
|
*/
|
|
1345
1346
|
'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>
|
|
1346
1347
|
/**
|
|
1347
1348
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1348
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1349
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/named.md
|
|
1349
1350
|
*/
|
|
1350
1351
|
'import-x/named'?: Linter.RuleEntry<ImportXNamed>
|
|
1351
1352
|
/**
|
|
1352
1353
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1353
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1354
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/namespace.md
|
|
1354
1355
|
*/
|
|
1355
1356
|
'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>
|
|
1356
1357
|
/**
|
|
1357
1358
|
* Enforce a newline after import statements.
|
|
1358
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1359
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/newline-after-import.md
|
|
1359
1360
|
*/
|
|
1360
1361
|
'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>
|
|
1361
1362
|
/**
|
|
1362
1363
|
* Forbid import of modules using absolute paths.
|
|
1363
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1364
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-absolute-path.md
|
|
1364
1365
|
*/
|
|
1365
1366
|
'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>
|
|
1366
1367
|
/**
|
|
1367
1368
|
* Forbid AMD `require` and `define` calls.
|
|
1368
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1369
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-amd.md
|
|
1369
1370
|
*/
|
|
1370
1371
|
'import-x/no-amd'?: Linter.RuleEntry<[]>
|
|
1371
1372
|
/**
|
|
1372
1373
|
* Forbid anonymous values as default exports.
|
|
1373
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1374
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-anonymous-default-export.md
|
|
1374
1375
|
*/
|
|
1375
1376
|
'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>
|
|
1376
1377
|
/**
|
|
1377
1378
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1378
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1379
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-commonjs.md
|
|
1379
1380
|
*/
|
|
1380
1381
|
'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>
|
|
1381
1382
|
/**
|
|
1382
1383
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1383
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1384
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-cycle.md
|
|
1384
1385
|
*/
|
|
1385
1386
|
'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>
|
|
1386
1387
|
/**
|
|
1387
1388
|
* Forbid default exports.
|
|
1388
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1389
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-default-export.md
|
|
1389
1390
|
*/
|
|
1390
1391
|
'import-x/no-default-export'?: Linter.RuleEntry<[]>
|
|
1391
1392
|
/**
|
|
1392
1393
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1393
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1394
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-deprecated.md
|
|
1394
1395
|
*/
|
|
1395
1396
|
'import-x/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1396
1397
|
/**
|
|
1397
1398
|
* Forbid repeated import of the same module in multiple places.
|
|
1398
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1399
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-duplicates.md
|
|
1399
1400
|
*/
|
|
1400
1401
|
'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>
|
|
1401
1402
|
/**
|
|
1402
1403
|
* Forbid `require()` calls with expressions.
|
|
1403
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1404
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-dynamic-require.md
|
|
1404
1405
|
*/
|
|
1405
1406
|
'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>
|
|
1406
1407
|
/**
|
|
1407
1408
|
* Forbid empty named import blocks.
|
|
1408
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1409
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-empty-named-blocks.md
|
|
1409
1410
|
*/
|
|
1410
1411
|
'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1411
1412
|
/**
|
|
1412
1413
|
* Forbid the use of extraneous packages.
|
|
1413
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1414
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-extraneous-dependencies.md
|
|
1414
1415
|
*/
|
|
1415
1416
|
'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>
|
|
1416
1417
|
/**
|
|
1417
1418
|
* Forbid import statements with CommonJS module.exports.
|
|
1418
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1419
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-import-module-exports.md
|
|
1419
1420
|
*/
|
|
1420
1421
|
'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>
|
|
1421
1422
|
/**
|
|
1422
1423
|
* Forbid importing the submodules of other modules.
|
|
1423
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1424
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-internal-modules.md
|
|
1424
1425
|
*/
|
|
1425
1426
|
'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>
|
|
1426
1427
|
/**
|
|
1427
1428
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1428
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1429
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-mutable-exports.md
|
|
1429
1430
|
*/
|
|
1430
1431
|
'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1431
1432
|
/**
|
|
1432
1433
|
* Forbid use of exported name as identifier of default export.
|
|
1433
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1434
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-as-default.md
|
|
1434
1435
|
*/
|
|
1435
1436
|
'import-x/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1436
1437
|
/**
|
|
1437
1438
|
* Forbid use of exported name as property of default export.
|
|
1438
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1439
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-as-default-member.md
|
|
1439
1440
|
*/
|
|
1440
1441
|
'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1441
1442
|
/**
|
|
1442
1443
|
* Forbid named default exports.
|
|
1443
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1444
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-default.md
|
|
1444
1445
|
*/
|
|
1445
1446
|
'import-x/no-named-default'?: Linter.RuleEntry<[]>
|
|
1446
1447
|
/**
|
|
1447
1448
|
* Forbid named exports.
|
|
1448
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1449
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-export.md
|
|
1449
1450
|
*/
|
|
1450
1451
|
'import-x/no-named-export'?: Linter.RuleEntry<[]>
|
|
1451
1452
|
/**
|
|
1452
1453
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1453
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1454
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-namespace.md
|
|
1454
1455
|
*/
|
|
1455
1456
|
'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>
|
|
1456
1457
|
/**
|
|
1457
1458
|
* Forbid Node.js builtin modules.
|
|
1458
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1459
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-nodejs-modules.md
|
|
1459
1460
|
*/
|
|
1460
1461
|
'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>
|
|
1461
1462
|
/**
|
|
1462
1463
|
* Forbid importing packages through relative paths.
|
|
1463
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1464
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-relative-packages.md
|
|
1464
1465
|
*/
|
|
1465
1466
|
'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>
|
|
1466
1467
|
/**
|
|
1467
1468
|
* Forbid importing modules from parent directories.
|
|
1468
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1469
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-relative-parent-imports.md
|
|
1469
1470
|
*/
|
|
1470
1471
|
'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>
|
|
1472
|
+
/**
|
|
1473
|
+
* Forbid importing a default export by a different name.
|
|
1474
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-rename-default.md
|
|
1475
|
+
*/
|
|
1476
|
+
'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>
|
|
1471
1477
|
/**
|
|
1472
1478
|
* Enforce which files can be imported in a given folder.
|
|
1473
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1479
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-restricted-paths.md
|
|
1474
1480
|
*/
|
|
1475
1481
|
'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>
|
|
1476
1482
|
/**
|
|
1477
1483
|
* Forbid a module from importing itself.
|
|
1478
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1484
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-self-import.md
|
|
1479
1485
|
*/
|
|
1480
1486
|
'import-x/no-self-import'?: Linter.RuleEntry<[]>
|
|
1481
1487
|
/**
|
|
1482
1488
|
* Forbid unassigned imports.
|
|
1483
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1489
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unassigned-import.md
|
|
1484
1490
|
*/
|
|
1485
1491
|
'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>
|
|
1486
1492
|
/**
|
|
1487
1493
|
* Ensure imports point to a file/module that can be resolved.
|
|
1488
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1494
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unresolved.md
|
|
1489
1495
|
*/
|
|
1490
1496
|
'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>
|
|
1491
1497
|
/**
|
|
1492
1498
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1493
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1499
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unused-modules.md
|
|
1494
1500
|
*/
|
|
1495
1501
|
'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>
|
|
1496
1502
|
/**
|
|
1497
1503
|
* Forbid unnecessary path segments in import and require statements.
|
|
1498
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1504
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-useless-path-segments.md
|
|
1499
1505
|
*/
|
|
1500
1506
|
'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>
|
|
1501
1507
|
/**
|
|
1502
1508
|
* Forbid webpack loader syntax in imports.
|
|
1503
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1509
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-webpack-loader-syntax.md
|
|
1504
1510
|
*/
|
|
1505
1511
|
'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1506
1512
|
/**
|
|
1507
1513
|
* Enforce a convention in module import order.
|
|
1508
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1514
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/order.md
|
|
1509
1515
|
*/
|
|
1510
1516
|
'import-x/order'?: Linter.RuleEntry<ImportXOrder>
|
|
1511
1517
|
/**
|
|
1512
1518
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1513
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1519
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/prefer-default-export.md
|
|
1514
1520
|
*/
|
|
1515
1521
|
'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>
|
|
1516
1522
|
/**
|
|
1517
1523
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1518
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
1524
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/unambiguous.md
|
|
1519
1525
|
*/
|
|
1520
1526
|
'import-x/unambiguous'?: Linter.RuleEntry<[]>
|
|
1521
1527
|
/**
|
|
@@ -5688,12 +5694,14 @@ type ImportXExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("a
|
|
|
5688
5694
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
5689
5695
|
}
|
|
5690
5696
|
ignorePackages?: boolean
|
|
5697
|
+
checkTypeImports?: boolean
|
|
5691
5698
|
[k: string]: unknown | undefined
|
|
5692
5699
|
}] | []|[{
|
|
5693
5700
|
pattern?: {
|
|
5694
5701
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
5695
5702
|
}
|
|
5696
5703
|
ignorePackages?: boolean
|
|
5704
|
+
checkTypeImports?: boolean
|
|
5697
5705
|
[k: string]: unknown | undefined
|
|
5698
5706
|
}] | []|[{
|
|
5699
5707
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
@@ -5788,6 +5796,7 @@ type ImportXNoExtraneousDependencies = []|[{
|
|
|
5788
5796
|
packageDir?: (string | unknown[])
|
|
5789
5797
|
includeInternal?: boolean
|
|
5790
5798
|
includeTypes?: boolean
|
|
5799
|
+
whitelist?: unknown[]
|
|
5791
5800
|
}]
|
|
5792
5801
|
// ----- import-x/no-import-module-exports -----
|
|
5793
5802
|
type ImportXNoImportModuleExports = []|[{
|
|
@@ -5824,6 +5833,11 @@ type ImportXNoRelativeParentImports = []|[{
|
|
|
5824
5833
|
|
|
5825
5834
|
ignore?: [string, ...(string)[]]
|
|
5826
5835
|
}]
|
|
5836
|
+
// ----- import-x/no-rename-default -----
|
|
5837
|
+
type ImportXNoRenameDefault = []|[{
|
|
5838
|
+
commonjs?: boolean
|
|
5839
|
+
preventRenamingBindings?: boolean
|
|
5840
|
+
}]
|
|
5827
5841
|
// ----- import-x/no-restricted-paths -----
|
|
5828
5842
|
type ImportXNoRestrictedPaths = []|[{
|
|
5829
5843
|
|
|
@@ -7841,11 +7855,8 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
7841
7855
|
settings: {
|
|
7842
7856
|
"import-x/resolver": {
|
|
7843
7857
|
typescript: boolean;
|
|
7844
|
-
node: {
|
|
7845
|
-
extensions: readonly [".ts", ".tsx", ".js", ".jsx"];
|
|
7846
|
-
};
|
|
7847
7858
|
};
|
|
7848
|
-
'import-x/extensions': readonly [".ts", ".tsx", ".js", ".jsx"];
|
|
7859
|
+
'import-x/extensions': readonly [".ts", ".tsx", ".cts", ".mts", ".js", ".jsx", ".cjs", ".mjs"];
|
|
7849
7860
|
'import-x/external-module-folders': string[];
|
|
7850
7861
|
'import-x/parsers': {
|
|
7851
7862
|
'@typescript-eslint/parser': (".ts" | ".tsx" | ".cts" | ".mts")[];
|
|
@@ -7917,6 +7928,9 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
7917
7928
|
AbstractRange: false;
|
|
7918
7929
|
Accelerometer: false;
|
|
7919
7930
|
addEventListener: false;
|
|
7931
|
+
ai: false;
|
|
7932
|
+
AI: false;
|
|
7933
|
+
AITextSession: false;
|
|
7920
7934
|
alert: false;
|
|
7921
7935
|
AnalyserNode: false;
|
|
7922
7936
|
Animation: false;
|
|
@@ -7942,13 +7956,16 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
7942
7956
|
AudioScheduledSourceNode: false;
|
|
7943
7957
|
AudioSinkInfo: false;
|
|
7944
7958
|
AudioWorklet: false;
|
|
7959
|
+
AudioWorkletGlobalScope: false;
|
|
7945
7960
|
AudioWorkletNode: false;
|
|
7961
|
+
AudioWorkletProcessor: false;
|
|
7946
7962
|
AuthenticatorAssertionResponse: false;
|
|
7947
7963
|
AuthenticatorAttestationResponse: false;
|
|
7948
7964
|
AuthenticatorResponse: false;
|
|
7949
7965
|
BackgroundFetchManager: false;
|
|
7950
7966
|
BackgroundFetchRecord: false;
|
|
7951
7967
|
BackgroundFetchRegistration: false;
|
|
7968
|
+
BarcodeDetector: false;
|
|
7952
7969
|
BarProp: false;
|
|
7953
7970
|
BaseAudioContext: false;
|
|
7954
7971
|
BatteryManager: false;
|
|
@@ -7984,6 +8001,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
7984
8001
|
CDATASection: false;
|
|
7985
8002
|
ChannelMergerNode: false;
|
|
7986
8003
|
ChannelSplitterNode: false;
|
|
8004
|
+
ChapterInformation: false;
|
|
7987
8005
|
CharacterBoundsUpdateEvent: false;
|
|
7988
8006
|
CharacterData: false;
|
|
7989
8007
|
clearInterval: false;
|
|
@@ -7995,6 +8013,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
7995
8013
|
close: false;
|
|
7996
8014
|
closed: false;
|
|
7997
8015
|
CloseEvent: false;
|
|
8016
|
+
CloseWatcher: false;
|
|
7998
8017
|
Comment: false;
|
|
7999
8018
|
CompositionEvent: false;
|
|
8000
8019
|
CompressionStream: false;
|
|
@@ -8004,6 +8023,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8004
8023
|
ContentVisibilityAutoStateChangeEvent: false;
|
|
8005
8024
|
ConvolverNode: false;
|
|
8006
8025
|
CookieChangeEvent: false;
|
|
8026
|
+
CookieDeprecationLabel: false;
|
|
8007
8027
|
cookieStore: false;
|
|
8008
8028
|
CookieStore: false;
|
|
8009
8029
|
CookieStoreManager: false;
|
|
@@ -8046,8 +8066,11 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8046
8066
|
CSSNamespaceRule: false;
|
|
8047
8067
|
CSSNumericArray: false;
|
|
8048
8068
|
CSSNumericValue: false;
|
|
8069
|
+
CSSPageDescriptors: false;
|
|
8049
8070
|
CSSPageRule: false;
|
|
8050
8071
|
CSSPerspective: false;
|
|
8072
|
+
CSSPositionTryDescriptors: false;
|
|
8073
|
+
CSSPositionTryRule: false;
|
|
8051
8074
|
CSSPositionValue: false;
|
|
8052
8075
|
CSSPropertyRule: false;
|
|
8053
8076
|
CSSRotate: false;
|
|
@@ -8071,6 +8094,9 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8071
8094
|
CSSUnitValue: false;
|
|
8072
8095
|
CSSUnparsedValue: false;
|
|
8073
8096
|
CSSVariableReferenceValue: false;
|
|
8097
|
+
CSSViewTransitionRule: false;
|
|
8098
|
+
currentFrame: false;
|
|
8099
|
+
currentTime: false;
|
|
8074
8100
|
CustomElementRegistry: false;
|
|
8075
8101
|
customElements: false;
|
|
8076
8102
|
CustomEvent: false;
|
|
@@ -8128,7 +8154,12 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8128
8154
|
EyeDropper: false;
|
|
8129
8155
|
FeaturePolicy: false;
|
|
8130
8156
|
FederatedCredential: false;
|
|
8157
|
+
fence: false;
|
|
8158
|
+
Fence: false;
|
|
8159
|
+
FencedFrameConfig: false;
|
|
8131
8160
|
fetch: false;
|
|
8161
|
+
fetchLater: false;
|
|
8162
|
+
FetchLaterResult: false;
|
|
8132
8163
|
File: false;
|
|
8133
8164
|
FileList: false;
|
|
8134
8165
|
FileReader: false;
|
|
@@ -8142,6 +8173,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8142
8173
|
FileSystemHandle: false;
|
|
8143
8174
|
FileSystemWritableFileStream: false;
|
|
8144
8175
|
find: false;
|
|
8176
|
+
Float16Array: false;
|
|
8145
8177
|
focus: false;
|
|
8146
8178
|
FocusEvent: false;
|
|
8147
8179
|
FontData: false;
|
|
@@ -8240,6 +8272,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8240
8272
|
HTMLDocument: false;
|
|
8241
8273
|
HTMLElement: false;
|
|
8242
8274
|
HTMLEmbedElement: false;
|
|
8275
|
+
HTMLFencedFrameElement: false;
|
|
8243
8276
|
HTMLFieldSetElement: false;
|
|
8244
8277
|
HTMLFontElement: false;
|
|
8245
8278
|
HTMLFormControlsCollection: false;
|
|
@@ -8380,6 +8413,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8380
8413
|
MediaStreamEvent: false;
|
|
8381
8414
|
MediaStreamTrack: false;
|
|
8382
8415
|
MediaStreamTrackAudioSourceNode: false;
|
|
8416
|
+
MediaStreamTrackAudioStats: false;
|
|
8383
8417
|
MediaStreamTrackEvent: false;
|
|
8384
8418
|
MediaStreamTrackGenerator: false;
|
|
8385
8419
|
MediaStreamTrackProcessor: false;
|
|
@@ -8398,6 +8432,9 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8398
8432
|
MIDIPort: false;
|
|
8399
8433
|
MimeType: false;
|
|
8400
8434
|
MimeTypeArray: false;
|
|
8435
|
+
model: false;
|
|
8436
|
+
ModelGenericSession: false;
|
|
8437
|
+
ModelManager: false;
|
|
8401
8438
|
MouseEvent: false;
|
|
8402
8439
|
moveBy: false;
|
|
8403
8440
|
moveTo: false;
|
|
@@ -8427,6 +8464,8 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8427
8464
|
NodeList: false;
|
|
8428
8465
|
Notification: false;
|
|
8429
8466
|
NotifyPaintEvent: false;
|
|
8467
|
+
NotRestoredReasonDetails: false;
|
|
8468
|
+
NotRestoredReasons: false;
|
|
8430
8469
|
OfflineAudioCompletionEvent: false;
|
|
8431
8470
|
OfflineAudioContext: false;
|
|
8432
8471
|
offscreenBuffering: false;
|
|
@@ -8508,6 +8547,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8508
8547
|
onpagehide: true;
|
|
8509
8548
|
onpagereveal: true;
|
|
8510
8549
|
onpageshow: true;
|
|
8550
|
+
onpageswap: true;
|
|
8511
8551
|
onpaste: true;
|
|
8512
8552
|
onpause: true;
|
|
8513
8553
|
onplay: true;
|
|
@@ -8529,6 +8569,8 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8529
8569
|
onresize: true;
|
|
8530
8570
|
onscroll: true;
|
|
8531
8571
|
onscrollend: true;
|
|
8572
|
+
onscrollsnapchange: true;
|
|
8573
|
+
onscrollsnapchanging: true;
|
|
8532
8574
|
onsearch: true;
|
|
8533
8575
|
onsecuritypolicyviolation: true;
|
|
8534
8576
|
onseeked: true;
|
|
@@ -8564,6 +8606,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8564
8606
|
outerWidth: false;
|
|
8565
8607
|
OverconstrainedError: false;
|
|
8566
8608
|
PageRevealEvent: false;
|
|
8609
|
+
PageSwapEvent: false;
|
|
8567
8610
|
PageTransitionEvent: false;
|
|
8568
8611
|
pageXOffset: false;
|
|
8569
8612
|
pageYOffset: false;
|
|
@@ -8616,12 +8659,15 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8616
8659
|
PresentationConnectionList: false;
|
|
8617
8660
|
PresentationReceiver: false;
|
|
8618
8661
|
PresentationRequest: false;
|
|
8662
|
+
PressureObserver: false;
|
|
8663
|
+
PressureRecord: false;
|
|
8619
8664
|
print: false;
|
|
8620
8665
|
ProcessingInstruction: false;
|
|
8621
8666
|
Profiler: false;
|
|
8622
8667
|
ProgressEvent: false;
|
|
8623
8668
|
PromiseRejectionEvent: false;
|
|
8624
8669
|
prompt: false;
|
|
8670
|
+
ProtectedAudience: false;
|
|
8625
8671
|
PublicKeyCredential: false;
|
|
8626
8672
|
PushManager: false;
|
|
8627
8673
|
PushSubscription: false;
|
|
@@ -8636,6 +8682,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8636
8682
|
ReadableStreamBYOBRequest: false;
|
|
8637
8683
|
ReadableStreamDefaultController: false;
|
|
8638
8684
|
ReadableStreamDefaultReader: false;
|
|
8685
|
+
registerProcessor: false;
|
|
8639
8686
|
RelativeOrientationSensor: false;
|
|
8640
8687
|
RemotePlayback: false;
|
|
8641
8688
|
removeEventListener: false;
|
|
@@ -8673,6 +8720,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8673
8720
|
RTCSessionDescription: false;
|
|
8674
8721
|
RTCStatsReport: false;
|
|
8675
8722
|
RTCTrackEvent: false;
|
|
8723
|
+
sampleRate: false;
|
|
8676
8724
|
scheduler: false;
|
|
8677
8725
|
Scheduler: false;
|
|
8678
8726
|
Scheduling: false;
|
|
@@ -8707,10 +8755,14 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8707
8755
|
setInterval: false;
|
|
8708
8756
|
setTimeout: false;
|
|
8709
8757
|
ShadowRoot: false;
|
|
8758
|
+
sharedStorage: false;
|
|
8759
|
+
SharedStorage: false;
|
|
8760
|
+
SharedStorageWorklet: false;
|
|
8710
8761
|
SharedWorker: false;
|
|
8711
8762
|
showDirectoryPicker: false;
|
|
8712
8763
|
showOpenFilePicker: false;
|
|
8713
8764
|
showSaveFilePicker: false;
|
|
8765
|
+
SnapEvent: false;
|
|
8714
8766
|
SourceBuffer: false;
|
|
8715
8767
|
SourceBufferList: false;
|
|
8716
8768
|
speechSynthesis: false;
|
|
@@ -8899,6 +8951,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8899
8951
|
VideoPlaybackQuality: false;
|
|
8900
8952
|
ViewTimeline: false;
|
|
8901
8953
|
ViewTransition: false;
|
|
8954
|
+
ViewTransitionTypeSet: false;
|
|
8902
8955
|
VirtualKeyboard: false;
|
|
8903
8956
|
VirtualKeyboardGeometryChangeEvent: false;
|
|
8904
8957
|
VisibilityStateEntry: false;
|
|
@@ -8915,6 +8968,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8915
8968
|
WebGLBuffer: false;
|
|
8916
8969
|
WebGLContextEvent: false;
|
|
8917
8970
|
WebGLFramebuffer: false;
|
|
8971
|
+
WebGLObject: false;
|
|
8918
8972
|
WebGLProgram: false;
|
|
8919
8973
|
WebGLQuery: false;
|
|
8920
8974
|
WebGLRenderbuffer: false;
|
|
@@ -8928,6 +8982,8 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8928
8982
|
WebGLUniformLocation: false;
|
|
8929
8983
|
WebGLVertexArrayObject: false;
|
|
8930
8984
|
WebSocket: false;
|
|
8985
|
+
WebSocketError: false;
|
|
8986
|
+
WebSocketStream: false;
|
|
8931
8987
|
WebTransport: false;
|
|
8932
8988
|
WebTransportBidirectionalStream: false;
|
|
8933
8989
|
WebTransportDatagramDuplexStream: false;
|
|
@@ -8942,6 +8998,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8942
8998
|
WindowControlsOverlayGeometryChangeEvent: false;
|
|
8943
8999
|
Worker: false;
|
|
8944
9000
|
Worklet: false;
|
|
9001
|
+
WorkletGlobalScope: false;
|
|
8945
9002
|
WritableStream: false;
|
|
8946
9003
|
WritableStreamDefaultController: false;
|
|
8947
9004
|
WritableStreamDefaultWriter: false;
|
|
@@ -9130,7 +9187,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
9130
9187
|
plugins: string[];
|
|
9131
9188
|
rules: eslint.Linter.RulesRecord;
|
|
9132
9189
|
languageOptions: {
|
|
9133
|
-
ecmaVersion?: 3 | 5 | 6 | 7 |
|
|
9190
|
+
ecmaVersion?: 8 | 3 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | "latest" | undefined;
|
|
9134
9191
|
sourceType?: "module" | "script" | "commonjs" | undefined;
|
|
9135
9192
|
globals?: eslint.ESLint.Globals | undefined;
|
|
9136
9193
|
parser?: eslint.Linter.FlatConfigParserModule | undefined;
|
|
@@ -9176,7 +9233,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
9176
9233
|
};
|
|
9177
9234
|
plugins: string[];
|
|
9178
9235
|
languageOptions: {
|
|
9179
|
-
ecmaVersion?: 3 | 5 | 6 | 7 |
|
|
9236
|
+
ecmaVersion?: 8 | 3 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | "latest" | undefined;
|
|
9180
9237
|
sourceType?: "module" | "script" | "commonjs" | undefined;
|
|
9181
9238
|
globals?: eslint.ESLint.Globals | undefined;
|
|
9182
9239
|
parser?: eslint.Linter.FlatConfigParserModule | undefined;
|