@jsse/eslint-config 0.1.5 → 0.1.7
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/cli.cjs +4 -3
- package/dist/cli.js +4 -3
- package/dist/index.cjs +300 -184
- package/dist/index.d.cts +1861 -549
- package/dist/index.d.ts +1861 -549
- package/dist/index.js +303 -188
- package/package.json +27 -7
package/dist/index.d.cts
CHANGED
|
@@ -1,32 +1,27 @@
|
|
|
1
|
+
import * as eslint from 'eslint';
|
|
1
2
|
import { Linter } from 'eslint';
|
|
2
3
|
import { ParserOptions } from '@typescript-eslint/parser';
|
|
3
4
|
import * as parser from '@typescript-eslint/parser';
|
|
4
5
|
export { parser as parserTs };
|
|
5
6
|
import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
import * as _stylistic_eslint_plugin from '@stylistic/eslint-plugin';
|
|
8
|
+
import * as eslint_plugin_yml_lib_types_js from 'eslint-plugin-yml/lib/types.js';
|
|
9
|
+
import * as eslint_plugin_yml_lib_meta_js from 'eslint-plugin-yml/lib/meta.js';
|
|
10
|
+
import * as yaml_eslint_parser from 'yaml-eslint-parser';
|
|
11
|
+
import * as eslint_plugin_jsonc_types from 'eslint-plugin-jsonc/types';
|
|
12
|
+
import * as eslint_plugin_jsonc_meta from 'eslint-plugin-jsonc/meta';
|
|
13
|
+
import * as jsonc_eslint_parser from 'jsonc-eslint-parser';
|
|
8
14
|
export { default as pluginAntfu } from 'eslint-plugin-antfu';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export { eslintPluginI as pluginImport };
|
|
12
|
-
export { default as pluginJsdoc } from 'eslint-plugin-jsdoc';
|
|
13
|
-
import * as eslintPluginJsonc from 'eslint-plugin-jsonc';
|
|
14
|
-
export { eslintPluginJsonc as pluginJsonc };
|
|
15
|
-
export { default as pluginMarkdown } from 'eslint-plugin-markdown';
|
|
15
|
+
import * as eslintPluginImportX from 'eslint-plugin-import-x';
|
|
16
|
+
export { eslintPluginImportX as pluginImport };
|
|
16
17
|
export { default as pluginN } from 'eslint-plugin-n';
|
|
17
|
-
export { default as
|
|
18
|
+
export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
|
|
19
|
+
export { default as pluginUnusedImports } from 'eslint-plugin-unused-imports';
|
|
18
20
|
export { default as pluginPerfectionist } from 'eslint-plugin-perfectionist';
|
|
19
|
-
export { default as
|
|
20
|
-
export { default as
|
|
21
|
-
import * as eslintPluginReactRefresh from 'eslint-plugin-react-refresh';
|
|
22
|
-
export { eslintPluginReactRefresh as pluginReactRefresh };
|
|
21
|
+
export { default as pluginEslintComments } from 'eslint-plugin-eslint-comments';
|
|
22
|
+
export { default as pluginTs } from '@typescript-eslint/eslint-plugin';
|
|
23
23
|
import * as eslintPluginSortKeys from 'eslint-plugin-sort-keys';
|
|
24
24
|
export { eslintPluginSortKeys as pluginSortKeys };
|
|
25
|
-
export { default as pluginTailwind } from 'eslint-plugin-tailwindcss';
|
|
26
|
-
export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
|
|
27
|
-
export { default as pluginUnusedImports } from 'eslint-plugin-unused-imports';
|
|
28
|
-
export { default as pluginVitest } from 'eslint-plugin-vitest';
|
|
29
|
-
export { default as parserJsonc } from 'jsonc-eslint-parser';
|
|
30
25
|
|
|
31
26
|
/* eslint-disable */
|
|
32
27
|
/* prettier-ignore */
|
|
@@ -1319,227 +1314,228 @@ interface RuleOptions {
|
|
|
1319
1314
|
"eslint-comments/require-description"?: Linter.RuleEntry<EslintCommentsRequireDescription>;
|
|
1320
1315
|
/**
|
|
1321
1316
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1322
|
-
* @see https://github.com/
|
|
1317
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/consistent-type-specifier-style.md
|
|
1323
1318
|
*/
|
|
1324
1319
|
"import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
|
|
1325
1320
|
/**
|
|
1326
1321
|
* Ensure a default export is present, given a default import.
|
|
1327
|
-
* @see https://github.com/
|
|
1322
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/default.md
|
|
1328
1323
|
*/
|
|
1329
1324
|
"import/default"?: Linter.RuleEntry<[]>;
|
|
1330
1325
|
/**
|
|
1331
1326
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1332
|
-
* @see https://github.com/
|
|
1327
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/dynamic-import-chunkname.md
|
|
1333
1328
|
*/
|
|
1334
1329
|
"import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
|
|
1335
1330
|
/**
|
|
1336
1331
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1337
|
-
* @see https://github.com/
|
|
1332
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/export.md
|
|
1338
1333
|
*/
|
|
1339
1334
|
"import/export"?: Linter.RuleEntry<[]>;
|
|
1340
1335
|
/**
|
|
1341
1336
|
* Ensure all exports appear after other statements.
|
|
1342
|
-
* @see https://github.com/
|
|
1337
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/exports-last.md
|
|
1343
1338
|
*/
|
|
1344
1339
|
"import/exports-last"?: Linter.RuleEntry<[]>;
|
|
1345
1340
|
/**
|
|
1346
1341
|
* Ensure consistent use of file extension within the import path.
|
|
1347
|
-
* @see https://github.com/
|
|
1342
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/extensions.md
|
|
1348
1343
|
*/
|
|
1349
1344
|
"import/extensions"?: Linter.RuleEntry<ImportExtensions>;
|
|
1350
1345
|
/**
|
|
1351
1346
|
* Ensure all imports appear before other statements.
|
|
1352
|
-
* @see https://github.com/
|
|
1347
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/first.md
|
|
1353
1348
|
*/
|
|
1354
1349
|
"import/first"?: Linter.RuleEntry<ImportFirst>;
|
|
1355
1350
|
/**
|
|
1356
|
-
* Prefer named exports to be grouped together in a single export declaration
|
|
1357
|
-
* @see https://github.com/
|
|
1351
|
+
* Prefer named exports to be grouped together in a single export declaration.
|
|
1352
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/group-exports.md
|
|
1358
1353
|
*/
|
|
1359
|
-
"import/group-exports"?: Linter.RuleEntry<
|
|
1354
|
+
"import/group-exports"?: Linter.RuleEntry<ImportGroupExports>;
|
|
1360
1355
|
/**
|
|
1361
|
-
* Replaced by `import/first`.
|
|
1362
|
-
* @see https://github.com/
|
|
1356
|
+
* Replaced by `import-x/first`.
|
|
1357
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/7b25c1cb95ee18acc1531002fd343e1e6031f9ed/docs/rules/imports-first.md
|
|
1363
1358
|
* @deprecated
|
|
1364
1359
|
*/
|
|
1365
1360
|
"import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
|
|
1366
1361
|
/**
|
|
1367
1362
|
* Enforce the maximum number of dependencies a module can have.
|
|
1368
|
-
* @see https://github.com/
|
|
1363
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/max-dependencies.md
|
|
1369
1364
|
*/
|
|
1370
1365
|
"import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
|
|
1371
1366
|
/**
|
|
1372
1367
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1373
|
-
* @see https://github.com/
|
|
1368
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/named.md
|
|
1374
1369
|
*/
|
|
1375
1370
|
"import/named"?: Linter.RuleEntry<ImportNamed>;
|
|
1376
1371
|
/**
|
|
1377
1372
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1378
|
-
* @see https://github.com/
|
|
1373
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/namespace.md
|
|
1379
1374
|
*/
|
|
1380
1375
|
"import/namespace"?: Linter.RuleEntry<ImportNamespace>;
|
|
1381
1376
|
/**
|
|
1382
1377
|
* Enforce a newline after import statements.
|
|
1383
|
-
* @see https://github.com/
|
|
1378
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/newline-after-import.md
|
|
1384
1379
|
*/
|
|
1385
1380
|
"import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
|
|
1386
1381
|
/**
|
|
1387
1382
|
* Forbid import of modules using absolute paths.
|
|
1388
|
-
* @see https://github.com/
|
|
1383
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-absolute-path.md
|
|
1389
1384
|
*/
|
|
1390
1385
|
"import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
|
|
1391
1386
|
/**
|
|
1392
1387
|
* Forbid AMD `require` and `define` calls.
|
|
1393
|
-
* @see https://github.com/
|
|
1388
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-amd.md
|
|
1394
1389
|
*/
|
|
1395
1390
|
"import/no-amd"?: Linter.RuleEntry<[]>;
|
|
1396
1391
|
/**
|
|
1397
1392
|
* Forbid anonymous values as default exports.
|
|
1398
|
-
* @see https://github.com/
|
|
1393
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-anonymous-default-export.md
|
|
1399
1394
|
*/
|
|
1400
1395
|
"import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
|
|
1401
1396
|
/**
|
|
1402
1397
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1403
|
-
* @see https://github.com/
|
|
1398
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-commonjs.md
|
|
1404
1399
|
*/
|
|
1405
1400
|
"import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
|
|
1406
1401
|
/**
|
|
1407
1402
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1408
|
-
* @see https://github.com/
|
|
1403
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-cycle.md
|
|
1409
1404
|
*/
|
|
1410
1405
|
"import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
|
|
1411
1406
|
/**
|
|
1412
1407
|
* Forbid default exports.
|
|
1413
|
-
* @see https://github.com/
|
|
1408
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-default-export.md
|
|
1414
1409
|
*/
|
|
1415
1410
|
"import/no-default-export"?: Linter.RuleEntry<[]>;
|
|
1416
1411
|
/**
|
|
1417
1412
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1418
|
-
* @see https://github.com/
|
|
1413
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-deprecated.md
|
|
1419
1414
|
*/
|
|
1420
1415
|
"import/no-deprecated"?: Linter.RuleEntry<[]>;
|
|
1421
1416
|
/**
|
|
1422
1417
|
* Forbid repeated import of the same module in multiple places.
|
|
1423
|
-
* @see https://github.com/
|
|
1418
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-duplicates.md
|
|
1424
1419
|
*/
|
|
1425
1420
|
"import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
|
|
1426
1421
|
/**
|
|
1427
1422
|
* Forbid `require()` calls with expressions.
|
|
1428
|
-
* @see https://github.com/
|
|
1423
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-dynamic-require.md
|
|
1429
1424
|
*/
|
|
1430
1425
|
"import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
|
|
1431
1426
|
/**
|
|
1432
1427
|
* Forbid empty named import blocks.
|
|
1433
|
-
* @see https://github.com/
|
|
1428
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-empty-named-blocks.md
|
|
1434
1429
|
*/
|
|
1435
1430
|
"import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
|
|
1436
1431
|
/**
|
|
1437
1432
|
* Forbid the use of extraneous packages.
|
|
1438
|
-
* @see https://github.com/
|
|
1433
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-extraneous-dependencies.md
|
|
1439
1434
|
*/
|
|
1440
1435
|
"import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
|
|
1441
1436
|
/**
|
|
1442
1437
|
* Forbid import statements with CommonJS module.exports.
|
|
1438
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-import-module-exports.md
|
|
1443
1439
|
*/
|
|
1444
1440
|
"import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
|
|
1445
1441
|
/**
|
|
1446
1442
|
* Forbid importing the submodules of other modules.
|
|
1447
|
-
* @see https://github.com/
|
|
1443
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-internal-modules.md
|
|
1448
1444
|
*/
|
|
1449
1445
|
"import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
|
|
1450
1446
|
/**
|
|
1451
1447
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1452
|
-
* @see https://github.com/
|
|
1448
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-mutable-exports.md
|
|
1453
1449
|
*/
|
|
1454
1450
|
"import/no-mutable-exports"?: Linter.RuleEntry<[]>;
|
|
1455
1451
|
/**
|
|
1456
1452
|
* Forbid use of exported name as identifier of default export.
|
|
1457
|
-
* @see https://github.com/
|
|
1453
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-named-as-default.md
|
|
1458
1454
|
*/
|
|
1459
1455
|
"import/no-named-as-default"?: Linter.RuleEntry<[]>;
|
|
1460
1456
|
/**
|
|
1461
1457
|
* Forbid use of exported name as property of default export.
|
|
1462
|
-
* @see https://github.com/
|
|
1458
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-named-as-default-member.md
|
|
1463
1459
|
*/
|
|
1464
1460
|
"import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
|
|
1465
1461
|
/**
|
|
1466
1462
|
* Forbid named default exports.
|
|
1467
|
-
* @see https://github.com/
|
|
1463
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-named-default.md
|
|
1468
1464
|
*/
|
|
1469
1465
|
"import/no-named-default"?: Linter.RuleEntry<[]>;
|
|
1470
1466
|
/**
|
|
1471
1467
|
* Forbid named exports.
|
|
1472
|
-
* @see https://github.com/
|
|
1468
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-named-export.md
|
|
1473
1469
|
*/
|
|
1474
1470
|
"import/no-named-export"?: Linter.RuleEntry<[]>;
|
|
1475
1471
|
/**
|
|
1476
1472
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1477
|
-
* @see https://github.com/
|
|
1473
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-namespace.md
|
|
1478
1474
|
*/
|
|
1479
1475
|
"import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
|
|
1480
1476
|
/**
|
|
1481
1477
|
* Forbid Node.js builtin modules.
|
|
1482
|
-
* @see https://github.com/
|
|
1478
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-nodejs-modules.md
|
|
1483
1479
|
*/
|
|
1484
1480
|
"import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
|
|
1485
1481
|
/**
|
|
1486
1482
|
* Forbid importing packages through relative paths.
|
|
1487
|
-
* @see https://github.com/
|
|
1483
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-relative-packages.md
|
|
1488
1484
|
*/
|
|
1489
1485
|
"import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
|
|
1490
1486
|
/**
|
|
1491
1487
|
* Forbid importing modules from parent directories.
|
|
1492
|
-
* @see https://github.com/
|
|
1488
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-relative-parent-imports.md
|
|
1493
1489
|
*/
|
|
1494
1490
|
"import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
|
|
1495
1491
|
/**
|
|
1496
1492
|
* Enforce which files can be imported in a given folder.
|
|
1497
|
-
* @see https://github.com/
|
|
1493
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-restricted-paths.md
|
|
1498
1494
|
*/
|
|
1499
1495
|
"import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
|
|
1500
1496
|
/**
|
|
1501
1497
|
* Forbid a module from importing itself.
|
|
1502
|
-
* @see https://github.com/
|
|
1498
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-self-import.md
|
|
1503
1499
|
*/
|
|
1504
1500
|
"import/no-self-import"?: Linter.RuleEntry<[]>;
|
|
1505
1501
|
/**
|
|
1506
|
-
* Forbid unassigned imports
|
|
1507
|
-
* @see https://github.com/
|
|
1502
|
+
* Forbid unassigned imports.
|
|
1503
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-unassigned-import.md
|
|
1508
1504
|
*/
|
|
1509
1505
|
"import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
|
|
1510
1506
|
/**
|
|
1511
1507
|
* Ensure imports point to a file/module that can be resolved.
|
|
1512
|
-
* @see https://github.com/
|
|
1508
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-unresolved.md
|
|
1513
1509
|
*/
|
|
1514
1510
|
"import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
|
|
1515
1511
|
/**
|
|
1516
1512
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1517
|
-
* @see https://github.com/
|
|
1513
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-unused-modules.md
|
|
1518
1514
|
*/
|
|
1519
1515
|
"import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
|
|
1520
1516
|
/**
|
|
1521
1517
|
* Forbid unnecessary path segments in import and require statements.
|
|
1522
|
-
* @see https://github.com/
|
|
1518
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-useless-path-segments.md
|
|
1523
1519
|
*/
|
|
1524
1520
|
"import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
|
|
1525
1521
|
/**
|
|
1526
1522
|
* Forbid webpack loader syntax in imports.
|
|
1527
|
-
* @see https://github.com/
|
|
1523
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/no-webpack-loader-syntax.md
|
|
1528
1524
|
*/
|
|
1529
1525
|
"import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
|
|
1530
1526
|
/**
|
|
1531
1527
|
* Enforce a convention in module import order.
|
|
1532
|
-
* @see https://github.com/
|
|
1528
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/order.md
|
|
1533
1529
|
*/
|
|
1534
1530
|
"import/order"?: Linter.RuleEntry<ImportOrder>;
|
|
1535
1531
|
/**
|
|
1536
1532
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1537
|
-
* @see https://github.com/
|
|
1533
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/prefer-default-export.md
|
|
1538
1534
|
*/
|
|
1539
1535
|
"import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
|
|
1540
1536
|
/**
|
|
1541
1537
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1542
|
-
* @see https://github.com/
|
|
1538
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.4.4/docs/rules/unambiguous.md
|
|
1543
1539
|
*/
|
|
1544
1540
|
"import/unambiguous"?: Linter.RuleEntry<[]>;
|
|
1545
1541
|
/**
|
|
@@ -2317,6 +2313,7 @@ interface RuleOptions {
|
|
|
2317
2313
|
* @see https://reactjs.org/docs/hooks-rules.html
|
|
2318
2314
|
*/
|
|
2319
2315
|
"react-hooks/rules-of-hooks"?: Linter.RuleEntry<[]>;
|
|
2316
|
+
"react-refresh/only-export-components"?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>;
|
|
2320
2317
|
/**
|
|
2321
2318
|
* Enforces consistent naming for boolean props
|
|
2322
2319
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/boolean-prop-naming.md
|
|
@@ -2824,6 +2821,46 @@ interface RuleOptions {
|
|
|
2824
2821
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/void-dom-elements-no-children.md
|
|
2825
2822
|
*/
|
|
2826
2823
|
"react/void-dom-elements-no-children"?: Linter.RuleEntry<[]>;
|
|
2824
|
+
/**
|
|
2825
|
+
* Enforce a consistent and logical order of the Tailwind CSS classnames
|
|
2826
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/classnames-order.md
|
|
2827
|
+
*/
|
|
2828
|
+
"tailwindcss/classnames-order"?: Linter.RuleEntry<TailwindcssClassnamesOrder>;
|
|
2829
|
+
/**
|
|
2830
|
+
* Warns about dash prefixed classnames using arbitrary values
|
|
2831
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/enforces-negative-arbitrary-values.md
|
|
2832
|
+
*/
|
|
2833
|
+
"tailwindcss/enforces-negative-arbitrary-values"?: Linter.RuleEntry<TailwindcssEnforcesNegativeArbitraryValues>;
|
|
2834
|
+
/**
|
|
2835
|
+
* Enforces the usage of shorthand Tailwind CSS classnames
|
|
2836
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/enforces-shorthand.md
|
|
2837
|
+
*/
|
|
2838
|
+
"tailwindcss/enforces-shorthand"?: Linter.RuleEntry<TailwindcssEnforcesShorthand>;
|
|
2839
|
+
/**
|
|
2840
|
+
* Detect obsolete classnames when upgrading to Tailwind CSS v3
|
|
2841
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/migration-from-tailwind-2.md
|
|
2842
|
+
*/
|
|
2843
|
+
"tailwindcss/migration-from-tailwind-2"?: Linter.RuleEntry<TailwindcssMigrationFromTailwind2>;
|
|
2844
|
+
/**
|
|
2845
|
+
* Forbid using arbitrary values in classnames
|
|
2846
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-arbitrary-value.md
|
|
2847
|
+
*/
|
|
2848
|
+
"tailwindcss/no-arbitrary-value"?: Linter.RuleEntry<TailwindcssNoArbitraryValue>;
|
|
2849
|
+
/**
|
|
2850
|
+
* Avoid contradicting Tailwind CSS classnames (e.g. "w-3 w-5")
|
|
2851
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-contradicting-classname.md
|
|
2852
|
+
*/
|
|
2853
|
+
"tailwindcss/no-contradicting-classname"?: Linter.RuleEntry<TailwindcssNoContradictingClassname>;
|
|
2854
|
+
/**
|
|
2855
|
+
* Detect classnames which do not belong to Tailwind CSS
|
|
2856
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-custom-classname.md
|
|
2857
|
+
*/
|
|
2858
|
+
"tailwindcss/no-custom-classname"?: Linter.RuleEntry<TailwindcssNoCustomClassname>;
|
|
2859
|
+
/**
|
|
2860
|
+
* Forbid using arbitrary values in classnames when an equivalent preset exists
|
|
2861
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-unnecessary-arbitrary-value.md
|
|
2862
|
+
*/
|
|
2863
|
+
"tailwindcss/no-unnecessary-arbitrary-value"?: Linter.RuleEntry<TailwindcssNoUnnecessaryArbitraryValue>;
|
|
2827
2864
|
/**
|
|
2828
2865
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
2829
2866
|
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v51.0.1/docs/rules/better-regex.md
|
|
@@ -3911,12 +3948,18 @@ type StylisticArrayBracketSpacing =
|
|
|
3911
3948
|
type StylisticArrayElementNewline =
|
|
3912
3949
|
| []
|
|
3913
3950
|
| [
|
|
3914
|
-
|
|
|
3951
|
+
| _StylisticArrayElementNewlineBasicConfig
|
|
3915
3952
|
| {
|
|
3916
|
-
ArrayExpression?:
|
|
3917
|
-
ArrayPattern?:
|
|
3953
|
+
ArrayExpression?: _StylisticArrayElementNewlineBasicConfig;
|
|
3954
|
+
ArrayPattern?: _StylisticArrayElementNewlineBasicConfig;
|
|
3918
3955
|
},
|
|
3919
3956
|
];
|
|
3957
|
+
type _StylisticArrayElementNewlineBasicConfig =
|
|
3958
|
+
| ("always" | "never" | "consistent")
|
|
3959
|
+
| {
|
|
3960
|
+
multiline?: boolean;
|
|
3961
|
+
minItems?: number | null;
|
|
3962
|
+
};
|
|
3920
3963
|
// ----- @stylistic/arrow-parens -----
|
|
3921
3964
|
type StylisticArrowParens =
|
|
3922
3965
|
| []
|
|
@@ -3952,18 +3995,29 @@ type StylisticBraceStyle =
|
|
|
3952
3995
|
type StylisticCommaDangle =
|
|
3953
3996
|
| []
|
|
3954
3997
|
| [
|
|
3955
|
-
|
|
|
3998
|
+
| _StylisticCommaDangleValue
|
|
3956
3999
|
| {
|
|
3957
|
-
arrays?:
|
|
3958
|
-
objects?:
|
|
3959
|
-
imports?:
|
|
3960
|
-
exports?:
|
|
3961
|
-
functions?:
|
|
3962
|
-
enums?:
|
|
3963
|
-
generics?:
|
|
3964
|
-
tuples?:
|
|
4000
|
+
arrays?: _StylisticCommaDangleValueWithIgnore;
|
|
4001
|
+
objects?: _StylisticCommaDangleValueWithIgnore;
|
|
4002
|
+
imports?: _StylisticCommaDangleValueWithIgnore;
|
|
4003
|
+
exports?: _StylisticCommaDangleValueWithIgnore;
|
|
4004
|
+
functions?: _StylisticCommaDangleValueWithIgnore;
|
|
4005
|
+
enums?: _StylisticCommaDangleValueWithIgnore;
|
|
4006
|
+
generics?: _StylisticCommaDangleValueWithIgnore;
|
|
4007
|
+
tuples?: _StylisticCommaDangleValueWithIgnore;
|
|
3965
4008
|
},
|
|
3966
4009
|
];
|
|
4010
|
+
type _StylisticCommaDangleValue =
|
|
4011
|
+
| "always-multiline"
|
|
4012
|
+
| "always"
|
|
4013
|
+
| "never"
|
|
4014
|
+
| "only-multiline";
|
|
4015
|
+
type _StylisticCommaDangleValueWithIgnore =
|
|
4016
|
+
| "always-multiline"
|
|
4017
|
+
| "always"
|
|
4018
|
+
| "never"
|
|
4019
|
+
| "only-multiline"
|
|
4020
|
+
| "ignore";
|
|
3967
4021
|
// ----- @stylistic/comma-spacing -----
|
|
3968
4022
|
type StylisticCommaSpacing =
|
|
3969
4023
|
| []
|
|
@@ -4160,18 +4214,18 @@ type StylisticJsxCurlyNewline =
|
|
|
4160
4214
|
type StylisticJsxCurlySpacing =
|
|
4161
4215
|
| []
|
|
4162
4216
|
| [
|
|
4163
|
-
| (
|
|
4164
|
-
attributes?:
|
|
4165
|
-
children?:
|
|
4217
|
+
| (_StylisticJsxCurlySpacing_BasicConfig & {
|
|
4218
|
+
attributes?: _StylisticJsxCurlySpacingBasicConfigOrBoolean;
|
|
4219
|
+
children?: _StylisticJsxCurlySpacingBasicConfigOrBoolean;
|
|
4166
4220
|
[k: string]: unknown | undefined;
|
|
4167
4221
|
})
|
|
4168
4222
|
| ("always" | "never"),
|
|
4169
4223
|
]
|
|
4170
4224
|
| [
|
|
4171
4225
|
(
|
|
4172
|
-
| (
|
|
4173
|
-
attributes?:
|
|
4174
|
-
children?:
|
|
4226
|
+
| (_StylisticJsxCurlySpacing_BasicConfig & {
|
|
4227
|
+
attributes?: _StylisticJsxCurlySpacingBasicConfigOrBoolean;
|
|
4228
|
+
children?: _StylisticJsxCurlySpacingBasicConfigOrBoolean;
|
|
4175
4229
|
[k: string]: unknown | undefined;
|
|
4176
4230
|
})
|
|
4177
4231
|
| ("always" | "never")
|
|
@@ -4184,6 +4238,18 @@ type StylisticJsxCurlySpacing =
|
|
|
4184
4238
|
};
|
|
4185
4239
|
},
|
|
4186
4240
|
];
|
|
4241
|
+
type _StylisticJsxCurlySpacingBasicConfigOrBoolean =
|
|
4242
|
+
| _StylisticJsxCurlySpacing_BasicConfig
|
|
4243
|
+
| boolean;
|
|
4244
|
+
interface _StylisticJsxCurlySpacing_BasicConfig {
|
|
4245
|
+
when?: "always" | "never";
|
|
4246
|
+
allowMultiline?: boolean;
|
|
4247
|
+
spacing?: {
|
|
4248
|
+
objectLiterals?: "always" | "never";
|
|
4249
|
+
[k: string]: unknown | undefined;
|
|
4250
|
+
};
|
|
4251
|
+
[k: string]: unknown | undefined;
|
|
4252
|
+
}
|
|
4187
4253
|
// ----- @stylistic/jsx-equals-spacing -----
|
|
4188
4254
|
type StylisticJsxEqualsSpacing = [] | ["always" | "never"];
|
|
4189
4255
|
// ----- @stylistic/jsx-first-prop-new-line -----
|
|
@@ -4860,12 +4926,22 @@ type StylisticMemberDelimiterStyle =
|
|
|
4860
4926
|
requireLast?: boolean;
|
|
4861
4927
|
};
|
|
4862
4928
|
overrides?: {
|
|
4863
|
-
interface?:
|
|
4864
|
-
typeLiteral?:
|
|
4929
|
+
interface?: _StylisticMemberDelimiterStyle_DelimiterConfig;
|
|
4930
|
+
typeLiteral?: _StylisticMemberDelimiterStyle_DelimiterConfig;
|
|
4865
4931
|
};
|
|
4866
4932
|
multilineDetection?: "brackets" | "last-member";
|
|
4867
4933
|
},
|
|
4868
4934
|
];
|
|
4935
|
+
interface _StylisticMemberDelimiterStyle_DelimiterConfig {
|
|
4936
|
+
multiline?: {
|
|
4937
|
+
delimiter?: "none" | "semi" | "comma";
|
|
4938
|
+
requireLast?: boolean;
|
|
4939
|
+
};
|
|
4940
|
+
singleline?: {
|
|
4941
|
+
delimiter?: "semi" | "comma";
|
|
4942
|
+
requireLast?: boolean;
|
|
4943
|
+
};
|
|
4944
|
+
}
|
|
4869
4945
|
// ----- @stylistic/multiline-ternary -----
|
|
4870
4946
|
type StylisticMultilineTernary =
|
|
4871
4947
|
| []
|
|
@@ -5172,10 +5248,153 @@ type StylisticPaddedBlocks =
|
|
|
5172
5248
|
allowSingleLineBlocks?: boolean;
|
|
5173
5249
|
},
|
|
5174
5250
|
];
|
|
5251
|
+
// ----- @stylistic/padding-line-between-statements -----
|
|
5252
|
+
type _StylisticPaddingLineBetweenStatementsPaddingType =
|
|
5253
|
+
| "any"
|
|
5254
|
+
| "never"
|
|
5255
|
+
| "always";
|
|
5256
|
+
type _StylisticPaddingLineBetweenStatementsStatementType =
|
|
5257
|
+
| (
|
|
5258
|
+
| "*"
|
|
5259
|
+
| "block-like"
|
|
5260
|
+
| "exports"
|
|
5261
|
+
| "require"
|
|
5262
|
+
| "directive"
|
|
5263
|
+
| "expression"
|
|
5264
|
+
| "iife"
|
|
5265
|
+
| "multiline-block-like"
|
|
5266
|
+
| "multiline-expression"
|
|
5267
|
+
| "multiline-const"
|
|
5268
|
+
| "multiline-let"
|
|
5269
|
+
| "multiline-var"
|
|
5270
|
+
| "singleline-const"
|
|
5271
|
+
| "singleline-let"
|
|
5272
|
+
| "singleline-var"
|
|
5273
|
+
| "block"
|
|
5274
|
+
| "empty"
|
|
5275
|
+
| "function"
|
|
5276
|
+
| "break"
|
|
5277
|
+
| "case"
|
|
5278
|
+
| "class"
|
|
5279
|
+
| "const"
|
|
5280
|
+
| "continue"
|
|
5281
|
+
| "debugger"
|
|
5282
|
+
| "default"
|
|
5283
|
+
| "do"
|
|
5284
|
+
| "export"
|
|
5285
|
+
| "for"
|
|
5286
|
+
| "if"
|
|
5287
|
+
| "import"
|
|
5288
|
+
| "let"
|
|
5289
|
+
| "return"
|
|
5290
|
+
| "switch"
|
|
5291
|
+
| "throw"
|
|
5292
|
+
| "try"
|
|
5293
|
+
| "var"
|
|
5294
|
+
| "while"
|
|
5295
|
+
| "with"
|
|
5296
|
+
| "cjs-export"
|
|
5297
|
+
| "cjs-import"
|
|
5298
|
+
| "interface"
|
|
5299
|
+
| "type"
|
|
5300
|
+
| "function-overload"
|
|
5301
|
+
)
|
|
5302
|
+
| [
|
|
5303
|
+
(
|
|
5304
|
+
| "*"
|
|
5305
|
+
| "block-like"
|
|
5306
|
+
| "exports"
|
|
5307
|
+
| "require"
|
|
5308
|
+
| "directive"
|
|
5309
|
+
| "expression"
|
|
5310
|
+
| "iife"
|
|
5311
|
+
| "multiline-block-like"
|
|
5312
|
+
| "multiline-expression"
|
|
5313
|
+
| "multiline-const"
|
|
5314
|
+
| "multiline-let"
|
|
5315
|
+
| "multiline-var"
|
|
5316
|
+
| "singleline-const"
|
|
5317
|
+
| "singleline-let"
|
|
5318
|
+
| "singleline-var"
|
|
5319
|
+
| "block"
|
|
5320
|
+
| "empty"
|
|
5321
|
+
| "function"
|
|
5322
|
+
| "break"
|
|
5323
|
+
| "case"
|
|
5324
|
+
| "class"
|
|
5325
|
+
| "const"
|
|
5326
|
+
| "continue"
|
|
5327
|
+
| "debugger"
|
|
5328
|
+
| "default"
|
|
5329
|
+
| "do"
|
|
5330
|
+
| "export"
|
|
5331
|
+
| "for"
|
|
5332
|
+
| "if"
|
|
5333
|
+
| "import"
|
|
5334
|
+
| "let"
|
|
5335
|
+
| "return"
|
|
5336
|
+
| "switch"
|
|
5337
|
+
| "throw"
|
|
5338
|
+
| "try"
|
|
5339
|
+
| "var"
|
|
5340
|
+
| "while"
|
|
5341
|
+
| "with"
|
|
5342
|
+
| "cjs-export"
|
|
5343
|
+
| "cjs-import"
|
|
5344
|
+
| "interface"
|
|
5345
|
+
| "type"
|
|
5346
|
+
| "function-overload"
|
|
5347
|
+
),
|
|
5348
|
+
...(
|
|
5349
|
+
| "*"
|
|
5350
|
+
| "block-like"
|
|
5351
|
+
| "exports"
|
|
5352
|
+
| "require"
|
|
5353
|
+
| "directive"
|
|
5354
|
+
| "expression"
|
|
5355
|
+
| "iife"
|
|
5356
|
+
| "multiline-block-like"
|
|
5357
|
+
| "multiline-expression"
|
|
5358
|
+
| "multiline-const"
|
|
5359
|
+
| "multiline-let"
|
|
5360
|
+
| "multiline-var"
|
|
5361
|
+
| "singleline-const"
|
|
5362
|
+
| "singleline-let"
|
|
5363
|
+
| "singleline-var"
|
|
5364
|
+
| "block"
|
|
5365
|
+
| "empty"
|
|
5366
|
+
| "function"
|
|
5367
|
+
| "break"
|
|
5368
|
+
| "case"
|
|
5369
|
+
| "class"
|
|
5370
|
+
| "const"
|
|
5371
|
+
| "continue"
|
|
5372
|
+
| "debugger"
|
|
5373
|
+
| "default"
|
|
5374
|
+
| "do"
|
|
5375
|
+
| "export"
|
|
5376
|
+
| "for"
|
|
5377
|
+
| "if"
|
|
5378
|
+
| "import"
|
|
5379
|
+
| "let"
|
|
5380
|
+
| "return"
|
|
5381
|
+
| "switch"
|
|
5382
|
+
| "throw"
|
|
5383
|
+
| "try"
|
|
5384
|
+
| "var"
|
|
5385
|
+
| "while"
|
|
5386
|
+
| "with"
|
|
5387
|
+
| "cjs-export"
|
|
5388
|
+
| "cjs-import"
|
|
5389
|
+
| "interface"
|
|
5390
|
+
| "type"
|
|
5391
|
+
| "function-overload"
|
|
5392
|
+
)[],
|
|
5393
|
+
];
|
|
5175
5394
|
type StylisticPaddingLineBetweenStatements = {
|
|
5176
|
-
blankLine:
|
|
5177
|
-
prev:
|
|
5178
|
-
next:
|
|
5395
|
+
blankLine: _StylisticPaddingLineBetweenStatementsPaddingType;
|
|
5396
|
+
prev: _StylisticPaddingLineBetweenStatementsStatementType;
|
|
5397
|
+
next: _StylisticPaddingLineBetweenStatementsStatementType;
|
|
5179
5398
|
}[];
|
|
5180
5399
|
// ----- @stylistic/quote-props -----
|
|
5181
5400
|
type StylisticQuoteProps =
|
|
@@ -5330,15 +5549,19 @@ type StylisticTypeAnnotationSpacing =
|
|
|
5330
5549
|
before?: boolean;
|
|
5331
5550
|
after?: boolean;
|
|
5332
5551
|
overrides?: {
|
|
5333
|
-
colon?:
|
|
5334
|
-
arrow?:
|
|
5335
|
-
variable?:
|
|
5336
|
-
parameter?:
|
|
5337
|
-
property?:
|
|
5338
|
-
returnType?:
|
|
5552
|
+
colon?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
5553
|
+
arrow?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
5554
|
+
variable?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
5555
|
+
parameter?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
5556
|
+
property?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
5557
|
+
returnType?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
5339
5558
|
};
|
|
5340
5559
|
},
|
|
5341
5560
|
];
|
|
5561
|
+
interface _StylisticTypeAnnotationSpacing_SpacingConfig {
|
|
5562
|
+
before?: boolean;
|
|
5563
|
+
after?: boolean;
|
|
5564
|
+
}
|
|
5342
5565
|
// ----- @stylistic/wrap-iife -----
|
|
5343
5566
|
type StylisticWrapIife =
|
|
5344
5567
|
| []
|
|
@@ -5365,6 +5588,7 @@ type TypescriptEslintArrayType =
|
|
|
5365
5588
|
| [
|
|
5366
5589
|
{
|
|
5367
5590
|
default?: "array" | "generic" | "array-simple";
|
|
5591
|
+
|
|
5368
5592
|
readonly?: "array" | "generic" | "array-simple";
|
|
5369
5593
|
},
|
|
5370
5594
|
];
|
|
@@ -5414,7 +5638,9 @@ type TypescriptEslintBanTypes =
|
|
|
5414
5638
|
| string
|
|
5415
5639
|
| {
|
|
5416
5640
|
message?: string;
|
|
5641
|
+
|
|
5417
5642
|
fixWith?: string;
|
|
5643
|
+
|
|
5418
5644
|
suggest?: string[];
|
|
5419
5645
|
}
|
|
5420
5646
|
)
|
|
@@ -5443,8 +5669,11 @@ type TypescriptEslintClassMethodsUseThis =
|
|
|
5443
5669
|
| [
|
|
5444
5670
|
{
|
|
5445
5671
|
exceptMethods?: string[];
|
|
5672
|
+
|
|
5446
5673
|
enforceForClassFields?: boolean;
|
|
5674
|
+
|
|
5447
5675
|
ignoreOverrideMethods?: boolean;
|
|
5676
|
+
|
|
5448
5677
|
ignoreClassesThatImplementAnInterface?: boolean | "public-fields";
|
|
5449
5678
|
},
|
|
5450
5679
|
];
|
|
@@ -5452,18 +5681,29 @@ type TypescriptEslintClassMethodsUseThis =
|
|
|
5452
5681
|
type TypescriptEslintCommaDangle =
|
|
5453
5682
|
| []
|
|
5454
5683
|
| [
|
|
5455
|
-
|
|
|
5684
|
+
| _TypescriptEslintCommaDangleValue
|
|
5456
5685
|
| {
|
|
5457
|
-
arrays?:
|
|
5458
|
-
objects?:
|
|
5459
|
-
imports?:
|
|
5460
|
-
exports?:
|
|
5461
|
-
functions?:
|
|
5462
|
-
enums?:
|
|
5463
|
-
generics?:
|
|
5464
|
-
tuples?:
|
|
5686
|
+
arrays?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5687
|
+
objects?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5688
|
+
imports?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5689
|
+
exports?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5690
|
+
functions?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5691
|
+
enums?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5692
|
+
generics?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5693
|
+
tuples?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5465
5694
|
},
|
|
5466
5695
|
];
|
|
5696
|
+
type _TypescriptEslintCommaDangleValue =
|
|
5697
|
+
| "always-multiline"
|
|
5698
|
+
| "always"
|
|
5699
|
+
| "never"
|
|
5700
|
+
| "only-multiline";
|
|
5701
|
+
type _TypescriptEslintCommaDangleValueWithIgnore =
|
|
5702
|
+
| "always-multiline"
|
|
5703
|
+
| "always"
|
|
5704
|
+
| "never"
|
|
5705
|
+
| "only-multiline"
|
|
5706
|
+
| "ignore";
|
|
5467
5707
|
// ----- @typescript-eslint/comma-spacing -----
|
|
5468
5708
|
type TypescriptEslintCommaSpacing =
|
|
5469
5709
|
| []
|
|
@@ -5542,12 +5782,19 @@ type TypescriptEslintExplicitFunctionReturnType =
|
|
|
5542
5782
|
| [
|
|
5543
5783
|
{
|
|
5544
5784
|
allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean;
|
|
5785
|
+
|
|
5545
5786
|
allowExpressions?: boolean;
|
|
5787
|
+
|
|
5546
5788
|
allowHigherOrderFunctions?: boolean;
|
|
5789
|
+
|
|
5547
5790
|
allowTypedFunctionExpressions?: boolean;
|
|
5791
|
+
|
|
5548
5792
|
allowDirectConstAssertionInArrowFunctions?: boolean;
|
|
5793
|
+
|
|
5549
5794
|
allowFunctionsWithoutTypeParameters?: boolean;
|
|
5795
|
+
|
|
5550
5796
|
allowedNames?: string[];
|
|
5797
|
+
|
|
5551
5798
|
allowIIFEs?: boolean;
|
|
5552
5799
|
},
|
|
5553
5800
|
];
|
|
@@ -5573,9 +5820,13 @@ type TypescriptEslintExplicitModuleBoundaryTypes =
|
|
|
5573
5820
|
| [
|
|
5574
5821
|
{
|
|
5575
5822
|
allowArgumentsExplicitlyTypedAsAny?: boolean;
|
|
5823
|
+
|
|
5576
5824
|
allowDirectConstAssertionInArrowFunctions?: boolean;
|
|
5825
|
+
|
|
5577
5826
|
allowedNames?: string[];
|
|
5827
|
+
|
|
5578
5828
|
allowHigherOrderFunctions?: boolean;
|
|
5829
|
+
|
|
5579
5830
|
allowTypedFunctionExpressions?: boolean;
|
|
5580
5831
|
},
|
|
5581
5832
|
];
|
|
@@ -6082,23 +6333,13 @@ type TypescriptEslintMemberDelimiterStyle =
|
|
|
6082
6333
|
requireLast?: boolean;
|
|
6083
6334
|
};
|
|
6084
6335
|
overrides?: {
|
|
6085
|
-
interface?:
|
|
6086
|
-
typeLiteral?:
|
|
6336
|
+
interface?: _TypescriptEslintMemberDelimiterStyle_DelimiterConfig;
|
|
6337
|
+
typeLiteral?: _TypescriptEslintMemberDelimiterStyle_DelimiterConfig;
|
|
6087
6338
|
};
|
|
6088
6339
|
multilineDetection?: "brackets" | "last-member";
|
|
6089
6340
|
},
|
|
6090
6341
|
];
|
|
6091
|
-
interface
|
|
6092
|
-
multiline?: {
|
|
6093
|
-
delimiter?: "none" | "semi" | "comma";
|
|
6094
|
-
requireLast?: boolean;
|
|
6095
|
-
};
|
|
6096
|
-
singleline?: {
|
|
6097
|
-
delimiter?: "semi" | "comma";
|
|
6098
|
-
requireLast?: boolean;
|
|
6099
|
-
};
|
|
6100
|
-
}
|
|
6101
|
-
interface DelimiterConfig {
|
|
6342
|
+
interface _TypescriptEslintMemberDelimiterStyle_DelimiterConfig {
|
|
6102
6343
|
multiline?: {
|
|
6103
6344
|
delimiter?: "none" | "semi" | "comma";
|
|
6104
6345
|
requireLast?: boolean;
|
|
@@ -8127,33 +8368,40 @@ type TypescriptEslintMemberOrdering =
|
|
|
8127
8368
|
// ----- @typescript-eslint/method-signature-style -----
|
|
8128
8369
|
type TypescriptEslintMethodSignatureStyle = [] | ["property" | "method"];
|
|
8129
8370
|
// ----- @typescript-eslint/naming-convention -----
|
|
8130
|
-
type
|
|
8131
|
-
|
|
8371
|
+
type _TypescriptEslintNamingConventionFormatOptionsConfig =
|
|
8372
|
+
| _TypescriptEslintNamingConventionPredefinedFormats[]
|
|
8373
|
+
| null;
|
|
8374
|
+
type _TypescriptEslintNamingConventionPredefinedFormats =
|
|
8132
8375
|
| "camelCase"
|
|
8133
8376
|
| "strictCamelCase"
|
|
8134
8377
|
| "PascalCase"
|
|
8135
8378
|
| "StrictPascalCase"
|
|
8136
8379
|
| "snake_case"
|
|
8137
8380
|
| "UPPER_CASE";
|
|
8138
|
-
type
|
|
8381
|
+
type _TypescriptEslintNamingConventionUnderscoreOptions =
|
|
8139
8382
|
| "forbid"
|
|
8140
8383
|
| "allow"
|
|
8141
8384
|
| "require"
|
|
8142
8385
|
| "requireDouble"
|
|
8143
8386
|
| "allowDouble"
|
|
8144
8387
|
| "allowSingleOrDouble";
|
|
8145
|
-
type
|
|
8146
|
-
type
|
|
8388
|
+
type _TypescriptEslintNamingConvention_PrefixSuffixConfig = string[];
|
|
8389
|
+
type _TypescriptEslintNamingConventionTypeModifiers =
|
|
8390
|
+
| "boolean"
|
|
8391
|
+
| "string"
|
|
8392
|
+
| "number"
|
|
8393
|
+
| "function"
|
|
8394
|
+
| "array";
|
|
8147
8395
|
type TypescriptEslintNamingConvention = (
|
|
8148
8396
|
| {
|
|
8149
|
-
format:
|
|
8150
|
-
custom?:
|
|
8151
|
-
leadingUnderscore?:
|
|
8152
|
-
trailingUnderscore?:
|
|
8153
|
-
prefix?:
|
|
8154
|
-
suffix?:
|
|
8397
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8398
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8399
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8400
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8401
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8402
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8155
8403
|
failureMessage?: string;
|
|
8156
|
-
filter?: string |
|
|
8404
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8157
8405
|
selector: (
|
|
8158
8406
|
| "default"
|
|
8159
8407
|
| "variableLike"
|
|
@@ -8201,17 +8449,17 @@ type TypescriptEslintNamingConvention = (
|
|
|
8201
8449
|
| "default"
|
|
8202
8450
|
| "namespace"
|
|
8203
8451
|
)[];
|
|
8204
|
-
types?:
|
|
8452
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8205
8453
|
}
|
|
8206
8454
|
| {
|
|
8207
|
-
format:
|
|
8208
|
-
custom?:
|
|
8209
|
-
leadingUnderscore?:
|
|
8210
|
-
trailingUnderscore?:
|
|
8211
|
-
prefix?:
|
|
8212
|
-
suffix?:
|
|
8455
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8456
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8457
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8458
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8459
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8460
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8213
8461
|
failureMessage?: string;
|
|
8214
|
-
filter?: string |
|
|
8462
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8215
8463
|
selector: "default";
|
|
8216
8464
|
modifiers?: (
|
|
8217
8465
|
| "const"
|
|
@@ -8234,26 +8482,26 @@ type TypescriptEslintNamingConvention = (
|
|
|
8234
8482
|
)[];
|
|
8235
8483
|
}
|
|
8236
8484
|
| {
|
|
8237
|
-
format:
|
|
8238
|
-
custom?:
|
|
8239
|
-
leadingUnderscore?:
|
|
8240
|
-
trailingUnderscore?:
|
|
8241
|
-
prefix?:
|
|
8242
|
-
suffix?:
|
|
8485
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8486
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8487
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8488
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8489
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8490
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8243
8491
|
failureMessage?: string;
|
|
8244
|
-
filter?: string |
|
|
8492
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8245
8493
|
selector: "variableLike";
|
|
8246
8494
|
modifiers?: ("unused" | "async")[];
|
|
8247
8495
|
}
|
|
8248
8496
|
| {
|
|
8249
|
-
format:
|
|
8250
|
-
custom?:
|
|
8251
|
-
leadingUnderscore?:
|
|
8252
|
-
trailingUnderscore?:
|
|
8253
|
-
prefix?:
|
|
8254
|
-
suffix?:
|
|
8497
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8498
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8499
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8500
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8501
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8502
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8255
8503
|
failureMessage?: string;
|
|
8256
|
-
filter?: string |
|
|
8504
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8257
8505
|
selector: "variable";
|
|
8258
8506
|
modifiers?: (
|
|
8259
8507
|
| "const"
|
|
@@ -8263,42 +8511,42 @@ type TypescriptEslintNamingConvention = (
|
|
|
8263
8511
|
| "unused"
|
|
8264
8512
|
| "async"
|
|
8265
8513
|
)[];
|
|
8266
|
-
types?:
|
|
8514
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8267
8515
|
}
|
|
8268
8516
|
| {
|
|
8269
|
-
format:
|
|
8270
|
-
custom?:
|
|
8271
|
-
leadingUnderscore?:
|
|
8272
|
-
trailingUnderscore?:
|
|
8273
|
-
prefix?:
|
|
8274
|
-
suffix?:
|
|
8517
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8518
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8519
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8520
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8521
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8522
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8275
8523
|
failureMessage?: string;
|
|
8276
|
-
filter?: string |
|
|
8524
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8277
8525
|
selector: "function";
|
|
8278
8526
|
modifiers?: ("exported" | "global" | "unused" | "async")[];
|
|
8279
8527
|
}
|
|
8280
8528
|
| {
|
|
8281
|
-
format:
|
|
8282
|
-
custom?:
|
|
8283
|
-
leadingUnderscore?:
|
|
8284
|
-
trailingUnderscore?:
|
|
8285
|
-
prefix?:
|
|
8286
|
-
suffix?:
|
|
8529
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8530
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8531
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8532
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8533
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8534
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8287
8535
|
failureMessage?: string;
|
|
8288
|
-
filter?: string |
|
|
8536
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8289
8537
|
selector: "parameter";
|
|
8290
8538
|
modifiers?: ("destructured" | "unused")[];
|
|
8291
|
-
types?:
|
|
8539
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8292
8540
|
}
|
|
8293
8541
|
| {
|
|
8294
|
-
format:
|
|
8295
|
-
custom?:
|
|
8296
|
-
leadingUnderscore?:
|
|
8297
|
-
trailingUnderscore?:
|
|
8298
|
-
prefix?:
|
|
8299
|
-
suffix?:
|
|
8542
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8543
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8544
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8545
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8546
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8547
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8300
8548
|
failureMessage?: string;
|
|
8301
|
-
filter?: string |
|
|
8549
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8302
8550
|
selector: "memberLike";
|
|
8303
8551
|
modifiers?: (
|
|
8304
8552
|
| "abstract"
|
|
@@ -8314,14 +8562,14 @@ type TypescriptEslintNamingConvention = (
|
|
|
8314
8562
|
)[];
|
|
8315
8563
|
}
|
|
8316
8564
|
| {
|
|
8317
|
-
format:
|
|
8318
|
-
custom?:
|
|
8319
|
-
leadingUnderscore?:
|
|
8320
|
-
trailingUnderscore?:
|
|
8321
|
-
prefix?:
|
|
8322
|
-
suffix?:
|
|
8565
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8566
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8567
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8568
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8569
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8570
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8323
8571
|
failureMessage?: string;
|
|
8324
|
-
filter?: string |
|
|
8572
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8325
8573
|
selector: "classProperty";
|
|
8326
8574
|
modifiers?: (
|
|
8327
8575
|
| "abstract"
|
|
@@ -8334,56 +8582,56 @@ type TypescriptEslintNamingConvention = (
|
|
|
8334
8582
|
| "static"
|
|
8335
8583
|
| "override"
|
|
8336
8584
|
)[];
|
|
8337
|
-
types?:
|
|
8585
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8338
8586
|
}
|
|
8339
8587
|
| {
|
|
8340
|
-
format:
|
|
8341
|
-
custom?:
|
|
8342
|
-
leadingUnderscore?:
|
|
8343
|
-
trailingUnderscore?:
|
|
8344
|
-
prefix?:
|
|
8345
|
-
suffix?:
|
|
8588
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8589
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8590
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8591
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8592
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8593
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8346
8594
|
failureMessage?: string;
|
|
8347
|
-
filter?: string |
|
|
8595
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8348
8596
|
selector: "objectLiteralProperty";
|
|
8349
8597
|
modifiers?: ("public" | "requiresQuotes")[];
|
|
8350
|
-
types?:
|
|
8598
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8351
8599
|
}
|
|
8352
8600
|
| {
|
|
8353
|
-
format:
|
|
8354
|
-
custom?:
|
|
8355
|
-
leadingUnderscore?:
|
|
8356
|
-
trailingUnderscore?:
|
|
8357
|
-
prefix?:
|
|
8358
|
-
suffix?:
|
|
8601
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8602
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8603
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8604
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8605
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8606
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8359
8607
|
failureMessage?: string;
|
|
8360
|
-
filter?: string |
|
|
8608
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8361
8609
|
selector: "typeProperty";
|
|
8362
8610
|
modifiers?: ("public" | "readonly" | "requiresQuotes")[];
|
|
8363
|
-
types?:
|
|
8611
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8364
8612
|
}
|
|
8365
8613
|
| {
|
|
8366
|
-
format:
|
|
8367
|
-
custom?:
|
|
8368
|
-
leadingUnderscore?:
|
|
8369
|
-
trailingUnderscore?:
|
|
8370
|
-
prefix?:
|
|
8371
|
-
suffix?:
|
|
8614
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8615
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8616
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8617
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8618
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8619
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8372
8620
|
failureMessage?: string;
|
|
8373
|
-
filter?: string |
|
|
8621
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8374
8622
|
selector: "parameterProperty";
|
|
8375
8623
|
modifiers?: ("private" | "protected" | "public" | "readonly")[];
|
|
8376
|
-
types?:
|
|
8624
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8377
8625
|
}
|
|
8378
8626
|
| {
|
|
8379
|
-
format:
|
|
8380
|
-
custom?:
|
|
8381
|
-
leadingUnderscore?:
|
|
8382
|
-
trailingUnderscore?:
|
|
8383
|
-
prefix?:
|
|
8384
|
-
suffix?:
|
|
8627
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8628
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8629
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8630
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8631
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8632
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8385
8633
|
failureMessage?: string;
|
|
8386
|
-
filter?: string |
|
|
8634
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8387
8635
|
selector: "property";
|
|
8388
8636
|
modifiers?: (
|
|
8389
8637
|
| "abstract"
|
|
@@ -8397,17 +8645,17 @@ type TypescriptEslintNamingConvention = (
|
|
|
8397
8645
|
| "override"
|
|
8398
8646
|
| "async"
|
|
8399
8647
|
)[];
|
|
8400
|
-
types?:
|
|
8648
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8401
8649
|
}
|
|
8402
8650
|
| {
|
|
8403
|
-
format:
|
|
8404
|
-
custom?:
|
|
8405
|
-
leadingUnderscore?:
|
|
8406
|
-
trailingUnderscore?:
|
|
8407
|
-
prefix?:
|
|
8408
|
-
suffix?:
|
|
8651
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8652
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8653
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8654
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8655
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8656
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8409
8657
|
failureMessage?: string;
|
|
8410
|
-
filter?: string |
|
|
8658
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8411
8659
|
selector: "classMethod";
|
|
8412
8660
|
modifiers?: (
|
|
8413
8661
|
| "abstract"
|
|
@@ -8422,38 +8670,38 @@ type TypescriptEslintNamingConvention = (
|
|
|
8422
8670
|
)[];
|
|
8423
8671
|
}
|
|
8424
8672
|
| {
|
|
8425
|
-
format:
|
|
8426
|
-
custom?:
|
|
8427
|
-
leadingUnderscore?:
|
|
8428
|
-
trailingUnderscore?:
|
|
8429
|
-
prefix?:
|
|
8430
|
-
suffix?:
|
|
8673
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8674
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8675
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8676
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8677
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8678
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8431
8679
|
failureMessage?: string;
|
|
8432
|
-
filter?: string |
|
|
8680
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8433
8681
|
selector: "objectLiteralMethod";
|
|
8434
8682
|
modifiers?: ("public" | "requiresQuotes" | "async")[];
|
|
8435
8683
|
}
|
|
8436
8684
|
| {
|
|
8437
|
-
format:
|
|
8438
|
-
custom?:
|
|
8439
|
-
leadingUnderscore?:
|
|
8440
|
-
trailingUnderscore?:
|
|
8441
|
-
prefix?:
|
|
8442
|
-
suffix?:
|
|
8685
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8686
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8687
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8688
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8689
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8690
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8443
8691
|
failureMessage?: string;
|
|
8444
|
-
filter?: string |
|
|
8692
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8445
8693
|
selector: "typeMethod";
|
|
8446
8694
|
modifiers?: ("public" | "requiresQuotes")[];
|
|
8447
8695
|
}
|
|
8448
8696
|
| {
|
|
8449
|
-
format:
|
|
8450
|
-
custom?:
|
|
8451
|
-
leadingUnderscore?:
|
|
8452
|
-
trailingUnderscore?:
|
|
8453
|
-
prefix?:
|
|
8454
|
-
suffix?:
|
|
8697
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8698
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8699
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8700
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8701
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8702
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8455
8703
|
failureMessage?: string;
|
|
8456
|
-
filter?: string |
|
|
8704
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8457
8705
|
selector: "method";
|
|
8458
8706
|
modifiers?: (
|
|
8459
8707
|
| "abstract"
|
|
@@ -8468,14 +8716,14 @@ type TypescriptEslintNamingConvention = (
|
|
|
8468
8716
|
)[];
|
|
8469
8717
|
}
|
|
8470
8718
|
| {
|
|
8471
|
-
format:
|
|
8472
|
-
custom?:
|
|
8473
|
-
leadingUnderscore?:
|
|
8474
|
-
trailingUnderscore?:
|
|
8475
|
-
prefix?:
|
|
8476
|
-
suffix?:
|
|
8719
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8720
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8721
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8722
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8723
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8724
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8477
8725
|
failureMessage?: string;
|
|
8478
|
-
filter?: string |
|
|
8726
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8479
8727
|
selector: "classicAccessor";
|
|
8480
8728
|
modifiers?: (
|
|
8481
8729
|
| "abstract"
|
|
@@ -8486,17 +8734,17 @@ type TypescriptEslintNamingConvention = (
|
|
|
8486
8734
|
| "static"
|
|
8487
8735
|
| "override"
|
|
8488
8736
|
)[];
|
|
8489
|
-
types?:
|
|
8737
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8490
8738
|
}
|
|
8491
8739
|
| {
|
|
8492
|
-
format:
|
|
8493
|
-
custom?:
|
|
8494
|
-
leadingUnderscore?:
|
|
8495
|
-
trailingUnderscore?:
|
|
8496
|
-
prefix?:
|
|
8497
|
-
suffix?:
|
|
8740
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8741
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8742
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8743
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8744
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8745
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8498
8746
|
failureMessage?: string;
|
|
8499
|
-
filter?: string |
|
|
8747
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8500
8748
|
selector: "autoAccessor";
|
|
8501
8749
|
modifiers?: (
|
|
8502
8750
|
| "abstract"
|
|
@@ -8507,17 +8755,17 @@ type TypescriptEslintNamingConvention = (
|
|
|
8507
8755
|
| "static"
|
|
8508
8756
|
| "override"
|
|
8509
8757
|
)[];
|
|
8510
|
-
types?:
|
|
8758
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8511
8759
|
}
|
|
8512
8760
|
| {
|
|
8513
|
-
format:
|
|
8514
|
-
custom?:
|
|
8515
|
-
leadingUnderscore?:
|
|
8516
|
-
trailingUnderscore?:
|
|
8517
|
-
prefix?:
|
|
8518
|
-
suffix?:
|
|
8761
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8762
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8763
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8764
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8765
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8766
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8519
8767
|
failureMessage?: string;
|
|
8520
|
-
filter?: string |
|
|
8768
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8521
8769
|
selector: "accessor";
|
|
8522
8770
|
modifiers?: (
|
|
8523
8771
|
| "abstract"
|
|
@@ -8528,106 +8776,106 @@ type TypescriptEslintNamingConvention = (
|
|
|
8528
8776
|
| "static"
|
|
8529
8777
|
| "override"
|
|
8530
8778
|
)[];
|
|
8531
|
-
types?:
|
|
8779
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8532
8780
|
}
|
|
8533
8781
|
| {
|
|
8534
|
-
format:
|
|
8535
|
-
custom?:
|
|
8536
|
-
leadingUnderscore?:
|
|
8537
|
-
trailingUnderscore?:
|
|
8538
|
-
prefix?:
|
|
8539
|
-
suffix?:
|
|
8782
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8783
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8784
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8785
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8786
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8787
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8540
8788
|
failureMessage?: string;
|
|
8541
|
-
filter?: string |
|
|
8789
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8542
8790
|
selector: "enumMember";
|
|
8543
8791
|
modifiers?: "requiresQuotes"[];
|
|
8544
8792
|
}
|
|
8545
8793
|
| {
|
|
8546
|
-
format:
|
|
8547
|
-
custom?:
|
|
8548
|
-
leadingUnderscore?:
|
|
8549
|
-
trailingUnderscore?:
|
|
8550
|
-
prefix?:
|
|
8551
|
-
suffix?:
|
|
8794
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8795
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8796
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8797
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8798
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8799
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8552
8800
|
failureMessage?: string;
|
|
8553
|
-
filter?: string |
|
|
8801
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8554
8802
|
selector: "typeLike";
|
|
8555
8803
|
modifiers?: ("abstract" | "exported" | "unused")[];
|
|
8556
8804
|
}
|
|
8557
8805
|
| {
|
|
8558
|
-
format:
|
|
8559
|
-
custom?:
|
|
8560
|
-
leadingUnderscore?:
|
|
8561
|
-
trailingUnderscore?:
|
|
8562
|
-
prefix?:
|
|
8563
|
-
suffix?:
|
|
8806
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8807
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8808
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8809
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8810
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8811
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8564
8812
|
failureMessage?: string;
|
|
8565
|
-
filter?: string |
|
|
8813
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8566
8814
|
selector: "class";
|
|
8567
8815
|
modifiers?: ("abstract" | "exported" | "unused")[];
|
|
8568
8816
|
}
|
|
8569
8817
|
| {
|
|
8570
|
-
format:
|
|
8571
|
-
custom?:
|
|
8572
|
-
leadingUnderscore?:
|
|
8573
|
-
trailingUnderscore?:
|
|
8574
|
-
prefix?:
|
|
8575
|
-
suffix?:
|
|
8818
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8819
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8820
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8821
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8822
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8823
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8576
8824
|
failureMessage?: string;
|
|
8577
|
-
filter?: string |
|
|
8825
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8578
8826
|
selector: "interface";
|
|
8579
8827
|
modifiers?: ("exported" | "unused")[];
|
|
8580
8828
|
}
|
|
8581
8829
|
| {
|
|
8582
|
-
format:
|
|
8583
|
-
custom?:
|
|
8584
|
-
leadingUnderscore?:
|
|
8585
|
-
trailingUnderscore?:
|
|
8586
|
-
prefix?:
|
|
8587
|
-
suffix?:
|
|
8830
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8831
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8832
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8833
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8834
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8835
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8588
8836
|
failureMessage?: string;
|
|
8589
|
-
filter?: string |
|
|
8837
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8590
8838
|
selector: "typeAlias";
|
|
8591
8839
|
modifiers?: ("exported" | "unused")[];
|
|
8592
8840
|
}
|
|
8593
8841
|
| {
|
|
8594
|
-
format:
|
|
8595
|
-
custom?:
|
|
8596
|
-
leadingUnderscore?:
|
|
8597
|
-
trailingUnderscore?:
|
|
8598
|
-
prefix?:
|
|
8599
|
-
suffix?:
|
|
8842
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8843
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8844
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8845
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8846
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8847
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8600
8848
|
failureMessage?: string;
|
|
8601
|
-
filter?: string |
|
|
8849
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8602
8850
|
selector: "enum";
|
|
8603
8851
|
modifiers?: ("exported" | "unused")[];
|
|
8604
8852
|
}
|
|
8605
8853
|
| {
|
|
8606
|
-
format:
|
|
8607
|
-
custom?:
|
|
8608
|
-
leadingUnderscore?:
|
|
8609
|
-
trailingUnderscore?:
|
|
8610
|
-
prefix?:
|
|
8611
|
-
suffix?:
|
|
8854
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8855
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8856
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8857
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8858
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8859
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8612
8860
|
failureMessage?: string;
|
|
8613
|
-
filter?: string |
|
|
8861
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8614
8862
|
selector: "typeParameter";
|
|
8615
8863
|
modifiers?: "unused"[];
|
|
8616
8864
|
}
|
|
8617
8865
|
| {
|
|
8618
|
-
format:
|
|
8619
|
-
custom?:
|
|
8620
|
-
leadingUnderscore?:
|
|
8621
|
-
trailingUnderscore?:
|
|
8622
|
-
prefix?:
|
|
8623
|
-
suffix?:
|
|
8866
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8867
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8868
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8869
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8870
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8871
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8624
8872
|
failureMessage?: string;
|
|
8625
|
-
filter?: string |
|
|
8873
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8626
8874
|
selector: "import";
|
|
8627
8875
|
modifiers?: ("default" | "namespace")[];
|
|
8628
8876
|
}
|
|
8629
8877
|
)[];
|
|
8630
|
-
interface
|
|
8878
|
+
interface _TypescriptEslintNamingConvention_MatchRegexConfig {
|
|
8631
8879
|
match: boolean;
|
|
8632
8880
|
regex: string;
|
|
8633
8881
|
}
|
|
@@ -8694,6 +8942,7 @@ type TypescriptEslintNoExplicitAny =
|
|
|
8694
8942
|
| [
|
|
8695
8943
|
{
|
|
8696
8944
|
fixToUnknown?: boolean;
|
|
8945
|
+
|
|
8697
8946
|
ignoreRestArgs?: boolean;
|
|
8698
8947
|
},
|
|
8699
8948
|
];
|
|
@@ -8724,8 +8973,11 @@ type TypescriptEslintNoExtraneousClass =
|
|
|
8724
8973
|
| [
|
|
8725
8974
|
{
|
|
8726
8975
|
allowConstructorOnly?: boolean;
|
|
8976
|
+
|
|
8727
8977
|
allowEmpty?: boolean;
|
|
8978
|
+
|
|
8728
8979
|
allowStaticOnly?: boolean;
|
|
8980
|
+
|
|
8729
8981
|
allowWithDecorator?: boolean;
|
|
8730
8982
|
},
|
|
8731
8983
|
];
|
|
@@ -8735,6 +8987,7 @@ type TypescriptEslintNoFloatingPromises =
|
|
|
8735
8987
|
| [
|
|
8736
8988
|
{
|
|
8737
8989
|
ignoreVoid?: boolean;
|
|
8990
|
+
|
|
8738
8991
|
ignoreIIFE?: boolean;
|
|
8739
8992
|
},
|
|
8740
8993
|
];
|
|
@@ -8813,6 +9066,7 @@ type TypescriptEslintNoNamespace =
|
|
|
8813
9066
|
| [
|
|
8814
9067
|
{
|
|
8815
9068
|
allowDeclarations?: boolean;
|
|
9069
|
+
|
|
8816
9070
|
allowDefinitionFiles?: boolean;
|
|
8817
9071
|
},
|
|
8818
9072
|
];
|
|
@@ -8841,6 +9095,7 @@ type TypescriptEslintNoRestrictedImports =
|
|
|
8841
9095
|
name: string;
|
|
8842
9096
|
message?: string;
|
|
8843
9097
|
importNames?: string[];
|
|
9098
|
+
|
|
8844
9099
|
allowTypeImports?: boolean;
|
|
8845
9100
|
}
|
|
8846
9101
|
)[]
|
|
@@ -8853,6 +9108,7 @@ type TypescriptEslintNoRestrictedImports =
|
|
|
8853
9108
|
name: string;
|
|
8854
9109
|
message?: string;
|
|
8855
9110
|
importNames?: string[];
|
|
9111
|
+
|
|
8856
9112
|
allowTypeImports?: boolean;
|
|
8857
9113
|
}
|
|
8858
9114
|
)[];
|
|
@@ -8860,10 +9116,12 @@ type TypescriptEslintNoRestrictedImports =
|
|
|
8860
9116
|
| string[]
|
|
8861
9117
|
| {
|
|
8862
9118
|
importNames?: [string, ...string[]];
|
|
9119
|
+
|
|
8863
9120
|
group: [string, ...string[]];
|
|
8864
9121
|
importNamePattern?: string;
|
|
8865
9122
|
message?: string;
|
|
8866
9123
|
caseSensitive?: boolean;
|
|
9124
|
+
|
|
8867
9125
|
allowTypeImports?: boolean;
|
|
8868
9126
|
}[];
|
|
8869
9127
|
},
|
|
@@ -8887,6 +9145,7 @@ type TypescriptEslintNoThisAlias =
|
|
|
8887
9145
|
| [
|
|
8888
9146
|
{
|
|
8889
9147
|
allowDestructuring?: boolean;
|
|
9148
|
+
|
|
8890
9149
|
allowedNames?: string[];
|
|
8891
9150
|
},
|
|
8892
9151
|
];
|
|
@@ -8910,27 +9169,34 @@ type TypescriptEslintNoTypeAlias =
|
|
|
8910
9169
|
| "in-unions"
|
|
8911
9170
|
| "in-intersections"
|
|
8912
9171
|
| "in-unions-and-intersections";
|
|
9172
|
+
|
|
8913
9173
|
allowCallbacks?: "always" | "never";
|
|
9174
|
+
|
|
8914
9175
|
allowConditionalTypes?: "always" | "never";
|
|
9176
|
+
|
|
8915
9177
|
allowConstructors?: "always" | "never";
|
|
9178
|
+
|
|
8916
9179
|
allowLiterals?:
|
|
8917
9180
|
| "always"
|
|
8918
9181
|
| "never"
|
|
8919
9182
|
| "in-unions"
|
|
8920
9183
|
| "in-intersections"
|
|
8921
9184
|
| "in-unions-and-intersections";
|
|
9185
|
+
|
|
8922
9186
|
allowMappedTypes?:
|
|
8923
9187
|
| "always"
|
|
8924
9188
|
| "never"
|
|
8925
9189
|
| "in-unions"
|
|
8926
9190
|
| "in-intersections"
|
|
8927
9191
|
| "in-unions-and-intersections";
|
|
9192
|
+
|
|
8928
9193
|
allowTupleTypes?:
|
|
8929
9194
|
| "always"
|
|
8930
9195
|
| "never"
|
|
8931
9196
|
| "in-unions"
|
|
8932
9197
|
| "in-intersections"
|
|
8933
9198
|
| "in-unions-and-intersections";
|
|
9199
|
+
|
|
8934
9200
|
allowGenerics?: "always" | "never";
|
|
8935
9201
|
},
|
|
8936
9202
|
];
|
|
@@ -8940,6 +9206,7 @@ type TypescriptEslintNoUnnecessaryBooleanLiteralCompare =
|
|
|
8940
9206
|
| [
|
|
8941
9207
|
{
|
|
8942
9208
|
allowComparingNullableBooleansToTrue?: boolean;
|
|
9209
|
+
|
|
8943
9210
|
allowComparingNullableBooleansToFalse?: boolean;
|
|
8944
9211
|
},
|
|
8945
9212
|
];
|
|
@@ -8949,6 +9216,7 @@ type TypescriptEslintNoUnnecessaryCondition =
|
|
|
8949
9216
|
| [
|
|
8950
9217
|
{
|
|
8951
9218
|
allowConstantLoopConditions?: boolean;
|
|
9219
|
+
|
|
8952
9220
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
8953
9221
|
},
|
|
8954
9222
|
];
|
|
@@ -9030,149 +9298,12 @@ type TypescriptEslintOnlyThrowError =
|
|
|
9030
9298
|
allowThrowingUnknown?: boolean;
|
|
9031
9299
|
},
|
|
9032
9300
|
];
|
|
9033
|
-
// ----- @stylistic/padding-line-between-statements -----
|
|
9034
|
-
type PaddingType = "any" | "never" | "always";
|
|
9035
9301
|
// ----- @typescript-eslint/padding-line-between-statements -----
|
|
9036
|
-
type
|
|
9037
|
-
|
|
9038
|
-
|
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
| "exports"
|
|
9042
|
-
| "require"
|
|
9043
|
-
| "directive"
|
|
9044
|
-
| "expression"
|
|
9045
|
-
| "iife"
|
|
9046
|
-
| "multiline-block-like"
|
|
9047
|
-
| "multiline-expression"
|
|
9048
|
-
| "multiline-const"
|
|
9049
|
-
| "multiline-let"
|
|
9050
|
-
| "multiline-var"
|
|
9051
|
-
| "singleline-const"
|
|
9052
|
-
| "singleline-let"
|
|
9053
|
-
| "singleline-var"
|
|
9054
|
-
| "block"
|
|
9055
|
-
| "empty"
|
|
9056
|
-
| "function"
|
|
9057
|
-
| "break"
|
|
9058
|
-
| "case"
|
|
9059
|
-
| "class"
|
|
9060
|
-
| "const"
|
|
9061
|
-
| "continue"
|
|
9062
|
-
| "debugger"
|
|
9063
|
-
| "default"
|
|
9064
|
-
| "do"
|
|
9065
|
-
| "export"
|
|
9066
|
-
| "for"
|
|
9067
|
-
| "if"
|
|
9068
|
-
| "import"
|
|
9069
|
-
| "let"
|
|
9070
|
-
| "return"
|
|
9071
|
-
| "switch"
|
|
9072
|
-
| "throw"
|
|
9073
|
-
| "try"
|
|
9074
|
-
| "var"
|
|
9075
|
-
| "while"
|
|
9076
|
-
| "with"
|
|
9077
|
-
| "cjs-export"
|
|
9078
|
-
| "cjs-import"
|
|
9079
|
-
| "interface"
|
|
9080
|
-
| "type"
|
|
9081
|
-
| "function-overload"
|
|
9082
|
-
)
|
|
9083
|
-
| [
|
|
9084
|
-
(
|
|
9085
|
-
| "*"
|
|
9086
|
-
| "block-like"
|
|
9087
|
-
| "exports"
|
|
9088
|
-
| "require"
|
|
9089
|
-
| "directive"
|
|
9090
|
-
| "expression"
|
|
9091
|
-
| "iife"
|
|
9092
|
-
| "multiline-block-like"
|
|
9093
|
-
| "multiline-expression"
|
|
9094
|
-
| "multiline-const"
|
|
9095
|
-
| "multiline-let"
|
|
9096
|
-
| "multiline-var"
|
|
9097
|
-
| "singleline-const"
|
|
9098
|
-
| "singleline-let"
|
|
9099
|
-
| "singleline-var"
|
|
9100
|
-
| "block"
|
|
9101
|
-
| "empty"
|
|
9102
|
-
| "function"
|
|
9103
|
-
| "break"
|
|
9104
|
-
| "case"
|
|
9105
|
-
| "class"
|
|
9106
|
-
| "const"
|
|
9107
|
-
| "continue"
|
|
9108
|
-
| "debugger"
|
|
9109
|
-
| "default"
|
|
9110
|
-
| "do"
|
|
9111
|
-
| "export"
|
|
9112
|
-
| "for"
|
|
9113
|
-
| "if"
|
|
9114
|
-
| "import"
|
|
9115
|
-
| "let"
|
|
9116
|
-
| "return"
|
|
9117
|
-
| "switch"
|
|
9118
|
-
| "throw"
|
|
9119
|
-
| "try"
|
|
9120
|
-
| "var"
|
|
9121
|
-
| "while"
|
|
9122
|
-
| "with"
|
|
9123
|
-
| "cjs-export"
|
|
9124
|
-
| "cjs-import"
|
|
9125
|
-
| "interface"
|
|
9126
|
-
| "type"
|
|
9127
|
-
| "function-overload"
|
|
9128
|
-
),
|
|
9129
|
-
...(
|
|
9130
|
-
| "*"
|
|
9131
|
-
| "block-like"
|
|
9132
|
-
| "exports"
|
|
9133
|
-
| "require"
|
|
9134
|
-
| "directive"
|
|
9135
|
-
| "expression"
|
|
9136
|
-
| "iife"
|
|
9137
|
-
| "multiline-block-like"
|
|
9138
|
-
| "multiline-expression"
|
|
9139
|
-
| "multiline-const"
|
|
9140
|
-
| "multiline-let"
|
|
9141
|
-
| "multiline-var"
|
|
9142
|
-
| "singleline-const"
|
|
9143
|
-
| "singleline-let"
|
|
9144
|
-
| "singleline-var"
|
|
9145
|
-
| "block"
|
|
9146
|
-
| "empty"
|
|
9147
|
-
| "function"
|
|
9148
|
-
| "break"
|
|
9149
|
-
| "case"
|
|
9150
|
-
| "class"
|
|
9151
|
-
| "const"
|
|
9152
|
-
| "continue"
|
|
9153
|
-
| "debugger"
|
|
9154
|
-
| "default"
|
|
9155
|
-
| "do"
|
|
9156
|
-
| "export"
|
|
9157
|
-
| "for"
|
|
9158
|
-
| "if"
|
|
9159
|
-
| "import"
|
|
9160
|
-
| "let"
|
|
9161
|
-
| "return"
|
|
9162
|
-
| "switch"
|
|
9163
|
-
| "throw"
|
|
9164
|
-
| "try"
|
|
9165
|
-
| "var"
|
|
9166
|
-
| "while"
|
|
9167
|
-
| "with"
|
|
9168
|
-
| "cjs-export"
|
|
9169
|
-
| "cjs-import"
|
|
9170
|
-
| "interface"
|
|
9171
|
-
| "type"
|
|
9172
|
-
| "function-overload"
|
|
9173
|
-
)[],
|
|
9174
|
-
];
|
|
9175
|
-
type StatementType =
|
|
9302
|
+
type _TypescriptEslintPaddingLineBetweenStatementsPaddingType =
|
|
9303
|
+
| "any"
|
|
9304
|
+
| "never"
|
|
9305
|
+
| "always";
|
|
9306
|
+
type _TypescriptEslintPaddingLineBetweenStatementsStatementType =
|
|
9176
9307
|
| (
|
|
9177
9308
|
| "*"
|
|
9178
9309
|
| "block-like"
|
|
@@ -9302,9 +9433,9 @@ type StatementType =
|
|
|
9302
9433
|
)[],
|
|
9303
9434
|
];
|
|
9304
9435
|
type TypescriptEslintPaddingLineBetweenStatements = {
|
|
9305
|
-
blankLine:
|
|
9306
|
-
prev:
|
|
9307
|
-
next:
|
|
9436
|
+
blankLine: _TypescriptEslintPaddingLineBetweenStatementsPaddingType;
|
|
9437
|
+
prev: _TypescriptEslintPaddingLineBetweenStatementsStatementType;
|
|
9438
|
+
next: _TypescriptEslintPaddingLineBetweenStatementsStatementType;
|
|
9308
9439
|
}[];
|
|
9309
9440
|
// ----- @typescript-eslint/parameter-properties -----
|
|
9310
9441
|
type TypescriptEslintParameterProperties =
|
|
@@ -9399,12 +9530,19 @@ type TypescriptEslintPreferOptionalChain =
|
|
|
9399
9530
|
| [
|
|
9400
9531
|
{
|
|
9401
9532
|
checkAny?: boolean;
|
|
9533
|
+
|
|
9402
9534
|
checkUnknown?: boolean;
|
|
9535
|
+
|
|
9403
9536
|
checkString?: boolean;
|
|
9537
|
+
|
|
9404
9538
|
checkNumber?: boolean;
|
|
9539
|
+
|
|
9405
9540
|
checkBoolean?: boolean;
|
|
9541
|
+
|
|
9406
9542
|
checkBigInt?: boolean;
|
|
9543
|
+
|
|
9407
9544
|
requireNullish?: boolean;
|
|
9545
|
+
|
|
9408
9546
|
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean;
|
|
9409
9547
|
},
|
|
9410
9548
|
];
|
|
@@ -9465,6 +9603,7 @@ type TypescriptEslintPromiseFunctionAsync =
|
|
|
9465
9603
|
| [
|
|
9466
9604
|
{
|
|
9467
9605
|
allowAny?: boolean;
|
|
9606
|
+
|
|
9468
9607
|
allowedPromiseNames?: string[];
|
|
9469
9608
|
checkArrowFunctions?: boolean;
|
|
9470
9609
|
checkFunctionDeclarations?: boolean;
|
|
@@ -9500,10 +9639,15 @@ type TypescriptEslintRestrictPlusOperands =
|
|
|
9500
9639
|
| [
|
|
9501
9640
|
{
|
|
9502
9641
|
allowAny?: boolean;
|
|
9642
|
+
|
|
9503
9643
|
allowBoolean?: boolean;
|
|
9644
|
+
|
|
9504
9645
|
allowNullish?: boolean;
|
|
9646
|
+
|
|
9505
9647
|
allowNumberAndString?: boolean;
|
|
9648
|
+
|
|
9506
9649
|
allowRegExp?: boolean;
|
|
9650
|
+
|
|
9507
9651
|
skipCompoundAssignments?: boolean;
|
|
9508
9652
|
},
|
|
9509
9653
|
];
|
|
@@ -9513,11 +9657,17 @@ type TypescriptEslintRestrictTemplateExpressions =
|
|
|
9513
9657
|
| [
|
|
9514
9658
|
{
|
|
9515
9659
|
allowAny?: boolean;
|
|
9660
|
+
|
|
9516
9661
|
allowArray?: boolean;
|
|
9662
|
+
|
|
9517
9663
|
allowBoolean?: boolean;
|
|
9664
|
+
|
|
9518
9665
|
allowNullish?: boolean;
|
|
9666
|
+
|
|
9519
9667
|
allowNumber?: boolean;
|
|
9668
|
+
|
|
9520
9669
|
allowRegExp?: boolean;
|
|
9670
|
+
|
|
9521
9671
|
allowNever?: boolean;
|
|
9522
9672
|
},
|
|
9523
9673
|
];
|
|
@@ -9548,7 +9698,9 @@ type TypescriptEslintSortTypeConstituents =
|
|
|
9548
9698
|
| [
|
|
9549
9699
|
{
|
|
9550
9700
|
checkIntersections?: boolean;
|
|
9701
|
+
|
|
9551
9702
|
checkUnions?: boolean;
|
|
9703
|
+
|
|
9552
9704
|
groupOrder?: (
|
|
9553
9705
|
| "conditional"
|
|
9554
9706
|
| "function"
|
|
@@ -9617,6 +9769,7 @@ type TypescriptEslintSwitchExhaustivenessCheck =
|
|
|
9617
9769
|
| [
|
|
9618
9770
|
{
|
|
9619
9771
|
allowDefaultCaseForExhaustiveSwitch?: boolean;
|
|
9772
|
+
|
|
9620
9773
|
requireDefaultForNonUnion?: boolean;
|
|
9621
9774
|
},
|
|
9622
9775
|
];
|
|
@@ -9638,20 +9791,16 @@ type TypescriptEslintTypeAnnotationSpacing =
|
|
|
9638
9791
|
before?: boolean;
|
|
9639
9792
|
after?: boolean;
|
|
9640
9793
|
overrides?: {
|
|
9641
|
-
colon?:
|
|
9642
|
-
arrow?:
|
|
9643
|
-
variable?:
|
|
9644
|
-
parameter?:
|
|
9645
|
-
property?:
|
|
9646
|
-
returnType?:
|
|
9794
|
+
colon?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
|
|
9795
|
+
arrow?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
|
|
9796
|
+
variable?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
|
|
9797
|
+
parameter?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
|
|
9798
|
+
property?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
|
|
9799
|
+
returnType?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
|
|
9647
9800
|
};
|
|
9648
9801
|
},
|
|
9649
9802
|
];
|
|
9650
|
-
interface
|
|
9651
|
-
before?: boolean;
|
|
9652
|
-
after?: boolean;
|
|
9653
|
-
}
|
|
9654
|
-
interface SpacingConfig {
|
|
9803
|
+
interface _TypescriptEslintTypeAnnotationSpacing_SpacingConfig {
|
|
9655
9804
|
before?: boolean;
|
|
9656
9805
|
after?: boolean;
|
|
9657
9806
|
}
|
|
@@ -9765,6 +9914,7 @@ type ImportDynamicImportChunkname =
|
|
|
9765
9914
|
| [
|
|
9766
9915
|
{
|
|
9767
9916
|
importFunctions?: string[];
|
|
9917
|
+
allowEmpty?: boolean;
|
|
9768
9918
|
webpackChunknameFormat?: string;
|
|
9769
9919
|
[k: string]: unknown | undefined;
|
|
9770
9920
|
},
|
|
@@ -9811,6 +9961,10 @@ type ImportExtensions =
|
|
|
9811
9961
|
];
|
|
9812
9962
|
// ----- import/first -----
|
|
9813
9963
|
type ImportFirst = [] | ["absolute-first" | "disable-absolute-first"];
|
|
9964
|
+
// ----- import/group-exports -----
|
|
9965
|
+
interface ImportGroupExports {
|
|
9966
|
+
[k: string]: unknown | undefined;
|
|
9967
|
+
}
|
|
9814
9968
|
// ----- import/imports-first -----
|
|
9815
9969
|
type ImportImportsFirst = [] | ["absolute-first" | "disable-absolute-first"];
|
|
9816
9970
|
// ----- import/max-dependencies -----
|
|
@@ -9856,6 +10010,7 @@ type ImportNoAbsolutePath =
|
|
|
9856
10010
|
commonjs?: boolean;
|
|
9857
10011
|
amd?: boolean;
|
|
9858
10012
|
esmodule?: boolean;
|
|
10013
|
+
|
|
9859
10014
|
ignore?: [string, ...string[]];
|
|
9860
10015
|
},
|
|
9861
10016
|
];
|
|
@@ -9865,12 +10020,19 @@ type ImportNoAnonymousDefaultExport =
|
|
|
9865
10020
|
| [
|
|
9866
10021
|
{
|
|
9867
10022
|
allowArray?: boolean;
|
|
10023
|
+
|
|
9868
10024
|
allowArrowFunction?: boolean;
|
|
10025
|
+
|
|
9869
10026
|
allowCallExpression?: boolean;
|
|
10027
|
+
|
|
9870
10028
|
allowAnonymousClass?: boolean;
|
|
10029
|
+
|
|
9871
10030
|
allowAnonymousFunction?: boolean;
|
|
10031
|
+
|
|
9872
10032
|
allowLiteral?: boolean;
|
|
10033
|
+
|
|
9873
10034
|
allowObject?: boolean;
|
|
10035
|
+
|
|
9874
10036
|
allowNew?: boolean;
|
|
9875
10037
|
},
|
|
9876
10038
|
];
|
|
@@ -9894,9 +10056,12 @@ type ImportNoCycle =
|
|
|
9894
10056
|
commonjs?: boolean;
|
|
9895
10057
|
amd?: boolean;
|
|
9896
10058
|
esmodule?: boolean;
|
|
10059
|
+
|
|
9897
10060
|
ignore?: [string, ...string[]];
|
|
9898
10061
|
maxDepth?: number | "∞";
|
|
10062
|
+
|
|
9899
10063
|
ignoreExternal?: boolean;
|
|
10064
|
+
|
|
9900
10065
|
allowUnsafeDynamicCyclicDependency?: boolean;
|
|
9901
10066
|
},
|
|
9902
10067
|
];
|
|
@@ -9975,6 +10140,7 @@ type ImportNoRelativePackages =
|
|
|
9975
10140
|
commonjs?: boolean;
|
|
9976
10141
|
amd?: boolean;
|
|
9977
10142
|
esmodule?: boolean;
|
|
10143
|
+
|
|
9978
10144
|
ignore?: [string, ...string[]];
|
|
9979
10145
|
},
|
|
9980
10146
|
];
|
|
@@ -9986,6 +10152,7 @@ type ImportNoRelativeParentImports =
|
|
|
9986
10152
|
commonjs?: boolean;
|
|
9987
10153
|
amd?: boolean;
|
|
9988
10154
|
esmodule?: boolean;
|
|
10155
|
+
|
|
9989
10156
|
ignore?: [string, ...string[]];
|
|
9990
10157
|
},
|
|
9991
10158
|
];
|
|
@@ -10030,6 +10197,7 @@ type ImportNoUnresolved =
|
|
|
10030
10197
|
commonjs?: boolean;
|
|
10031
10198
|
amd?: boolean;
|
|
10032
10199
|
esmodule?: boolean;
|
|
10200
|
+
|
|
10033
10201
|
ignore?: [string, ...string[]];
|
|
10034
10202
|
caseSensitive?: boolean;
|
|
10035
10203
|
caseSensitiveStrict?: boolean;
|
|
@@ -10814,42 +10982,38 @@ type JsoncArrayBracketSpacing =
|
|
|
10814
10982
|
type JsoncArrayElementNewline =
|
|
10815
10983
|
| []
|
|
10816
10984
|
| [
|
|
10817
|
-
|
|
|
10985
|
+
| _JsoncArrayElementNewlineBasicConfig
|
|
10818
10986
|
| {
|
|
10819
|
-
ArrayExpression?:
|
|
10820
|
-
JSONArrayExpression?:
|
|
10821
|
-
ArrayPattern?:
|
|
10987
|
+
ArrayExpression?: _JsoncArrayElementNewlineBasicConfig;
|
|
10988
|
+
JSONArrayExpression?: _JsoncArrayElementNewlineBasicConfig;
|
|
10989
|
+
ArrayPattern?: _JsoncArrayElementNewlineBasicConfig;
|
|
10822
10990
|
},
|
|
10823
10991
|
];
|
|
10992
|
+
type _JsoncArrayElementNewlineBasicConfig =
|
|
10993
|
+
| ("always" | "never" | "consistent")
|
|
10994
|
+
| {
|
|
10995
|
+
multiline?: boolean;
|
|
10996
|
+
minItems?: number | null;
|
|
10997
|
+
};
|
|
10824
10998
|
// ----- jsonc/comma-dangle -----
|
|
10825
10999
|
type JsoncCommaDangle =
|
|
10826
11000
|
| []
|
|
10827
11001
|
| [
|
|
10828
|
-
|
|
|
11002
|
+
| _JsoncCommaDangleValue
|
|
10829
11003
|
| {
|
|
10830
|
-
arrays?:
|
|
10831
|
-
objects?:
|
|
10832
|
-
imports?:
|
|
10833
|
-
exports?:
|
|
10834
|
-
functions?:
|
|
11004
|
+
arrays?: _JsoncCommaDangleValueWithIgnore;
|
|
11005
|
+
objects?: _JsoncCommaDangleValueWithIgnore;
|
|
11006
|
+
imports?: _JsoncCommaDangleValueWithIgnore;
|
|
11007
|
+
exports?: _JsoncCommaDangleValueWithIgnore;
|
|
11008
|
+
functions?: _JsoncCommaDangleValueWithIgnore;
|
|
10835
11009
|
},
|
|
10836
11010
|
];
|
|
10837
|
-
type
|
|
10838
|
-
type Value = "always-multiline" | "always" | "never" | "only-multiline";
|
|
10839
|
-
type Value = "always-multiline" | "always" | "never" | "only-multiline";
|
|
10840
|
-
type ValueWithIgnore =
|
|
11011
|
+
type _JsoncCommaDangleValue =
|
|
10841
11012
|
| "always-multiline"
|
|
10842
11013
|
| "always"
|
|
10843
11014
|
| "never"
|
|
10844
|
-
| "only-multiline"
|
|
10845
|
-
|
|
10846
|
-
type ValueWithIgnore =
|
|
10847
|
-
| "always-multiline"
|
|
10848
|
-
| "always"
|
|
10849
|
-
| "never"
|
|
10850
|
-
| "only-multiline"
|
|
10851
|
-
| "ignore";
|
|
10852
|
-
type ValueWithIgnore =
|
|
11015
|
+
| "only-multiline";
|
|
11016
|
+
type _JsoncCommaDangleValueWithIgnore =
|
|
10853
11017
|
| "always-multiline"
|
|
10854
11018
|
| "always"
|
|
10855
11019
|
| "ignore"
|
|
@@ -11350,11 +11514,13 @@ type NNoExtraneousImport =
|
|
|
11350
11514
|
{
|
|
11351
11515
|
include: [string, ...string[]];
|
|
11352
11516
|
exclude?: string[];
|
|
11517
|
+
|
|
11353
11518
|
replace: [string, string];
|
|
11354
11519
|
},
|
|
11355
11520
|
...{
|
|
11356
11521
|
include: [string, ...string[]];
|
|
11357
11522
|
exclude?: string[];
|
|
11523
|
+
|
|
11358
11524
|
replace: [string, string];
|
|
11359
11525
|
}[],
|
|
11360
11526
|
];
|
|
@@ -11375,11 +11541,13 @@ type NNoExtraneousRequire =
|
|
|
11375
11541
|
{
|
|
11376
11542
|
include: [string, ...string[]];
|
|
11377
11543
|
exclude?: string[];
|
|
11544
|
+
|
|
11378
11545
|
replace: [string, string];
|
|
11379
11546
|
},
|
|
11380
11547
|
...{
|
|
11381
11548
|
include: [string, ...string[]];
|
|
11382
11549
|
exclude?: string[];
|
|
11550
|
+
|
|
11383
11551
|
replace: [string, string];
|
|
11384
11552
|
}[],
|
|
11385
11553
|
];
|
|
@@ -11521,11 +11689,13 @@ type NNoUnpublishedBin =
|
|
|
11521
11689
|
{
|
|
11522
11690
|
include: [string, ...string[]];
|
|
11523
11691
|
exclude?: string[];
|
|
11692
|
+
|
|
11524
11693
|
replace: [string, string];
|
|
11525
11694
|
},
|
|
11526
11695
|
...{
|
|
11527
11696
|
include: [string, ...string[]];
|
|
11528
11697
|
exclude?: string[];
|
|
11698
|
+
|
|
11529
11699
|
replace: [string, string];
|
|
11530
11700
|
}[],
|
|
11531
11701
|
];
|
|
@@ -11546,11 +11716,13 @@ type NNoUnpublishedImport =
|
|
|
11546
11716
|
{
|
|
11547
11717
|
include: [string, ...string[]];
|
|
11548
11718
|
exclude?: string[];
|
|
11719
|
+
|
|
11549
11720
|
replace: [string, string];
|
|
11550
11721
|
},
|
|
11551
11722
|
...{
|
|
11552
11723
|
include: [string, ...string[]];
|
|
11553
11724
|
exclude?: string[];
|
|
11725
|
+
|
|
11554
11726
|
replace: [string, string];
|
|
11555
11727
|
}[],
|
|
11556
11728
|
];
|
|
@@ -11572,11 +11744,13 @@ type NNoUnpublishedRequire =
|
|
|
11572
11744
|
{
|
|
11573
11745
|
include: [string, ...string[]];
|
|
11574
11746
|
exclude?: string[];
|
|
11747
|
+
|
|
11575
11748
|
replace: [string, string];
|
|
11576
11749
|
},
|
|
11577
11750
|
...{
|
|
11578
11751
|
include: [string, ...string[]];
|
|
11579
11752
|
exclude?: string[];
|
|
11753
|
+
|
|
11580
11754
|
replace: [string, string];
|
|
11581
11755
|
}[],
|
|
11582
11756
|
];
|
|
@@ -12067,11 +12241,13 @@ type NShebang =
|
|
|
12067
12241
|
{
|
|
12068
12242
|
include: [string, ...string[]];
|
|
12069
12243
|
exclude?: string[];
|
|
12244
|
+
|
|
12070
12245
|
replace: [string, string];
|
|
12071
12246
|
},
|
|
12072
12247
|
...{
|
|
12073
12248
|
include: [string, ...string[]];
|
|
12074
12249
|
exclude?: string[];
|
|
12250
|
+
|
|
12075
12251
|
replace: [string, string];
|
|
12076
12252
|
}[],
|
|
12077
12253
|
];
|
|
@@ -12145,7 +12321,34 @@ type PerfectionistSortExports =
|
|
|
12145
12321
|
},
|
|
12146
12322
|
];
|
|
12147
12323
|
// ----- perfectionist/sort-imports -----
|
|
12148
|
-
type PerfectionistSortImports =
|
|
12324
|
+
type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports];
|
|
12325
|
+
type _PerfectionistSortImportsSortImports =
|
|
12326
|
+
_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
12327
|
+
"custom-groups"?: {
|
|
12328
|
+
type?: {
|
|
12329
|
+
[k: string]: unknown | undefined;
|
|
12330
|
+
};
|
|
12331
|
+
value?: {
|
|
12332
|
+
[k: string]: unknown | undefined;
|
|
12333
|
+
};
|
|
12334
|
+
};
|
|
12335
|
+
type?: "alphabetical" | "natural" | "line-length";
|
|
12336
|
+
order?: "asc" | "desc";
|
|
12337
|
+
"ignore-case"?: boolean;
|
|
12338
|
+
groups?: unknown[];
|
|
12339
|
+
"internal-pattern"?: string[];
|
|
12340
|
+
"newlines-between"?: "ignore" | "always" | "never";
|
|
12341
|
+
"max-line-length"?: number;
|
|
12342
|
+
};
|
|
12343
|
+
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType =
|
|
12344
|
+
| {
|
|
12345
|
+
[k: string]: unknown | undefined;
|
|
12346
|
+
}
|
|
12347
|
+
| _PerfectionistSortImports_IsLineLength;
|
|
12348
|
+
interface _PerfectionistSortImports_IsLineLength {
|
|
12349
|
+
type: "line-length";
|
|
12350
|
+
[k: string]: unknown | undefined;
|
|
12351
|
+
}
|
|
12149
12352
|
// ----- perfectionist/sort-interfaces -----
|
|
12150
12353
|
type PerfectionistSortInterfaces =
|
|
12151
12354
|
| []
|
|
@@ -12290,6 +12493,16 @@ type ReactHooksExhaustiveDeps =
|
|
|
12290
12493
|
enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean;
|
|
12291
12494
|
},
|
|
12292
12495
|
];
|
|
12496
|
+
// ----- react-refresh/only-export-components -----
|
|
12497
|
+
type ReactRefreshOnlyExportComponents =
|
|
12498
|
+
| []
|
|
12499
|
+
| [
|
|
12500
|
+
{
|
|
12501
|
+
allowConstantExport?: boolean;
|
|
12502
|
+
checkJS?: boolean;
|
|
12503
|
+
allowExportNames?: string[];
|
|
12504
|
+
},
|
|
12505
|
+
];
|
|
12293
12506
|
// ----- react/boolean-prop-naming -----
|
|
12294
12507
|
type ReactBooleanPropNaming =
|
|
12295
12508
|
| []
|
|
@@ -12362,6 +12575,7 @@ type ReactForbidComponentProps =
|
|
|
12362
12575
|
}
|
|
12363
12576
|
| {
|
|
12364
12577
|
propName?: string;
|
|
12578
|
+
|
|
12365
12579
|
disallowedFor: [string, ...string[]];
|
|
12366
12580
|
message?: string;
|
|
12367
12581
|
}
|
|
@@ -12518,18 +12732,18 @@ type ReactJsxCurlyNewline =
|
|
|
12518
12732
|
type ReactJsxCurlySpacing =
|
|
12519
12733
|
| []
|
|
12520
12734
|
| [
|
|
12521
|
-
| (
|
|
12522
|
-
attributes?:
|
|
12523
|
-
children?:
|
|
12735
|
+
| (_ReactJsxCurlySpacing_BasicConfig & {
|
|
12736
|
+
attributes?: _ReactJsxCurlySpacingBasicConfigOrBoolean;
|
|
12737
|
+
children?: _ReactJsxCurlySpacingBasicConfigOrBoolean;
|
|
12524
12738
|
[k: string]: unknown | undefined;
|
|
12525
12739
|
})
|
|
12526
12740
|
| ("always" | "never"),
|
|
12527
12741
|
]
|
|
12528
12742
|
| [
|
|
12529
12743
|
(
|
|
12530
|
-
| (
|
|
12531
|
-
attributes?:
|
|
12532
|
-
children?:
|
|
12744
|
+
| (_ReactJsxCurlySpacing_BasicConfig & {
|
|
12745
|
+
attributes?: _ReactJsxCurlySpacingBasicConfigOrBoolean;
|
|
12746
|
+
children?: _ReactJsxCurlySpacingBasicConfigOrBoolean;
|
|
12533
12747
|
[k: string]: unknown | undefined;
|
|
12534
12748
|
})
|
|
12535
12749
|
| ("always" | "never")
|
|
@@ -12542,30 +12756,10 @@ type ReactJsxCurlySpacing =
|
|
|
12542
12756
|
};
|
|
12543
12757
|
},
|
|
12544
12758
|
];
|
|
12545
|
-
type
|
|
12546
|
-
|
|
12547
|
-
|
|
12548
|
-
|
|
12549
|
-
| {
|
|
12550
|
-
multiline?: boolean;
|
|
12551
|
-
minItems?: number | null;
|
|
12552
|
-
};
|
|
12553
|
-
interface BasicConfig {
|
|
12554
|
-
when?: "always" | "never";
|
|
12555
|
-
allowMultiline?: boolean;
|
|
12556
|
-
spacing?: {
|
|
12557
|
-
objectLiterals?: "always" | "never";
|
|
12558
|
-
[k: string]: unknown | undefined;
|
|
12559
|
-
};
|
|
12560
|
-
[k: string]: unknown | undefined;
|
|
12561
|
-
}
|
|
12562
|
-
type BasicConfig =
|
|
12563
|
-
| ("always" | "never" | "consistent")
|
|
12564
|
-
| {
|
|
12565
|
-
multiline?: boolean;
|
|
12566
|
-
minItems?: number | null;
|
|
12567
|
-
};
|
|
12568
|
-
interface BasicConfig {
|
|
12759
|
+
type _ReactJsxCurlySpacingBasicConfigOrBoolean =
|
|
12760
|
+
| _ReactJsxCurlySpacing_BasicConfig
|
|
12761
|
+
| boolean;
|
|
12762
|
+
interface _ReactJsxCurlySpacing_BasicConfig {
|
|
12569
12763
|
when?: "always" | "never";
|
|
12570
12764
|
allowMultiline?: boolean;
|
|
12571
12765
|
spacing?: {
|
|
@@ -12801,6 +12995,7 @@ type ReactJsxPascalCase =
|
|
|
12801
12995
|
allowAllCaps?: boolean;
|
|
12802
12996
|
allowLeadingUnderscore?: boolean;
|
|
12803
12997
|
allowNamespace?: boolean;
|
|
12998
|
+
|
|
12804
12999
|
ignore?: [] | [string];
|
|
12805
13000
|
},
|
|
12806
13001
|
];
|
|
@@ -13114,6 +13309,138 @@ type ReactStylePropObject =
|
|
|
13114
13309
|
[k: string]: unknown | undefined;
|
|
13115
13310
|
},
|
|
13116
13311
|
];
|
|
13312
|
+
// ----- tailwindcss/classnames-order -----
|
|
13313
|
+
type TailwindcssClassnamesOrder =
|
|
13314
|
+
| []
|
|
13315
|
+
| [
|
|
13316
|
+
{
|
|
13317
|
+
callees?: string[];
|
|
13318
|
+
ignoredKeys?: string[];
|
|
13319
|
+
config?:
|
|
13320
|
+
| string
|
|
13321
|
+
| {
|
|
13322
|
+
[k: string]: unknown | undefined;
|
|
13323
|
+
};
|
|
13324
|
+
removeDuplicates?: boolean;
|
|
13325
|
+
tags?: string[];
|
|
13326
|
+
[k: string]: unknown | undefined;
|
|
13327
|
+
},
|
|
13328
|
+
];
|
|
13329
|
+
// ----- tailwindcss/enforces-negative-arbitrary-values -----
|
|
13330
|
+
type TailwindcssEnforcesNegativeArbitraryValues =
|
|
13331
|
+
| []
|
|
13332
|
+
| [
|
|
13333
|
+
{
|
|
13334
|
+
callees?: string[];
|
|
13335
|
+
ignoredKeys?: string[];
|
|
13336
|
+
config?:
|
|
13337
|
+
| string
|
|
13338
|
+
| {
|
|
13339
|
+
[k: string]: unknown | undefined;
|
|
13340
|
+
};
|
|
13341
|
+
tags?: string[];
|
|
13342
|
+
[k: string]: unknown | undefined;
|
|
13343
|
+
},
|
|
13344
|
+
];
|
|
13345
|
+
// ----- tailwindcss/enforces-shorthand -----
|
|
13346
|
+
type TailwindcssEnforcesShorthand =
|
|
13347
|
+
| []
|
|
13348
|
+
| [
|
|
13349
|
+
{
|
|
13350
|
+
callees?: string[];
|
|
13351
|
+
ignoredKeys?: string[];
|
|
13352
|
+
config?:
|
|
13353
|
+
| string
|
|
13354
|
+
| {
|
|
13355
|
+
[k: string]: unknown | undefined;
|
|
13356
|
+
};
|
|
13357
|
+
tags?: string[];
|
|
13358
|
+
[k: string]: unknown | undefined;
|
|
13359
|
+
},
|
|
13360
|
+
];
|
|
13361
|
+
// ----- tailwindcss/migration-from-tailwind-2 -----
|
|
13362
|
+
type TailwindcssMigrationFromTailwind2 =
|
|
13363
|
+
| []
|
|
13364
|
+
| [
|
|
13365
|
+
{
|
|
13366
|
+
callees?: string[];
|
|
13367
|
+
ignoredKeys?: string[];
|
|
13368
|
+
config?:
|
|
13369
|
+
| string
|
|
13370
|
+
| {
|
|
13371
|
+
[k: string]: unknown | undefined;
|
|
13372
|
+
};
|
|
13373
|
+
tags?: string[];
|
|
13374
|
+
[k: string]: unknown | undefined;
|
|
13375
|
+
},
|
|
13376
|
+
];
|
|
13377
|
+
// ----- tailwindcss/no-arbitrary-value -----
|
|
13378
|
+
type TailwindcssNoArbitraryValue =
|
|
13379
|
+
| []
|
|
13380
|
+
| [
|
|
13381
|
+
{
|
|
13382
|
+
callees?: string[];
|
|
13383
|
+
ignoredKeys?: string[];
|
|
13384
|
+
config?:
|
|
13385
|
+
| string
|
|
13386
|
+
| {
|
|
13387
|
+
[k: string]: unknown | undefined;
|
|
13388
|
+
};
|
|
13389
|
+
tags?: string[];
|
|
13390
|
+
[k: string]: unknown | undefined;
|
|
13391
|
+
},
|
|
13392
|
+
];
|
|
13393
|
+
// ----- tailwindcss/no-contradicting-classname -----
|
|
13394
|
+
type TailwindcssNoContradictingClassname =
|
|
13395
|
+
| []
|
|
13396
|
+
| [
|
|
13397
|
+
{
|
|
13398
|
+
callees?: string[];
|
|
13399
|
+
ignoredKeys?: string[];
|
|
13400
|
+
config?:
|
|
13401
|
+
| string
|
|
13402
|
+
| {
|
|
13403
|
+
[k: string]: unknown | undefined;
|
|
13404
|
+
};
|
|
13405
|
+
tags?: string[];
|
|
13406
|
+
[k: string]: unknown | undefined;
|
|
13407
|
+
},
|
|
13408
|
+
];
|
|
13409
|
+
// ----- tailwindcss/no-custom-classname -----
|
|
13410
|
+
type TailwindcssNoCustomClassname =
|
|
13411
|
+
| []
|
|
13412
|
+
| [
|
|
13413
|
+
{
|
|
13414
|
+
callees?: string[];
|
|
13415
|
+
ignoredKeys?: string[];
|
|
13416
|
+
config?:
|
|
13417
|
+
| string
|
|
13418
|
+
| {
|
|
13419
|
+
[k: string]: unknown | undefined;
|
|
13420
|
+
};
|
|
13421
|
+
cssFiles?: string[];
|
|
13422
|
+
cssFilesRefreshRate?: number;
|
|
13423
|
+
tags?: string[];
|
|
13424
|
+
whitelist?: string[];
|
|
13425
|
+
[k: string]: unknown | undefined;
|
|
13426
|
+
},
|
|
13427
|
+
];
|
|
13428
|
+
// ----- tailwindcss/no-unnecessary-arbitrary-value -----
|
|
13429
|
+
type TailwindcssNoUnnecessaryArbitraryValue =
|
|
13430
|
+
| []
|
|
13431
|
+
| [
|
|
13432
|
+
{
|
|
13433
|
+
callees?: string[];
|
|
13434
|
+
ignoredKeys?: string[];
|
|
13435
|
+
config?:
|
|
13436
|
+
| string
|
|
13437
|
+
| {
|
|
13438
|
+
[k: string]: unknown | undefined;
|
|
13439
|
+
};
|
|
13440
|
+
tags?: string[];
|
|
13441
|
+
[k: string]: unknown | undefined;
|
|
13442
|
+
},
|
|
13443
|
+
];
|
|
13117
13444
|
// ----- unicorn/better-regex -----
|
|
13118
13445
|
type UnicornBetterRegex =
|
|
13119
13446
|
| []
|
|
@@ -13187,12 +13514,17 @@ type UnicornImportStyle =
|
|
|
13187
13514
|
checkExportFrom?: boolean;
|
|
13188
13515
|
checkRequire?: boolean;
|
|
13189
13516
|
extendDefaultStyles?: boolean;
|
|
13190
|
-
styles?:
|
|
13517
|
+
styles?: _UnicornImportStyle_ModuleStyles;
|
|
13191
13518
|
},
|
|
13192
13519
|
];
|
|
13193
|
-
type
|
|
13194
|
-
|
|
13195
|
-
|
|
13520
|
+
type _UnicornImportStyleStyles =
|
|
13521
|
+
| (false | _UnicornImportStyle_BooleanObject)
|
|
13522
|
+
| undefined;
|
|
13523
|
+
interface _UnicornImportStyle_ModuleStyles {
|
|
13524
|
+
[k: string]: _UnicornImportStyleStyles | undefined;
|
|
13525
|
+
}
|
|
13526
|
+
interface _UnicornImportStyle_BooleanObject {
|
|
13527
|
+
[k: string]: boolean | undefined;
|
|
13196
13528
|
}
|
|
13197
13529
|
// ----- unicorn/no-array-push-push -----
|
|
13198
13530
|
type UnicornNoArrayPushPush =
|
|
@@ -13369,20 +13701,19 @@ type UnicornPreventAbbreviations =
|
|
|
13369
13701
|
checkShorthandProperties?: boolean;
|
|
13370
13702
|
checkFilenames?: boolean;
|
|
13371
13703
|
extendDefaultReplacements?: boolean;
|
|
13372
|
-
replacements?:
|
|
13704
|
+
replacements?: _UnicornPreventAbbreviations_Abbreviations;
|
|
13373
13705
|
extendDefaultAllowList?: boolean;
|
|
13374
|
-
allowList?:
|
|
13706
|
+
allowList?: _UnicornPreventAbbreviations_BooleanObject;
|
|
13375
13707
|
ignore?: unknown[];
|
|
13376
13708
|
},
|
|
13377
13709
|
];
|
|
13378
|
-
type
|
|
13379
|
-
|
|
13380
|
-
|
|
13710
|
+
type _UnicornPreventAbbreviationsReplacements =
|
|
13711
|
+
| (false | _UnicornPreventAbbreviations_BooleanObject)
|
|
13712
|
+
| undefined;
|
|
13713
|
+
interface _UnicornPreventAbbreviations_Abbreviations {
|
|
13714
|
+
[k: string]: _UnicornPreventAbbreviationsReplacements | undefined;
|
|
13381
13715
|
}
|
|
13382
|
-
interface
|
|
13383
|
-
[k: string]: boolean | undefined;
|
|
13384
|
-
}
|
|
13385
|
-
interface BooleanObject {
|
|
13716
|
+
interface _UnicornPreventAbbreviations_BooleanObject {
|
|
13386
13717
|
[k: string]: boolean | undefined;
|
|
13387
13718
|
}
|
|
13388
13719
|
// ----- unicorn/relative-url-style -----
|
|
@@ -14050,16 +14381,35 @@ type OptionsReact = {
|
|
|
14050
14381
|
react?: boolean;
|
|
14051
14382
|
reactRefresh?: boolean;
|
|
14052
14383
|
};
|
|
14384
|
+
/**
|
|
14385
|
+
* Tailwind CSS ESLint settings
|
|
14386
|
+
*/
|
|
14387
|
+
type TailwindEslintSettings = {
|
|
14388
|
+
/**
|
|
14389
|
+
* call expressions to check for tailwind classes
|
|
14390
|
+
* @default ["classnames", "clsx", "ctl", "cn", "cx", "twMerge", "twJoin"]
|
|
14391
|
+
*/
|
|
14392
|
+
callees: string[];
|
|
14393
|
+
classRegex: string;
|
|
14394
|
+
config: string;
|
|
14395
|
+
cssFiles: string[];
|
|
14396
|
+
cssFilesRefreshRate: number;
|
|
14397
|
+
removeDuplicates: boolean;
|
|
14398
|
+
skipClassAttribute: boolean;
|
|
14399
|
+
tags: string[];
|
|
14400
|
+
whitelist: string[];
|
|
14401
|
+
};
|
|
14402
|
+
type TailwindOptions = Partial<TailwindEslintSettings> | boolean | undefined;
|
|
14053
14403
|
type OptionsConfig = {
|
|
14054
14404
|
/**
|
|
14055
14405
|
* Enable debug mode.
|
|
14056
14406
|
*/
|
|
14057
14407
|
debug?: boolean;
|
|
14058
|
-
tailwind?: boolean;
|
|
14059
14408
|
reportUnusedDisableDirectives?: boolean;
|
|
14060
14409
|
off?: string[];
|
|
14061
14410
|
fast?: boolean;
|
|
14062
14411
|
prettier?: boolean;
|
|
14412
|
+
tailwind?: TailwindOptions;
|
|
14063
14413
|
/**
|
|
14064
14414
|
* The prefix for the name of the config item.
|
|
14065
14415
|
* @default "jsse"
|
|
@@ -14172,6 +14522,968 @@ declare const GLOB_TESTS: string[];
|
|
|
14172
14522
|
declare const GLOB_ALL_SRC: string[];
|
|
14173
14523
|
declare const GLOB_EXCLUDE: string[];
|
|
14174
14524
|
|
|
14525
|
+
declare function importPluginReact(): Promise<{
|
|
14526
|
+
pluginReact: any;
|
|
14527
|
+
}>;
|
|
14528
|
+
declare function importPluginReactHooks(): Promise<{
|
|
14529
|
+
pluginReactHooks: any;
|
|
14530
|
+
}>;
|
|
14531
|
+
declare function importPluginReactRefresh(): Promise<{
|
|
14532
|
+
pluginReactRefresh: any;
|
|
14533
|
+
}>;
|
|
14534
|
+
declare function importReactPlugins(): Promise<{
|
|
14535
|
+
pluginReact: any;
|
|
14536
|
+
pluginReactHooks: any;
|
|
14537
|
+
pluginReactRefresh: any;
|
|
14538
|
+
}>;
|
|
14539
|
+
declare function importParserJsonc(): Promise<{
|
|
14540
|
+
parserJsonc: typeof jsonc_eslint_parser;
|
|
14541
|
+
}>;
|
|
14542
|
+
declare function importPluginJsonc(): Promise<{
|
|
14543
|
+
pluginJsonc: {
|
|
14544
|
+
meta: typeof eslint_plugin_jsonc_meta;
|
|
14545
|
+
configs: {
|
|
14546
|
+
base: {
|
|
14547
|
+
plugins: string[];
|
|
14548
|
+
overrides: {
|
|
14549
|
+
files: string[];
|
|
14550
|
+
parser: string;
|
|
14551
|
+
rules: {
|
|
14552
|
+
strict: string;
|
|
14553
|
+
"no-unused-expressions": string;
|
|
14554
|
+
"no-unused-vars": string;
|
|
14555
|
+
};
|
|
14556
|
+
}[];
|
|
14557
|
+
};
|
|
14558
|
+
"auto-config": {
|
|
14559
|
+
extends: string[];
|
|
14560
|
+
rules: {
|
|
14561
|
+
"jsonc/auto": string;
|
|
14562
|
+
};
|
|
14563
|
+
};
|
|
14564
|
+
"recommended-with-json": {
|
|
14565
|
+
extends: string[];
|
|
14566
|
+
rules: {
|
|
14567
|
+
"jsonc/comma-dangle": string;
|
|
14568
|
+
"jsonc/no-bigint-literals": string;
|
|
14569
|
+
"jsonc/no-binary-expression": string;
|
|
14570
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14571
|
+
"jsonc/no-comments": string;
|
|
14572
|
+
"jsonc/no-dupe-keys": string;
|
|
14573
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14574
|
+
"jsonc/no-floating-decimal": string;
|
|
14575
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
14576
|
+
"jsonc/no-infinity": string;
|
|
14577
|
+
"jsonc/no-multi-str": string;
|
|
14578
|
+
"jsonc/no-nan": string;
|
|
14579
|
+
"jsonc/no-number-props": string;
|
|
14580
|
+
"jsonc/no-numeric-separators": string;
|
|
14581
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14582
|
+
"jsonc/no-octal": string;
|
|
14583
|
+
"jsonc/no-parenthesized": string;
|
|
14584
|
+
"jsonc/no-plus-sign": string;
|
|
14585
|
+
"jsonc/no-regexp-literals": string;
|
|
14586
|
+
"jsonc/no-sparse-arrays": string;
|
|
14587
|
+
"jsonc/no-template-literals": string;
|
|
14588
|
+
"jsonc/no-undefined-value": string;
|
|
14589
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14590
|
+
"jsonc/no-useless-escape": string;
|
|
14591
|
+
"jsonc/quote-props": string;
|
|
14592
|
+
"jsonc/quotes": string;
|
|
14593
|
+
"jsonc/space-unary-ops": string;
|
|
14594
|
+
"jsonc/valid-json-number": string;
|
|
14595
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14596
|
+
};
|
|
14597
|
+
};
|
|
14598
|
+
"recommended-with-jsonc": {
|
|
14599
|
+
extends: string[];
|
|
14600
|
+
rules: {
|
|
14601
|
+
"jsonc/no-bigint-literals": string;
|
|
14602
|
+
"jsonc/no-binary-expression": string;
|
|
14603
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14604
|
+
"jsonc/no-dupe-keys": string;
|
|
14605
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14606
|
+
"jsonc/no-floating-decimal": string;
|
|
14607
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
14608
|
+
"jsonc/no-infinity": string;
|
|
14609
|
+
"jsonc/no-multi-str": string;
|
|
14610
|
+
"jsonc/no-nan": string;
|
|
14611
|
+
"jsonc/no-number-props": string;
|
|
14612
|
+
"jsonc/no-numeric-separators": string;
|
|
14613
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14614
|
+
"jsonc/no-octal": string;
|
|
14615
|
+
"jsonc/no-parenthesized": string;
|
|
14616
|
+
"jsonc/no-plus-sign": string;
|
|
14617
|
+
"jsonc/no-regexp-literals": string;
|
|
14618
|
+
"jsonc/no-sparse-arrays": string;
|
|
14619
|
+
"jsonc/no-template-literals": string;
|
|
14620
|
+
"jsonc/no-undefined-value": string;
|
|
14621
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14622
|
+
"jsonc/no-useless-escape": string;
|
|
14623
|
+
"jsonc/quote-props": string;
|
|
14624
|
+
"jsonc/quotes": string;
|
|
14625
|
+
"jsonc/space-unary-ops": string;
|
|
14626
|
+
"jsonc/valid-json-number": string;
|
|
14627
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14628
|
+
};
|
|
14629
|
+
};
|
|
14630
|
+
"recommended-with-json5": {
|
|
14631
|
+
extends: string[];
|
|
14632
|
+
rules: {
|
|
14633
|
+
"jsonc/no-bigint-literals": string;
|
|
14634
|
+
"jsonc/no-binary-expression": string;
|
|
14635
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14636
|
+
"jsonc/no-dupe-keys": string;
|
|
14637
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14638
|
+
"jsonc/no-number-props": string;
|
|
14639
|
+
"jsonc/no-numeric-separators": string;
|
|
14640
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14641
|
+
"jsonc/no-octal": string;
|
|
14642
|
+
"jsonc/no-parenthesized": string;
|
|
14643
|
+
"jsonc/no-regexp-literals": string;
|
|
14644
|
+
"jsonc/no-sparse-arrays": string;
|
|
14645
|
+
"jsonc/no-template-literals": string;
|
|
14646
|
+
"jsonc/no-undefined-value": string;
|
|
14647
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14648
|
+
"jsonc/no-useless-escape": string;
|
|
14649
|
+
"jsonc/space-unary-ops": string;
|
|
14650
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14651
|
+
};
|
|
14652
|
+
};
|
|
14653
|
+
prettier: {
|
|
14654
|
+
extends: string[];
|
|
14655
|
+
rules: {
|
|
14656
|
+
"jsonc/array-bracket-newline": string;
|
|
14657
|
+
"jsonc/array-bracket-spacing": string;
|
|
14658
|
+
"jsonc/array-element-newline": string;
|
|
14659
|
+
"jsonc/comma-dangle": string;
|
|
14660
|
+
"jsonc/comma-style": string;
|
|
14661
|
+
"jsonc/indent": string;
|
|
14662
|
+
"jsonc/key-spacing": string;
|
|
14663
|
+
"jsonc/no-floating-decimal": string;
|
|
14664
|
+
"jsonc/object-curly-newline": string;
|
|
14665
|
+
"jsonc/object-curly-spacing": string;
|
|
14666
|
+
"jsonc/object-property-newline": string;
|
|
14667
|
+
"jsonc/quote-props": string;
|
|
14668
|
+
"jsonc/quotes": string;
|
|
14669
|
+
"jsonc/space-unary-ops": string;
|
|
14670
|
+
};
|
|
14671
|
+
};
|
|
14672
|
+
all: {
|
|
14673
|
+
extends: string[];
|
|
14674
|
+
rules: {
|
|
14675
|
+
[x: string]: string;
|
|
14676
|
+
};
|
|
14677
|
+
};
|
|
14678
|
+
"flat/base": ({
|
|
14679
|
+
plugins: {
|
|
14680
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
14681
|
+
};
|
|
14682
|
+
files?: undefined;
|
|
14683
|
+
languageOptions?: undefined;
|
|
14684
|
+
rules?: undefined;
|
|
14685
|
+
} | {
|
|
14686
|
+
files: string[];
|
|
14687
|
+
languageOptions: {
|
|
14688
|
+
parser: typeof jsonc_eslint_parser;
|
|
14689
|
+
};
|
|
14690
|
+
rules: {
|
|
14691
|
+
strict: string;
|
|
14692
|
+
"no-unused-expressions": string;
|
|
14693
|
+
"no-unused-vars": string;
|
|
14694
|
+
};
|
|
14695
|
+
plugins?: undefined;
|
|
14696
|
+
})[];
|
|
14697
|
+
"flat/recommended-with-json": ({
|
|
14698
|
+
plugins: {
|
|
14699
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
14700
|
+
};
|
|
14701
|
+
files?: undefined;
|
|
14702
|
+
languageOptions?: undefined;
|
|
14703
|
+
rules?: undefined;
|
|
14704
|
+
} | {
|
|
14705
|
+
files: string[];
|
|
14706
|
+
languageOptions: {
|
|
14707
|
+
parser: typeof jsonc_eslint_parser;
|
|
14708
|
+
};
|
|
14709
|
+
rules: {
|
|
14710
|
+
strict: string;
|
|
14711
|
+
"no-unused-expressions": string;
|
|
14712
|
+
"no-unused-vars": string;
|
|
14713
|
+
};
|
|
14714
|
+
plugins?: undefined;
|
|
14715
|
+
} | {
|
|
14716
|
+
rules: {
|
|
14717
|
+
"jsonc/comma-dangle": string;
|
|
14718
|
+
"jsonc/no-bigint-literals": string;
|
|
14719
|
+
"jsonc/no-binary-expression": string;
|
|
14720
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14721
|
+
"jsonc/no-comments": string;
|
|
14722
|
+
"jsonc/no-dupe-keys": string;
|
|
14723
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14724
|
+
"jsonc/no-floating-decimal": string;
|
|
14725
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
14726
|
+
"jsonc/no-infinity": string;
|
|
14727
|
+
"jsonc/no-multi-str": string;
|
|
14728
|
+
"jsonc/no-nan": string;
|
|
14729
|
+
"jsonc/no-number-props": string;
|
|
14730
|
+
"jsonc/no-numeric-separators": string;
|
|
14731
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14732
|
+
"jsonc/no-octal": string;
|
|
14733
|
+
"jsonc/no-parenthesized": string;
|
|
14734
|
+
"jsonc/no-plus-sign": string;
|
|
14735
|
+
"jsonc/no-regexp-literals": string;
|
|
14736
|
+
"jsonc/no-sparse-arrays": string;
|
|
14737
|
+
"jsonc/no-template-literals": string;
|
|
14738
|
+
"jsonc/no-undefined-value": string;
|
|
14739
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14740
|
+
"jsonc/no-useless-escape": string;
|
|
14741
|
+
"jsonc/quote-props": string;
|
|
14742
|
+
"jsonc/quotes": string;
|
|
14743
|
+
"jsonc/space-unary-ops": string;
|
|
14744
|
+
"jsonc/valid-json-number": string;
|
|
14745
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14746
|
+
};
|
|
14747
|
+
})[];
|
|
14748
|
+
"flat/recommended-with-jsonc": ({
|
|
14749
|
+
plugins: {
|
|
14750
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
14751
|
+
};
|
|
14752
|
+
files?: undefined;
|
|
14753
|
+
languageOptions?: undefined;
|
|
14754
|
+
rules?: undefined;
|
|
14755
|
+
} | {
|
|
14756
|
+
files: string[];
|
|
14757
|
+
languageOptions: {
|
|
14758
|
+
parser: typeof jsonc_eslint_parser;
|
|
14759
|
+
};
|
|
14760
|
+
rules: {
|
|
14761
|
+
strict: string;
|
|
14762
|
+
"no-unused-expressions": string;
|
|
14763
|
+
"no-unused-vars": string;
|
|
14764
|
+
};
|
|
14765
|
+
plugins?: undefined;
|
|
14766
|
+
} | {
|
|
14767
|
+
rules: {
|
|
14768
|
+
"jsonc/no-bigint-literals": string;
|
|
14769
|
+
"jsonc/no-binary-expression": string;
|
|
14770
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14771
|
+
"jsonc/no-dupe-keys": string;
|
|
14772
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14773
|
+
"jsonc/no-floating-decimal": string;
|
|
14774
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
14775
|
+
"jsonc/no-infinity": string;
|
|
14776
|
+
"jsonc/no-multi-str": string;
|
|
14777
|
+
"jsonc/no-nan": string;
|
|
14778
|
+
"jsonc/no-number-props": string;
|
|
14779
|
+
"jsonc/no-numeric-separators": string;
|
|
14780
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14781
|
+
"jsonc/no-octal": string;
|
|
14782
|
+
"jsonc/no-parenthesized": string;
|
|
14783
|
+
"jsonc/no-plus-sign": string;
|
|
14784
|
+
"jsonc/no-regexp-literals": string;
|
|
14785
|
+
"jsonc/no-sparse-arrays": string;
|
|
14786
|
+
"jsonc/no-template-literals": string;
|
|
14787
|
+
"jsonc/no-undefined-value": string;
|
|
14788
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14789
|
+
"jsonc/no-useless-escape": string;
|
|
14790
|
+
"jsonc/quote-props": string;
|
|
14791
|
+
"jsonc/quotes": string;
|
|
14792
|
+
"jsonc/space-unary-ops": string;
|
|
14793
|
+
"jsonc/valid-json-number": string;
|
|
14794
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14795
|
+
};
|
|
14796
|
+
})[];
|
|
14797
|
+
"flat/recommended-with-json5": ({
|
|
14798
|
+
plugins: {
|
|
14799
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
14800
|
+
};
|
|
14801
|
+
files?: undefined;
|
|
14802
|
+
languageOptions?: undefined;
|
|
14803
|
+
rules?: undefined;
|
|
14804
|
+
} | {
|
|
14805
|
+
files: string[];
|
|
14806
|
+
languageOptions: {
|
|
14807
|
+
parser: typeof jsonc_eslint_parser;
|
|
14808
|
+
};
|
|
14809
|
+
rules: {
|
|
14810
|
+
strict: string;
|
|
14811
|
+
"no-unused-expressions": string;
|
|
14812
|
+
"no-unused-vars": string;
|
|
14813
|
+
};
|
|
14814
|
+
plugins?: undefined;
|
|
14815
|
+
} | {
|
|
14816
|
+
rules: {
|
|
14817
|
+
"jsonc/no-bigint-literals": string;
|
|
14818
|
+
"jsonc/no-binary-expression": string;
|
|
14819
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14820
|
+
"jsonc/no-dupe-keys": string;
|
|
14821
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14822
|
+
"jsonc/no-number-props": string;
|
|
14823
|
+
"jsonc/no-numeric-separators": string;
|
|
14824
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14825
|
+
"jsonc/no-octal": string;
|
|
14826
|
+
"jsonc/no-parenthesized": string;
|
|
14827
|
+
"jsonc/no-regexp-literals": string;
|
|
14828
|
+
"jsonc/no-sparse-arrays": string;
|
|
14829
|
+
"jsonc/no-template-literals": string;
|
|
14830
|
+
"jsonc/no-undefined-value": string;
|
|
14831
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14832
|
+
"jsonc/no-useless-escape": string;
|
|
14833
|
+
"jsonc/space-unary-ops": string;
|
|
14834
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14835
|
+
};
|
|
14836
|
+
})[];
|
|
14837
|
+
"flat/prettier": ({
|
|
14838
|
+
plugins: {
|
|
14839
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
14840
|
+
};
|
|
14841
|
+
files?: undefined;
|
|
14842
|
+
languageOptions?: undefined;
|
|
14843
|
+
rules?: undefined;
|
|
14844
|
+
} | {
|
|
14845
|
+
files: string[];
|
|
14846
|
+
languageOptions: {
|
|
14847
|
+
parser: typeof jsonc_eslint_parser;
|
|
14848
|
+
};
|
|
14849
|
+
rules: {
|
|
14850
|
+
strict: string;
|
|
14851
|
+
"no-unused-expressions": string;
|
|
14852
|
+
"no-unused-vars": string;
|
|
14853
|
+
};
|
|
14854
|
+
plugins?: undefined;
|
|
14855
|
+
} | {
|
|
14856
|
+
rules: {
|
|
14857
|
+
"jsonc/array-bracket-newline": string;
|
|
14858
|
+
"jsonc/array-bracket-spacing": string;
|
|
14859
|
+
"jsonc/array-element-newline": string;
|
|
14860
|
+
"jsonc/comma-dangle": string;
|
|
14861
|
+
"jsonc/comma-style": string;
|
|
14862
|
+
"jsonc/indent": string;
|
|
14863
|
+
"jsonc/key-spacing": string;
|
|
14864
|
+
"jsonc/no-floating-decimal": string;
|
|
14865
|
+
"jsonc/object-curly-newline": string;
|
|
14866
|
+
"jsonc/object-curly-spacing": string;
|
|
14867
|
+
"jsonc/object-property-newline": string;
|
|
14868
|
+
"jsonc/quote-props": string;
|
|
14869
|
+
"jsonc/quotes": string;
|
|
14870
|
+
"jsonc/space-unary-ops": string;
|
|
14871
|
+
};
|
|
14872
|
+
})[];
|
|
14873
|
+
"flat/all": ({
|
|
14874
|
+
plugins: {
|
|
14875
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
14876
|
+
};
|
|
14877
|
+
files?: undefined;
|
|
14878
|
+
languageOptions?: undefined;
|
|
14879
|
+
rules?: undefined;
|
|
14880
|
+
} | {
|
|
14881
|
+
files: string[];
|
|
14882
|
+
languageOptions: {
|
|
14883
|
+
parser: typeof jsonc_eslint_parser;
|
|
14884
|
+
};
|
|
14885
|
+
rules: {
|
|
14886
|
+
strict: string;
|
|
14887
|
+
"no-unused-expressions": string;
|
|
14888
|
+
"no-unused-vars": string;
|
|
14889
|
+
};
|
|
14890
|
+
plugins?: undefined;
|
|
14891
|
+
} | {
|
|
14892
|
+
rules: {
|
|
14893
|
+
[x: string]: string;
|
|
14894
|
+
};
|
|
14895
|
+
})[];
|
|
14896
|
+
};
|
|
14897
|
+
rules: {
|
|
14898
|
+
[key: string]: eslint_plugin_jsonc_types.RuleModule;
|
|
14899
|
+
};
|
|
14900
|
+
parseForESLint: typeof jsonc_eslint_parser.parseForESLint;
|
|
14901
|
+
parseJSON: typeof jsonc_eslint_parser.parseJSON;
|
|
14902
|
+
traverseNodes: typeof jsonc_eslint_parser.traverseNodes;
|
|
14903
|
+
getStaticJSONValue: typeof jsonc_eslint_parser.getStaticJSONValue;
|
|
14904
|
+
};
|
|
14905
|
+
}>;
|
|
14906
|
+
declare function importJsoncLibs(): Promise<{
|
|
14907
|
+
parserJsonc: typeof jsonc_eslint_parser;
|
|
14908
|
+
pluginJsonc: {
|
|
14909
|
+
meta: typeof eslint_plugin_jsonc_meta;
|
|
14910
|
+
configs: {
|
|
14911
|
+
base: {
|
|
14912
|
+
plugins: string[];
|
|
14913
|
+
overrides: {
|
|
14914
|
+
files: string[];
|
|
14915
|
+
parser: string;
|
|
14916
|
+
rules: {
|
|
14917
|
+
strict: string;
|
|
14918
|
+
"no-unused-expressions": string;
|
|
14919
|
+
"no-unused-vars": string;
|
|
14920
|
+
};
|
|
14921
|
+
}[];
|
|
14922
|
+
};
|
|
14923
|
+
"auto-config": {
|
|
14924
|
+
extends: string[];
|
|
14925
|
+
rules: {
|
|
14926
|
+
"jsonc/auto": string;
|
|
14927
|
+
};
|
|
14928
|
+
};
|
|
14929
|
+
"recommended-with-json": {
|
|
14930
|
+
extends: string[];
|
|
14931
|
+
rules: {
|
|
14932
|
+
"jsonc/comma-dangle": string;
|
|
14933
|
+
"jsonc/no-bigint-literals": string;
|
|
14934
|
+
"jsonc/no-binary-expression": string;
|
|
14935
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14936
|
+
"jsonc/no-comments": string;
|
|
14937
|
+
"jsonc/no-dupe-keys": string;
|
|
14938
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14939
|
+
"jsonc/no-floating-decimal": string;
|
|
14940
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
14941
|
+
"jsonc/no-infinity": string;
|
|
14942
|
+
"jsonc/no-multi-str": string;
|
|
14943
|
+
"jsonc/no-nan": string;
|
|
14944
|
+
"jsonc/no-number-props": string;
|
|
14945
|
+
"jsonc/no-numeric-separators": string;
|
|
14946
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14947
|
+
"jsonc/no-octal": string;
|
|
14948
|
+
"jsonc/no-parenthesized": string;
|
|
14949
|
+
"jsonc/no-plus-sign": string;
|
|
14950
|
+
"jsonc/no-regexp-literals": string;
|
|
14951
|
+
"jsonc/no-sparse-arrays": string;
|
|
14952
|
+
"jsonc/no-template-literals": string;
|
|
14953
|
+
"jsonc/no-undefined-value": string;
|
|
14954
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14955
|
+
"jsonc/no-useless-escape": string;
|
|
14956
|
+
"jsonc/quote-props": string;
|
|
14957
|
+
"jsonc/quotes": string;
|
|
14958
|
+
"jsonc/space-unary-ops": string;
|
|
14959
|
+
"jsonc/valid-json-number": string;
|
|
14960
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14961
|
+
};
|
|
14962
|
+
};
|
|
14963
|
+
"recommended-with-jsonc": {
|
|
14964
|
+
extends: string[];
|
|
14965
|
+
rules: {
|
|
14966
|
+
"jsonc/no-bigint-literals": string;
|
|
14967
|
+
"jsonc/no-binary-expression": string;
|
|
14968
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14969
|
+
"jsonc/no-dupe-keys": string;
|
|
14970
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14971
|
+
"jsonc/no-floating-decimal": string;
|
|
14972
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
14973
|
+
"jsonc/no-infinity": string;
|
|
14974
|
+
"jsonc/no-multi-str": string;
|
|
14975
|
+
"jsonc/no-nan": string;
|
|
14976
|
+
"jsonc/no-number-props": string;
|
|
14977
|
+
"jsonc/no-numeric-separators": string;
|
|
14978
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14979
|
+
"jsonc/no-octal": string;
|
|
14980
|
+
"jsonc/no-parenthesized": string;
|
|
14981
|
+
"jsonc/no-plus-sign": string;
|
|
14982
|
+
"jsonc/no-regexp-literals": string;
|
|
14983
|
+
"jsonc/no-sparse-arrays": string;
|
|
14984
|
+
"jsonc/no-template-literals": string;
|
|
14985
|
+
"jsonc/no-undefined-value": string;
|
|
14986
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14987
|
+
"jsonc/no-useless-escape": string;
|
|
14988
|
+
"jsonc/quote-props": string;
|
|
14989
|
+
"jsonc/quotes": string;
|
|
14990
|
+
"jsonc/space-unary-ops": string;
|
|
14991
|
+
"jsonc/valid-json-number": string;
|
|
14992
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14993
|
+
};
|
|
14994
|
+
};
|
|
14995
|
+
"recommended-with-json5": {
|
|
14996
|
+
extends: string[];
|
|
14997
|
+
rules: {
|
|
14998
|
+
"jsonc/no-bigint-literals": string;
|
|
14999
|
+
"jsonc/no-binary-expression": string;
|
|
15000
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
15001
|
+
"jsonc/no-dupe-keys": string;
|
|
15002
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
15003
|
+
"jsonc/no-number-props": string;
|
|
15004
|
+
"jsonc/no-numeric-separators": string;
|
|
15005
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
15006
|
+
"jsonc/no-octal": string;
|
|
15007
|
+
"jsonc/no-parenthesized": string;
|
|
15008
|
+
"jsonc/no-regexp-literals": string;
|
|
15009
|
+
"jsonc/no-sparse-arrays": string;
|
|
15010
|
+
"jsonc/no-template-literals": string;
|
|
15011
|
+
"jsonc/no-undefined-value": string;
|
|
15012
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
15013
|
+
"jsonc/no-useless-escape": string;
|
|
15014
|
+
"jsonc/space-unary-ops": string;
|
|
15015
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
15016
|
+
};
|
|
15017
|
+
};
|
|
15018
|
+
prettier: {
|
|
15019
|
+
extends: string[];
|
|
15020
|
+
rules: {
|
|
15021
|
+
"jsonc/array-bracket-newline": string;
|
|
15022
|
+
"jsonc/array-bracket-spacing": string;
|
|
15023
|
+
"jsonc/array-element-newline": string;
|
|
15024
|
+
"jsonc/comma-dangle": string;
|
|
15025
|
+
"jsonc/comma-style": string;
|
|
15026
|
+
"jsonc/indent": string;
|
|
15027
|
+
"jsonc/key-spacing": string;
|
|
15028
|
+
"jsonc/no-floating-decimal": string;
|
|
15029
|
+
"jsonc/object-curly-newline": string;
|
|
15030
|
+
"jsonc/object-curly-spacing": string;
|
|
15031
|
+
"jsonc/object-property-newline": string;
|
|
15032
|
+
"jsonc/quote-props": string;
|
|
15033
|
+
"jsonc/quotes": string;
|
|
15034
|
+
"jsonc/space-unary-ops": string;
|
|
15035
|
+
};
|
|
15036
|
+
};
|
|
15037
|
+
all: {
|
|
15038
|
+
extends: string[];
|
|
15039
|
+
rules: {
|
|
15040
|
+
[x: string]: string;
|
|
15041
|
+
};
|
|
15042
|
+
};
|
|
15043
|
+
"flat/base": ({
|
|
15044
|
+
plugins: {
|
|
15045
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
15046
|
+
};
|
|
15047
|
+
files?: undefined;
|
|
15048
|
+
languageOptions?: undefined;
|
|
15049
|
+
rules?: undefined;
|
|
15050
|
+
} | {
|
|
15051
|
+
files: string[];
|
|
15052
|
+
languageOptions: {
|
|
15053
|
+
parser: typeof jsonc_eslint_parser;
|
|
15054
|
+
};
|
|
15055
|
+
rules: {
|
|
15056
|
+
strict: string;
|
|
15057
|
+
"no-unused-expressions": string;
|
|
15058
|
+
"no-unused-vars": string;
|
|
15059
|
+
};
|
|
15060
|
+
plugins?: undefined;
|
|
15061
|
+
})[];
|
|
15062
|
+
"flat/recommended-with-json": ({
|
|
15063
|
+
plugins: {
|
|
15064
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
15065
|
+
};
|
|
15066
|
+
files?: undefined;
|
|
15067
|
+
languageOptions?: undefined;
|
|
15068
|
+
rules?: undefined;
|
|
15069
|
+
} | {
|
|
15070
|
+
files: string[];
|
|
15071
|
+
languageOptions: {
|
|
15072
|
+
parser: typeof jsonc_eslint_parser;
|
|
15073
|
+
};
|
|
15074
|
+
rules: {
|
|
15075
|
+
strict: string;
|
|
15076
|
+
"no-unused-expressions": string;
|
|
15077
|
+
"no-unused-vars": string;
|
|
15078
|
+
};
|
|
15079
|
+
plugins?: undefined;
|
|
15080
|
+
} | {
|
|
15081
|
+
rules: {
|
|
15082
|
+
"jsonc/comma-dangle": string;
|
|
15083
|
+
"jsonc/no-bigint-literals": string;
|
|
15084
|
+
"jsonc/no-binary-expression": string;
|
|
15085
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
15086
|
+
"jsonc/no-comments": string;
|
|
15087
|
+
"jsonc/no-dupe-keys": string;
|
|
15088
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
15089
|
+
"jsonc/no-floating-decimal": string;
|
|
15090
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
15091
|
+
"jsonc/no-infinity": string;
|
|
15092
|
+
"jsonc/no-multi-str": string;
|
|
15093
|
+
"jsonc/no-nan": string;
|
|
15094
|
+
"jsonc/no-number-props": string;
|
|
15095
|
+
"jsonc/no-numeric-separators": string;
|
|
15096
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
15097
|
+
"jsonc/no-octal": string;
|
|
15098
|
+
"jsonc/no-parenthesized": string;
|
|
15099
|
+
"jsonc/no-plus-sign": string;
|
|
15100
|
+
"jsonc/no-regexp-literals": string;
|
|
15101
|
+
"jsonc/no-sparse-arrays": string;
|
|
15102
|
+
"jsonc/no-template-literals": string;
|
|
15103
|
+
"jsonc/no-undefined-value": string;
|
|
15104
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
15105
|
+
"jsonc/no-useless-escape": string;
|
|
15106
|
+
"jsonc/quote-props": string;
|
|
15107
|
+
"jsonc/quotes": string;
|
|
15108
|
+
"jsonc/space-unary-ops": string;
|
|
15109
|
+
"jsonc/valid-json-number": string;
|
|
15110
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
15111
|
+
};
|
|
15112
|
+
})[];
|
|
15113
|
+
"flat/recommended-with-jsonc": ({
|
|
15114
|
+
plugins: {
|
|
15115
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
15116
|
+
};
|
|
15117
|
+
files?: undefined;
|
|
15118
|
+
languageOptions?: undefined;
|
|
15119
|
+
rules?: undefined;
|
|
15120
|
+
} | {
|
|
15121
|
+
files: string[];
|
|
15122
|
+
languageOptions: {
|
|
15123
|
+
parser: typeof jsonc_eslint_parser;
|
|
15124
|
+
};
|
|
15125
|
+
rules: {
|
|
15126
|
+
strict: string;
|
|
15127
|
+
"no-unused-expressions": string;
|
|
15128
|
+
"no-unused-vars": string;
|
|
15129
|
+
};
|
|
15130
|
+
plugins?: undefined;
|
|
15131
|
+
} | {
|
|
15132
|
+
rules: {
|
|
15133
|
+
"jsonc/no-bigint-literals": string;
|
|
15134
|
+
"jsonc/no-binary-expression": string;
|
|
15135
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
15136
|
+
"jsonc/no-dupe-keys": string;
|
|
15137
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
15138
|
+
"jsonc/no-floating-decimal": string;
|
|
15139
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
15140
|
+
"jsonc/no-infinity": string;
|
|
15141
|
+
"jsonc/no-multi-str": string;
|
|
15142
|
+
"jsonc/no-nan": string;
|
|
15143
|
+
"jsonc/no-number-props": string;
|
|
15144
|
+
"jsonc/no-numeric-separators": string;
|
|
15145
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
15146
|
+
"jsonc/no-octal": string;
|
|
15147
|
+
"jsonc/no-parenthesized": string;
|
|
15148
|
+
"jsonc/no-plus-sign": string;
|
|
15149
|
+
"jsonc/no-regexp-literals": string;
|
|
15150
|
+
"jsonc/no-sparse-arrays": string;
|
|
15151
|
+
"jsonc/no-template-literals": string;
|
|
15152
|
+
"jsonc/no-undefined-value": string;
|
|
15153
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
15154
|
+
"jsonc/no-useless-escape": string;
|
|
15155
|
+
"jsonc/quote-props": string;
|
|
15156
|
+
"jsonc/quotes": string;
|
|
15157
|
+
"jsonc/space-unary-ops": string;
|
|
15158
|
+
"jsonc/valid-json-number": string;
|
|
15159
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
15160
|
+
};
|
|
15161
|
+
})[];
|
|
15162
|
+
"flat/recommended-with-json5": ({
|
|
15163
|
+
plugins: {
|
|
15164
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
15165
|
+
};
|
|
15166
|
+
files?: undefined;
|
|
15167
|
+
languageOptions?: undefined;
|
|
15168
|
+
rules?: undefined;
|
|
15169
|
+
} | {
|
|
15170
|
+
files: string[];
|
|
15171
|
+
languageOptions: {
|
|
15172
|
+
parser: typeof jsonc_eslint_parser;
|
|
15173
|
+
};
|
|
15174
|
+
rules: {
|
|
15175
|
+
strict: string;
|
|
15176
|
+
"no-unused-expressions": string;
|
|
15177
|
+
"no-unused-vars": string;
|
|
15178
|
+
};
|
|
15179
|
+
plugins?: undefined;
|
|
15180
|
+
} | {
|
|
15181
|
+
rules: {
|
|
15182
|
+
"jsonc/no-bigint-literals": string;
|
|
15183
|
+
"jsonc/no-binary-expression": string;
|
|
15184
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
15185
|
+
"jsonc/no-dupe-keys": string;
|
|
15186
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
15187
|
+
"jsonc/no-number-props": string;
|
|
15188
|
+
"jsonc/no-numeric-separators": string;
|
|
15189
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
15190
|
+
"jsonc/no-octal": string;
|
|
15191
|
+
"jsonc/no-parenthesized": string;
|
|
15192
|
+
"jsonc/no-regexp-literals": string;
|
|
15193
|
+
"jsonc/no-sparse-arrays": string;
|
|
15194
|
+
"jsonc/no-template-literals": string;
|
|
15195
|
+
"jsonc/no-undefined-value": string;
|
|
15196
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
15197
|
+
"jsonc/no-useless-escape": string;
|
|
15198
|
+
"jsonc/space-unary-ops": string;
|
|
15199
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
15200
|
+
};
|
|
15201
|
+
})[];
|
|
15202
|
+
"flat/prettier": ({
|
|
15203
|
+
plugins: {
|
|
15204
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
15205
|
+
};
|
|
15206
|
+
files?: undefined;
|
|
15207
|
+
languageOptions?: undefined;
|
|
15208
|
+
rules?: undefined;
|
|
15209
|
+
} | {
|
|
15210
|
+
files: string[];
|
|
15211
|
+
languageOptions: {
|
|
15212
|
+
parser: typeof jsonc_eslint_parser;
|
|
15213
|
+
};
|
|
15214
|
+
rules: {
|
|
15215
|
+
strict: string;
|
|
15216
|
+
"no-unused-expressions": string;
|
|
15217
|
+
"no-unused-vars": string;
|
|
15218
|
+
};
|
|
15219
|
+
plugins?: undefined;
|
|
15220
|
+
} | {
|
|
15221
|
+
rules: {
|
|
15222
|
+
"jsonc/array-bracket-newline": string;
|
|
15223
|
+
"jsonc/array-bracket-spacing": string;
|
|
15224
|
+
"jsonc/array-element-newline": string;
|
|
15225
|
+
"jsonc/comma-dangle": string;
|
|
15226
|
+
"jsonc/comma-style": string;
|
|
15227
|
+
"jsonc/indent": string;
|
|
15228
|
+
"jsonc/key-spacing": string;
|
|
15229
|
+
"jsonc/no-floating-decimal": string;
|
|
15230
|
+
"jsonc/object-curly-newline": string;
|
|
15231
|
+
"jsonc/object-curly-spacing": string;
|
|
15232
|
+
"jsonc/object-property-newline": string;
|
|
15233
|
+
"jsonc/quote-props": string;
|
|
15234
|
+
"jsonc/quotes": string;
|
|
15235
|
+
"jsonc/space-unary-ops": string;
|
|
15236
|
+
};
|
|
15237
|
+
})[];
|
|
15238
|
+
"flat/all": ({
|
|
15239
|
+
plugins: {
|
|
15240
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
15241
|
+
};
|
|
15242
|
+
files?: undefined;
|
|
15243
|
+
languageOptions?: undefined;
|
|
15244
|
+
rules?: undefined;
|
|
15245
|
+
} | {
|
|
15246
|
+
files: string[];
|
|
15247
|
+
languageOptions: {
|
|
15248
|
+
parser: typeof jsonc_eslint_parser;
|
|
15249
|
+
};
|
|
15250
|
+
rules: {
|
|
15251
|
+
strict: string;
|
|
15252
|
+
"no-unused-expressions": string;
|
|
15253
|
+
"no-unused-vars": string;
|
|
15254
|
+
};
|
|
15255
|
+
plugins?: undefined;
|
|
15256
|
+
} | {
|
|
15257
|
+
rules: {
|
|
15258
|
+
[x: string]: string;
|
|
15259
|
+
};
|
|
15260
|
+
})[];
|
|
15261
|
+
};
|
|
15262
|
+
rules: {
|
|
15263
|
+
[key: string]: eslint_plugin_jsonc_types.RuleModule;
|
|
15264
|
+
};
|
|
15265
|
+
parseForESLint: typeof jsonc_eslint_parser.parseForESLint;
|
|
15266
|
+
parseJSON: typeof jsonc_eslint_parser.parseJSON;
|
|
15267
|
+
traverseNodes: typeof jsonc_eslint_parser.traverseNodes;
|
|
15268
|
+
getStaticJSONValue: typeof jsonc_eslint_parser.getStaticJSONValue;
|
|
15269
|
+
};
|
|
15270
|
+
}>;
|
|
15271
|
+
declare function importYmlLibs(): Promise<{
|
|
15272
|
+
parserYaml: typeof yaml_eslint_parser;
|
|
15273
|
+
pluginYaml: {
|
|
15274
|
+
meta: typeof eslint_plugin_yml_lib_meta_js;
|
|
15275
|
+
configs: {
|
|
15276
|
+
base: {
|
|
15277
|
+
plugins: string[];
|
|
15278
|
+
overrides: {
|
|
15279
|
+
files: string[];
|
|
15280
|
+
parser: string;
|
|
15281
|
+
rules: {
|
|
15282
|
+
"no-irregular-whitespace": string;
|
|
15283
|
+
"no-unused-vars": string;
|
|
15284
|
+
"spaced-comment": string;
|
|
15285
|
+
};
|
|
15286
|
+
}[];
|
|
15287
|
+
};
|
|
15288
|
+
recommended: {
|
|
15289
|
+
extends: string[];
|
|
15290
|
+
rules: {
|
|
15291
|
+
"yml/no-empty-document": string;
|
|
15292
|
+
"yml/no-empty-key": string;
|
|
15293
|
+
"yml/no-empty-mapping-value": string;
|
|
15294
|
+
"yml/no-empty-sequence-entry": string;
|
|
15295
|
+
"yml/no-irregular-whitespace": string;
|
|
15296
|
+
"yml/no-tab-indent": string;
|
|
15297
|
+
"yml/vue-custom-block/no-parsing-error": string;
|
|
15298
|
+
};
|
|
15299
|
+
};
|
|
15300
|
+
standard: {
|
|
15301
|
+
extends: string[];
|
|
15302
|
+
rules: {
|
|
15303
|
+
"yml/block-mapping-question-indicator-newline": string;
|
|
15304
|
+
"yml/block-mapping": string;
|
|
15305
|
+
"yml/block-sequence-hyphen-indicator-newline": string;
|
|
15306
|
+
"yml/block-sequence": string;
|
|
15307
|
+
"yml/flow-mapping-curly-newline": string;
|
|
15308
|
+
"yml/flow-mapping-curly-spacing": string;
|
|
15309
|
+
"yml/flow-sequence-bracket-newline": string;
|
|
15310
|
+
"yml/flow-sequence-bracket-spacing": string;
|
|
15311
|
+
"yml/indent": string;
|
|
15312
|
+
"yml/key-spacing": string;
|
|
15313
|
+
"yml/no-empty-document": string;
|
|
15314
|
+
"yml/no-empty-key": string;
|
|
15315
|
+
"yml/no-empty-mapping-value": string;
|
|
15316
|
+
"yml/no-empty-sequence-entry": string;
|
|
15317
|
+
"yml/no-irregular-whitespace": string;
|
|
15318
|
+
"yml/no-tab-indent": string;
|
|
15319
|
+
"yml/plain-scalar": string;
|
|
15320
|
+
"yml/quotes": string;
|
|
15321
|
+
"yml/spaced-comment": string;
|
|
15322
|
+
"yml/vue-custom-block/no-parsing-error": string;
|
|
15323
|
+
};
|
|
15324
|
+
};
|
|
15325
|
+
prettier: {
|
|
15326
|
+
extends: string[];
|
|
15327
|
+
rules: {
|
|
15328
|
+
"yml/block-mapping-colon-indicator-newline": string;
|
|
15329
|
+
"yml/block-mapping-question-indicator-newline": string;
|
|
15330
|
+
"yml/block-sequence-hyphen-indicator-newline": string;
|
|
15331
|
+
"yml/flow-mapping-curly-newline": string;
|
|
15332
|
+
"yml/flow-mapping-curly-spacing": string;
|
|
15333
|
+
"yml/flow-sequence-bracket-newline": string;
|
|
15334
|
+
"yml/flow-sequence-bracket-spacing": string;
|
|
15335
|
+
"yml/indent": string;
|
|
15336
|
+
"yml/key-spacing": string;
|
|
15337
|
+
"yml/no-multiple-empty-lines": string;
|
|
15338
|
+
"yml/no-trailing-zeros": string;
|
|
15339
|
+
"yml/quotes": string;
|
|
15340
|
+
};
|
|
15341
|
+
};
|
|
15342
|
+
"flat/base": ({
|
|
15343
|
+
plugins: {
|
|
15344
|
+
readonly yml: eslint.ESLint.Plugin;
|
|
15345
|
+
};
|
|
15346
|
+
files?: undefined;
|
|
15347
|
+
languageOptions?: undefined;
|
|
15348
|
+
rules?: undefined;
|
|
15349
|
+
} | {
|
|
15350
|
+
files: string[];
|
|
15351
|
+
languageOptions: {
|
|
15352
|
+
parser: typeof yaml_eslint_parser;
|
|
15353
|
+
};
|
|
15354
|
+
rules: {
|
|
15355
|
+
"no-irregular-whitespace": string;
|
|
15356
|
+
"no-unused-vars": string;
|
|
15357
|
+
"spaced-comment": string;
|
|
15358
|
+
};
|
|
15359
|
+
plugins?: undefined;
|
|
15360
|
+
})[];
|
|
15361
|
+
"flat/recommended": ({
|
|
15362
|
+
plugins: {
|
|
15363
|
+
readonly yml: eslint.ESLint.Plugin;
|
|
15364
|
+
};
|
|
15365
|
+
files?: undefined;
|
|
15366
|
+
languageOptions?: undefined;
|
|
15367
|
+
rules?: undefined;
|
|
15368
|
+
} | {
|
|
15369
|
+
files: string[];
|
|
15370
|
+
languageOptions: {
|
|
15371
|
+
parser: typeof yaml_eslint_parser;
|
|
15372
|
+
};
|
|
15373
|
+
rules: {
|
|
15374
|
+
"no-irregular-whitespace": string;
|
|
15375
|
+
"no-unused-vars": string;
|
|
15376
|
+
"spaced-comment": string;
|
|
15377
|
+
};
|
|
15378
|
+
plugins?: undefined;
|
|
15379
|
+
} | {
|
|
15380
|
+
rules: {
|
|
15381
|
+
"yml/no-empty-document": string;
|
|
15382
|
+
"yml/no-empty-key": string;
|
|
15383
|
+
"yml/no-empty-mapping-value": string;
|
|
15384
|
+
"yml/no-empty-sequence-entry": string;
|
|
15385
|
+
"yml/no-irregular-whitespace": string;
|
|
15386
|
+
"yml/no-tab-indent": string;
|
|
15387
|
+
"yml/vue-custom-block/no-parsing-error": string;
|
|
15388
|
+
};
|
|
15389
|
+
})[];
|
|
15390
|
+
"flat/standard": ({
|
|
15391
|
+
plugins: {
|
|
15392
|
+
readonly yml: eslint.ESLint.Plugin;
|
|
15393
|
+
};
|
|
15394
|
+
files?: undefined;
|
|
15395
|
+
languageOptions?: undefined;
|
|
15396
|
+
rules?: undefined;
|
|
15397
|
+
} | {
|
|
15398
|
+
files: string[];
|
|
15399
|
+
languageOptions: {
|
|
15400
|
+
parser: typeof yaml_eslint_parser;
|
|
15401
|
+
};
|
|
15402
|
+
rules: {
|
|
15403
|
+
"no-irregular-whitespace": string;
|
|
15404
|
+
"no-unused-vars": string;
|
|
15405
|
+
"spaced-comment": string;
|
|
15406
|
+
};
|
|
15407
|
+
plugins?: undefined;
|
|
15408
|
+
} | {
|
|
15409
|
+
rules: {
|
|
15410
|
+
"yml/block-mapping-question-indicator-newline": string;
|
|
15411
|
+
"yml/block-mapping": string;
|
|
15412
|
+
"yml/block-sequence-hyphen-indicator-newline": string;
|
|
15413
|
+
"yml/block-sequence": string;
|
|
15414
|
+
"yml/flow-mapping-curly-newline": string;
|
|
15415
|
+
"yml/flow-mapping-curly-spacing": string;
|
|
15416
|
+
"yml/flow-sequence-bracket-newline": string;
|
|
15417
|
+
"yml/flow-sequence-bracket-spacing": string;
|
|
15418
|
+
"yml/indent": string;
|
|
15419
|
+
"yml/key-spacing": string;
|
|
15420
|
+
"yml/no-empty-document": string;
|
|
15421
|
+
"yml/no-empty-key": string;
|
|
15422
|
+
"yml/no-empty-mapping-value": string;
|
|
15423
|
+
"yml/no-empty-sequence-entry": string;
|
|
15424
|
+
"yml/no-irregular-whitespace": string;
|
|
15425
|
+
"yml/no-tab-indent": string;
|
|
15426
|
+
"yml/plain-scalar": string;
|
|
15427
|
+
"yml/quotes": string;
|
|
15428
|
+
"yml/spaced-comment": string;
|
|
15429
|
+
"yml/vue-custom-block/no-parsing-error": string;
|
|
15430
|
+
};
|
|
15431
|
+
})[];
|
|
15432
|
+
"flat/prettier": ({
|
|
15433
|
+
plugins: {
|
|
15434
|
+
readonly yml: eslint.ESLint.Plugin;
|
|
15435
|
+
};
|
|
15436
|
+
files?: undefined;
|
|
15437
|
+
languageOptions?: undefined;
|
|
15438
|
+
rules?: undefined;
|
|
15439
|
+
} | {
|
|
15440
|
+
files: string[];
|
|
15441
|
+
languageOptions: {
|
|
15442
|
+
parser: typeof yaml_eslint_parser;
|
|
15443
|
+
};
|
|
15444
|
+
rules: {
|
|
15445
|
+
"no-irregular-whitespace": string;
|
|
15446
|
+
"no-unused-vars": string;
|
|
15447
|
+
"spaced-comment": string;
|
|
15448
|
+
};
|
|
15449
|
+
plugins?: undefined;
|
|
15450
|
+
} | {
|
|
15451
|
+
rules: {
|
|
15452
|
+
"yml/block-mapping-colon-indicator-newline": string;
|
|
15453
|
+
"yml/block-mapping-question-indicator-newline": string;
|
|
15454
|
+
"yml/block-sequence-hyphen-indicator-newline": string;
|
|
15455
|
+
"yml/flow-mapping-curly-newline": string;
|
|
15456
|
+
"yml/flow-mapping-curly-spacing": string;
|
|
15457
|
+
"yml/flow-sequence-bracket-newline": string;
|
|
15458
|
+
"yml/flow-sequence-bracket-spacing": string;
|
|
15459
|
+
"yml/indent": string;
|
|
15460
|
+
"yml/key-spacing": string;
|
|
15461
|
+
"yml/no-multiple-empty-lines": string;
|
|
15462
|
+
"yml/no-trailing-zeros": string;
|
|
15463
|
+
"yml/quotes": string;
|
|
15464
|
+
};
|
|
15465
|
+
})[];
|
|
15466
|
+
};
|
|
15467
|
+
rules: {
|
|
15468
|
+
[key: string]: eslint_plugin_yml_lib_types_js.RuleModule;
|
|
15469
|
+
};
|
|
15470
|
+
};
|
|
15471
|
+
}>;
|
|
15472
|
+
declare function importPluginMarkdown(): Promise<{
|
|
15473
|
+
pluginMarkdown: any;
|
|
15474
|
+
}>;
|
|
15475
|
+
declare function importPluginJsdoc(): Promise<{
|
|
15476
|
+
pluginJsdoc: eslint.ESLint.Plugin & {
|
|
15477
|
+
configs: Record<"recommended" | "recommended-error" | "recommended-typescript" | "recommended-typescript-error" | "recommended-typescript-flavor" | "recommended-typescript-flavor-error" | "flat/recommended" | "flat/recommended-error" | "flat/recommended-typescript" | "flat/recommended-typescript-error" | "flat/recommended-typescript-flavor" | "flat/recommended-typescript-flavor-error", eslint.Linter.FlatConfig>;
|
|
15478
|
+
};
|
|
15479
|
+
}>;
|
|
15480
|
+
declare function importPluginStylistic(): Promise<{
|
|
15481
|
+
pluginStylistic: typeof _stylistic_eslint_plugin;
|
|
15482
|
+
}>;
|
|
15483
|
+
declare function importPluginTailwind(): Promise<{
|
|
15484
|
+
pluginTailwind: any;
|
|
15485
|
+
}>;
|
|
15486
|
+
|
|
14175
15487
|
/**
|
|
14176
15488
|
* Combine array and non-array configs into a single array.
|
|
14177
15489
|
*/
|
|
@@ -14190,4 +15502,4 @@ declare function isInEditor(): boolean;
|
|
|
14190
15502
|
declare function jssestd(): Promise<FlatConfigItem[]>;
|
|
14191
15503
|
declare function jsseReact(): Promise<FlatConfigItem[]>;
|
|
14192
15504
|
|
|
14193
|
-
export { type Awaitable, type EslintConfigFn, type FlatConfigItem, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_YAML, type LanguageOptions, type OptionsCommon, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsPrefix, type OptionsReact, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type PromiseFlatConfigItem, type Rules, type StylisticConfig, combine, combineAsync, jsse as default, interopDefault, isCI, isInEditor, jsse, jsseReact, jssestd, renameRules };
|
|
15505
|
+
export { type Awaitable, type EslintConfigFn, type FlatConfigItem, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_YAML, type LanguageOptions, type OptionsCommon, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsPrefix, type OptionsReact, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type PromiseFlatConfigItem, type Rules, type StylisticConfig, type TailwindEslintSettings, type TailwindOptions, combine, combineAsync, jsse as default, importJsoncLibs, importParserJsonc, importPluginJsdoc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTailwind, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsse, jsseReact, jssestd, renameRules };
|