@jsse/eslint-config 0.3.3 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cli.js +1 -1
- package/dist/esm/configs/ts/parser.js +5 -1
- package/dist/esm/fixable.js +0 -1
- package/dist/esm/generated/version.d.ts +1 -1
- package/dist/esm/generated/version.js +1 -1
- package/dist/esm/lager.d.ts +2 -0
- package/dist/esm/lager.js +2 -0
- package/dist/index.d.ts +401 -340
- package/dist/index.js +10 -4
- package/package.json +27 -26
package/dist/index.d.ts
CHANGED
|
@@ -1726,6 +1726,8 @@ type ClassMethodsUseThis =
|
|
|
1726
1726
|
{
|
|
1727
1727
|
exceptMethods?: string[];
|
|
1728
1728
|
enforceForClassFields?: boolean;
|
|
1729
|
+
ignoreOverrideMethods?: boolean;
|
|
1730
|
+
ignoreClassesWithImplements?: "all" | "public-fields";
|
|
1729
1731
|
},
|
|
1730
1732
|
];
|
|
1731
1733
|
// ----- comma-dangle -----
|
|
@@ -2833,6 +2835,10 @@ type NoEmptyFunction =
|
|
|
2833
2835
|
| "constructors"
|
|
2834
2836
|
| "asyncFunctions"
|
|
2835
2837
|
| "asyncMethods"
|
|
2838
|
+
| "privateConstructors"
|
|
2839
|
+
| "protectedConstructors"
|
|
2840
|
+
| "decoratedFunctions"
|
|
2841
|
+
| "overrideMethods"
|
|
2836
2842
|
)[];
|
|
2837
2843
|
},
|
|
2838
2844
|
];
|
|
@@ -3274,14 +3280,10 @@ type NoRestrictedModules =
|
|
|
3274
3280
|
// ----- no-restricted-properties -----
|
|
3275
3281
|
type NoRestrictedProperties = (
|
|
3276
3282
|
| {
|
|
3277
|
-
|
|
3278
|
-
property?: string;
|
|
3279
|
-
message?: string;
|
|
3283
|
+
[k: string]: unknown | undefined;
|
|
3280
3284
|
}
|
|
3281
3285
|
| {
|
|
3282
|
-
|
|
3283
|
-
property: string;
|
|
3284
|
-
message?: string;
|
|
3286
|
+
[k: string]: unknown | undefined;
|
|
3285
3287
|
}
|
|
3286
3288
|
)[];
|
|
3287
3289
|
// ----- no-restricted-syntax -----
|
|
@@ -4351,233 +4353,233 @@ interface IgnoresRuleOptions {}
|
|
|
4351
4353
|
interface ImportsRuleOptions {
|
|
4352
4354
|
/**
|
|
4353
4355
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
4354
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4356
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/consistent-type-specifier-style.md
|
|
4355
4357
|
*/
|
|
4356
4358
|
"import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle$1>;
|
|
4357
4359
|
/**
|
|
4358
4360
|
* Ensure a default export is present, given a default import.
|
|
4359
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4361
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/default.md
|
|
4360
4362
|
*/
|
|
4361
4363
|
"import/default"?: Linter.RuleEntry<[]>;
|
|
4362
4364
|
/**
|
|
4363
4365
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
4364
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4366
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/dynamic-import-chunkname.md
|
|
4365
4367
|
*/
|
|
4366
4368
|
"import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname$1>;
|
|
4367
4369
|
/**
|
|
4368
4370
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
4369
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4371
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/export.md
|
|
4370
4372
|
*/
|
|
4371
4373
|
"import/export"?: Linter.RuleEntry<[]>;
|
|
4372
4374
|
/**
|
|
4373
4375
|
* Ensure all exports appear after other statements.
|
|
4374
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4376
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/exports-last.md
|
|
4375
4377
|
*/
|
|
4376
4378
|
"import/exports-last"?: Linter.RuleEntry<[]>;
|
|
4377
4379
|
/**
|
|
4378
4380
|
* Ensure consistent use of file extension within the import path.
|
|
4379
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4381
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/extensions.md
|
|
4380
4382
|
*/
|
|
4381
4383
|
"import/extensions"?: Linter.RuleEntry<ImportExtensions$1>;
|
|
4382
4384
|
/**
|
|
4383
4385
|
* Ensure all imports appear before other statements.
|
|
4384
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4386
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/first.md
|
|
4385
4387
|
*/
|
|
4386
4388
|
"import/first"?: Linter.RuleEntry<ImportFirst$1>;
|
|
4387
4389
|
/**
|
|
4388
4390
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
4389
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4391
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/group-exports.md
|
|
4390
4392
|
*/
|
|
4391
4393
|
"import/group-exports"?: Linter.RuleEntry<[]>;
|
|
4392
4394
|
/**
|
|
4393
4395
|
* Replaced by `import-x/first`.
|
|
4394
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4396
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/imports-first.md
|
|
4395
4397
|
* @deprecated
|
|
4396
4398
|
*/
|
|
4397
4399
|
"import/imports-first"?: Linter.RuleEntry<ImportImportsFirst$1>;
|
|
4398
4400
|
/**
|
|
4399
4401
|
* Enforce the maximum number of dependencies a module can have.
|
|
4400
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4402
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/max-dependencies.md
|
|
4401
4403
|
*/
|
|
4402
4404
|
"import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies$1>;
|
|
4403
4405
|
/**
|
|
4404
4406
|
* Ensure named imports correspond to a named export in the remote file.
|
|
4405
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4407
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/named.md
|
|
4406
4408
|
*/
|
|
4407
4409
|
"import/named"?: Linter.RuleEntry<ImportNamed$1>;
|
|
4408
4410
|
/**
|
|
4409
4411
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
4410
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4412
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/namespace.md
|
|
4411
4413
|
*/
|
|
4412
4414
|
"import/namespace"?: Linter.RuleEntry<ImportNamespace$1>;
|
|
4413
4415
|
/**
|
|
4414
4416
|
* Enforce a newline after import statements.
|
|
4415
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4417
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/newline-after-import.md
|
|
4416
4418
|
*/
|
|
4417
4419
|
"import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport$1>;
|
|
4418
4420
|
/**
|
|
4419
4421
|
* Forbid import of modules using absolute paths.
|
|
4420
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4422
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-absolute-path.md
|
|
4421
4423
|
*/
|
|
4422
4424
|
"import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath$1>;
|
|
4423
4425
|
/**
|
|
4424
4426
|
* Forbid AMD `require` and `define` calls.
|
|
4425
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4427
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-amd.md
|
|
4426
4428
|
*/
|
|
4427
4429
|
"import/no-amd"?: Linter.RuleEntry<[]>;
|
|
4428
4430
|
/**
|
|
4429
4431
|
* Forbid anonymous values as default exports.
|
|
4430
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4432
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-anonymous-default-export.md
|
|
4431
4433
|
*/
|
|
4432
4434
|
"import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport$1>;
|
|
4433
4435
|
/**
|
|
4434
4436
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
4435
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4437
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-commonjs.md
|
|
4436
4438
|
*/
|
|
4437
4439
|
"import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs$1>;
|
|
4438
4440
|
/**
|
|
4439
4441
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
4440
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4442
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-cycle.md
|
|
4441
4443
|
*/
|
|
4442
4444
|
"import/no-cycle"?: Linter.RuleEntry<ImportNoCycle$1>;
|
|
4443
4445
|
/**
|
|
4444
4446
|
* Forbid default exports.
|
|
4445
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4447
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-default-export.md
|
|
4446
4448
|
*/
|
|
4447
4449
|
"import/no-default-export"?: Linter.RuleEntry<[]>;
|
|
4448
4450
|
/**
|
|
4449
4451
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
4450
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4452
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-deprecated.md
|
|
4451
4453
|
*/
|
|
4452
4454
|
"import/no-deprecated"?: Linter.RuleEntry<[]>;
|
|
4453
4455
|
/**
|
|
4454
4456
|
* Forbid repeated import of the same module in multiple places.
|
|
4455
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4457
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-duplicates.md
|
|
4456
4458
|
*/
|
|
4457
4459
|
"import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates$1>;
|
|
4458
4460
|
/**
|
|
4459
4461
|
* Forbid `require()` calls with expressions.
|
|
4460
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4462
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-dynamic-require.md
|
|
4461
4463
|
*/
|
|
4462
4464
|
"import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire$1>;
|
|
4463
4465
|
/**
|
|
4464
4466
|
* Forbid empty named import blocks.
|
|
4465
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4467
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-empty-named-blocks.md
|
|
4466
4468
|
*/
|
|
4467
4469
|
"import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
|
|
4468
4470
|
/**
|
|
4469
4471
|
* Forbid the use of extraneous packages.
|
|
4470
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4472
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-extraneous-dependencies.md
|
|
4471
4473
|
*/
|
|
4472
4474
|
"import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies$1>;
|
|
4473
4475
|
/**
|
|
4474
4476
|
* Forbid import statements with CommonJS module.exports.
|
|
4475
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4477
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-import-module-exports.md
|
|
4476
4478
|
*/
|
|
4477
4479
|
"import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports$1>;
|
|
4478
4480
|
/**
|
|
4479
4481
|
* Forbid importing the submodules of other modules.
|
|
4480
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4482
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-internal-modules.md
|
|
4481
4483
|
*/
|
|
4482
4484
|
"import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules$1>;
|
|
4483
4485
|
/**
|
|
4484
4486
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
4485
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4487
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-mutable-exports.md
|
|
4486
4488
|
*/
|
|
4487
4489
|
"import/no-mutable-exports"?: Linter.RuleEntry<[]>;
|
|
4488
4490
|
/**
|
|
4489
4491
|
* Forbid use of exported name as identifier of default export.
|
|
4490
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4492
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-as-default.md
|
|
4491
4493
|
*/
|
|
4492
4494
|
"import/no-named-as-default"?: Linter.RuleEntry<[]>;
|
|
4493
4495
|
/**
|
|
4494
4496
|
* Forbid use of exported name as property of default export.
|
|
4495
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4497
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-as-default-member.md
|
|
4496
4498
|
*/
|
|
4497
4499
|
"import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
|
|
4498
4500
|
/**
|
|
4499
4501
|
* Forbid named default exports.
|
|
4500
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4502
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-default.md
|
|
4501
4503
|
*/
|
|
4502
4504
|
"import/no-named-default"?: Linter.RuleEntry<[]>;
|
|
4503
4505
|
/**
|
|
4504
4506
|
* Forbid named exports.
|
|
4505
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4507
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-export.md
|
|
4506
4508
|
*/
|
|
4507
4509
|
"import/no-named-export"?: Linter.RuleEntry<[]>;
|
|
4508
4510
|
/**
|
|
4509
4511
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
4510
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4512
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-namespace.md
|
|
4511
4513
|
*/
|
|
4512
4514
|
"import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace$1>;
|
|
4513
4515
|
/**
|
|
4514
4516
|
* Forbid Node.js builtin modules.
|
|
4515
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4517
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-nodejs-modules.md
|
|
4516
4518
|
*/
|
|
4517
4519
|
"import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules$1>;
|
|
4518
4520
|
/**
|
|
4519
4521
|
* Forbid importing packages through relative paths.
|
|
4520
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4522
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-relative-packages.md
|
|
4521
4523
|
*/
|
|
4522
4524
|
"import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages$1>;
|
|
4523
4525
|
/**
|
|
4524
4526
|
* Forbid importing modules from parent directories.
|
|
4525
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4527
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-relative-parent-imports.md
|
|
4526
4528
|
*/
|
|
4527
4529
|
"import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports$1>;
|
|
4528
4530
|
/**
|
|
4529
4531
|
* Forbid importing a default export by a different name.
|
|
4530
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4532
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-rename-default.md
|
|
4531
4533
|
*/
|
|
4532
4534
|
"import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault$1>;
|
|
4533
4535
|
/**
|
|
4534
4536
|
* Enforce which files can be imported in a given folder.
|
|
4535
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4537
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-restricted-paths.md
|
|
4536
4538
|
*/
|
|
4537
4539
|
"import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths$1>;
|
|
4538
4540
|
/**
|
|
4539
4541
|
* Forbid a module from importing itself.
|
|
4540
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4542
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-self-import.md
|
|
4541
4543
|
*/
|
|
4542
4544
|
"import/no-self-import"?: Linter.RuleEntry<[]>;
|
|
4543
4545
|
/**
|
|
4544
4546
|
* Forbid unassigned imports.
|
|
4545
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4547
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-unassigned-import.md
|
|
4546
4548
|
*/
|
|
4547
4549
|
"import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport$1>;
|
|
4548
4550
|
/**
|
|
4549
4551
|
* Ensure imports point to a file/module that can be resolved.
|
|
4550
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4552
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-unresolved.md
|
|
4551
4553
|
*/
|
|
4552
4554
|
"import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved$1>;
|
|
4553
4555
|
/**
|
|
4554
4556
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
4555
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4557
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-unused-modules.md
|
|
4556
4558
|
*/
|
|
4557
4559
|
"import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules$1>;
|
|
4558
4560
|
/**
|
|
4559
4561
|
* Forbid unnecessary path segments in import and require statements.
|
|
4560
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4562
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-useless-path-segments.md
|
|
4561
4563
|
*/
|
|
4562
4564
|
"import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments$1>;
|
|
4563
4565
|
/**
|
|
4564
4566
|
* Forbid webpack loader syntax in imports.
|
|
4565
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4567
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-webpack-loader-syntax.md
|
|
4566
4568
|
*/
|
|
4567
4569
|
"import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
|
|
4568
4570
|
/**
|
|
4569
4571
|
* Enforce a convention in module import order.
|
|
4570
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4572
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/order.md
|
|
4571
4573
|
*/
|
|
4572
4574
|
"import/order"?: Linter.RuleEntry<ImportOrder$1>;
|
|
4573
4575
|
/**
|
|
4574
4576
|
* Prefer a default export if module exports a single name or multiple names.
|
|
4575
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4577
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/prefer-default-export.md
|
|
4576
4578
|
*/
|
|
4577
4579
|
"import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport$1>;
|
|
4578
4580
|
/**
|
|
4579
4581
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
4580
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4582
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/unambiguous.md
|
|
4581
4583
|
*/
|
|
4582
4584
|
"import/unambiguous"?: Linter.RuleEntry<[]>;
|
|
4583
4585
|
}
|
|
@@ -6732,30 +6734,37 @@ type JsoncSpaceUnaryOps =
|
|
|
6732
6734
|
interface MarkdownRuleOptions {
|
|
6733
6735
|
/**
|
|
6734
6736
|
* Require languages for fenced code blocks
|
|
6737
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md
|
|
6735
6738
|
*/
|
|
6736
6739
|
"markdown/fenced-code-language"?: Linter.RuleEntry<MarkdownFencedCodeLanguage>;
|
|
6737
6740
|
/**
|
|
6738
6741
|
* Enforce heading levels increment by one
|
|
6742
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
6739
6743
|
*/
|
|
6740
6744
|
"markdown/heading-increment"?: Linter.RuleEntry<[]>;
|
|
6741
6745
|
/**
|
|
6742
6746
|
* Disallow duplicate headings in the same document
|
|
6747
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
|
|
6743
6748
|
*/
|
|
6744
6749
|
"markdown/no-duplicate-headings"?: Linter.RuleEntry<[]>;
|
|
6745
6750
|
/**
|
|
6746
6751
|
* Disallow empty links
|
|
6752
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-links.md
|
|
6747
6753
|
*/
|
|
6748
6754
|
"markdown/no-empty-links"?: Linter.RuleEntry<[]>;
|
|
6749
6755
|
/**
|
|
6750
6756
|
* Disallow HTML tags
|
|
6757
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-html.md
|
|
6751
6758
|
*/
|
|
6752
6759
|
"markdown/no-html"?: Linter.RuleEntry<MarkdownNoHtml>;
|
|
6753
6760
|
/**
|
|
6754
6761
|
* Disallow invalid label references
|
|
6762
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-invalid-label-refs.md
|
|
6755
6763
|
*/
|
|
6756
6764
|
"markdown/no-invalid-label-refs"?: Linter.RuleEntry<[]>;
|
|
6757
6765
|
/**
|
|
6758
6766
|
* Disallow missing label references
|
|
6767
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
6759
6768
|
*/
|
|
6760
6769
|
"markdown/no-missing-label-refs"?: Linter.RuleEntry<[]>;
|
|
6761
6770
|
}
|
|
@@ -11097,141 +11106,6 @@ type PerfectionistSortHeritageClauses =
|
|
|
11097
11106
|
)[];
|
|
11098
11107
|
},
|
|
11099
11108
|
];
|
|
11100
|
-
// ----- perfectionist/sort-imports -----
|
|
11101
|
-
type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports];
|
|
11102
|
-
type _PerfectionistSortImportsSortImports =
|
|
11103
|
-
_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
11104
|
-
fallbackSort?: {
|
|
11105
|
-
order?: "asc" | "desc";
|
|
11106
|
-
|
|
11107
|
-
type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
|
|
11108
|
-
[k: string]: unknown | undefined;
|
|
11109
|
-
};
|
|
11110
|
-
|
|
11111
|
-
specialCharacters?: "remove" | "trim" | "keep";
|
|
11112
|
-
|
|
11113
|
-
ignoreCase?: boolean;
|
|
11114
|
-
|
|
11115
|
-
alphabet?: string;
|
|
11116
|
-
|
|
11117
|
-
locales?: string | string[];
|
|
11118
|
-
|
|
11119
|
-
order?: "asc" | "desc";
|
|
11120
|
-
|
|
11121
|
-
type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
|
|
11122
|
-
|
|
11123
|
-
customGroups?: {
|
|
11124
|
-
value?: {
|
|
11125
|
-
[k: string]: unknown | undefined;
|
|
11126
|
-
};
|
|
11127
|
-
|
|
11128
|
-
type?: {
|
|
11129
|
-
[k: string]: unknown | undefined;
|
|
11130
|
-
};
|
|
11131
|
-
};
|
|
11132
|
-
|
|
11133
|
-
maxLineLength?: number;
|
|
11134
|
-
|
|
11135
|
-
sortSideEffects?: boolean;
|
|
11136
|
-
|
|
11137
|
-
environment?: "node" | "bun";
|
|
11138
|
-
|
|
11139
|
-
tsconfigRootDir?: string;
|
|
11140
|
-
|
|
11141
|
-
partitionByComment?:
|
|
11142
|
-
| boolean
|
|
11143
|
-
| (
|
|
11144
|
-
| (
|
|
11145
|
-
| {
|
|
11146
|
-
pattern?: string;
|
|
11147
|
-
flags?: string;
|
|
11148
|
-
}
|
|
11149
|
-
| string
|
|
11150
|
-
)[]
|
|
11151
|
-
| (
|
|
11152
|
-
| {
|
|
11153
|
-
pattern?: string;
|
|
11154
|
-
flags?: string;
|
|
11155
|
-
}
|
|
11156
|
-
| string
|
|
11157
|
-
)
|
|
11158
|
-
)
|
|
11159
|
-
| {
|
|
11160
|
-
block?:
|
|
11161
|
-
| boolean
|
|
11162
|
-
| (
|
|
11163
|
-
| (
|
|
11164
|
-
| {
|
|
11165
|
-
pattern?: string;
|
|
11166
|
-
flags?: string;
|
|
11167
|
-
}
|
|
11168
|
-
| string
|
|
11169
|
-
)[]
|
|
11170
|
-
| (
|
|
11171
|
-
| {
|
|
11172
|
-
pattern?: string;
|
|
11173
|
-
flags?: string;
|
|
11174
|
-
}
|
|
11175
|
-
| string
|
|
11176
|
-
)
|
|
11177
|
-
);
|
|
11178
|
-
line?:
|
|
11179
|
-
| boolean
|
|
11180
|
-
| (
|
|
11181
|
-
| (
|
|
11182
|
-
| {
|
|
11183
|
-
pattern?: string;
|
|
11184
|
-
flags?: string;
|
|
11185
|
-
}
|
|
11186
|
-
| string
|
|
11187
|
-
)[]
|
|
11188
|
-
| (
|
|
11189
|
-
| {
|
|
11190
|
-
pattern?: string;
|
|
11191
|
-
flags?: string;
|
|
11192
|
-
}
|
|
11193
|
-
| string
|
|
11194
|
-
)
|
|
11195
|
-
);
|
|
11196
|
-
};
|
|
11197
|
-
|
|
11198
|
-
partitionByNewLine?: boolean;
|
|
11199
|
-
|
|
11200
|
-
newlinesBetween?: "ignore" | "always" | "never";
|
|
11201
|
-
|
|
11202
|
-
internalPattern?:
|
|
11203
|
-
| (
|
|
11204
|
-
| {
|
|
11205
|
-
pattern?: string;
|
|
11206
|
-
flags?: string;
|
|
11207
|
-
}
|
|
11208
|
-
| string
|
|
11209
|
-
)[]
|
|
11210
|
-
| (
|
|
11211
|
-
| {
|
|
11212
|
-
pattern?: string;
|
|
11213
|
-
flags?: string;
|
|
11214
|
-
}
|
|
11215
|
-
| string
|
|
11216
|
-
);
|
|
11217
|
-
|
|
11218
|
-
groups?: (
|
|
11219
|
-
| string
|
|
11220
|
-
| string[]
|
|
11221
|
-
| {
|
|
11222
|
-
newlinesBetween?: "ignore" | "always" | "never";
|
|
11223
|
-
}
|
|
11224
|
-
)[];
|
|
11225
|
-
};
|
|
11226
|
-
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType =
|
|
11227
|
-
| {
|
|
11228
|
-
[k: string]: unknown | undefined;
|
|
11229
|
-
}
|
|
11230
|
-
| _PerfectionistSortImports_IsLineLength;
|
|
11231
|
-
interface _PerfectionistSortImports_IsLineLength {
|
|
11232
|
-
type: "line-length";
|
|
11233
|
-
[k: string]: unknown | undefined;
|
|
11234
|
-
}
|
|
11235
11109
|
// ----- perfectionist/sort-interfaces -----
|
|
11236
11110
|
type PerfectionistSortInterfaces = {
|
|
11237
11111
|
fallbackSort?: {
|
|
@@ -12276,10 +12150,34 @@ type PerfectionistSortModules =
|
|
|
12276
12150
|
},
|
|
12277
12151
|
];
|
|
12278
12152
|
// ----- perfectionist/sort-named-exports -----
|
|
12279
|
-
type PerfectionistSortNamedExports =
|
|
12280
|
-
|
|
12281
|
-
|
|
12282
|
-
|
|
12153
|
+
type PerfectionistSortNamedExports = {
|
|
12154
|
+
fallbackSort?: {
|
|
12155
|
+
order?: "asc" | "desc";
|
|
12156
|
+
|
|
12157
|
+
type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
|
|
12158
|
+
[k: string]: unknown | undefined;
|
|
12159
|
+
};
|
|
12160
|
+
|
|
12161
|
+
specialCharacters?: "remove" | "trim" | "keep";
|
|
12162
|
+
|
|
12163
|
+
ignoreCase?: boolean;
|
|
12164
|
+
|
|
12165
|
+
alphabet?: string;
|
|
12166
|
+
|
|
12167
|
+
locales?: string | string[];
|
|
12168
|
+
|
|
12169
|
+
order?: "asc" | "desc";
|
|
12170
|
+
|
|
12171
|
+
type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
|
|
12172
|
+
|
|
12173
|
+
groupKind?: "mixed" | "values-first" | "types-first";
|
|
12174
|
+
|
|
12175
|
+
ignoreAlias?: boolean;
|
|
12176
|
+
|
|
12177
|
+
customGroups?: (
|
|
12178
|
+
| {
|
|
12179
|
+
newlinesInside?: "always" | "never";
|
|
12180
|
+
|
|
12283
12181
|
fallbackSort?: {
|
|
12284
12182
|
order?: "asc" | "desc";
|
|
12285
12183
|
|
|
@@ -12292,13 +12190,54 @@ type PerfectionistSortNamedExports =
|
|
|
12292
12190
|
[k: string]: unknown | undefined;
|
|
12293
12191
|
};
|
|
12294
12192
|
|
|
12295
|
-
|
|
12193
|
+
groupName?: string;
|
|
12296
12194
|
|
|
12297
|
-
|
|
12195
|
+
order?: "asc" | "desc";
|
|
12298
12196
|
|
|
12299
|
-
|
|
12197
|
+
type?:
|
|
12198
|
+
| "alphabetical"
|
|
12199
|
+
| "natural"
|
|
12200
|
+
| "line-length"
|
|
12201
|
+
| "custom"
|
|
12202
|
+
| "unsorted";
|
|
12203
|
+
anyOf?: {
|
|
12204
|
+
modifiers?: ("value" | "type")[];
|
|
12300
12205
|
|
|
12301
|
-
|
|
12206
|
+
selector?: "export";
|
|
12207
|
+
|
|
12208
|
+
elementNamePattern?:
|
|
12209
|
+
| (
|
|
12210
|
+
| {
|
|
12211
|
+
pattern?: string;
|
|
12212
|
+
flags?: string;
|
|
12213
|
+
}
|
|
12214
|
+
| string
|
|
12215
|
+
)[]
|
|
12216
|
+
| (
|
|
12217
|
+
| {
|
|
12218
|
+
pattern?: string;
|
|
12219
|
+
flags?: string;
|
|
12220
|
+
}
|
|
12221
|
+
| string
|
|
12222
|
+
);
|
|
12223
|
+
}[];
|
|
12224
|
+
}
|
|
12225
|
+
| {
|
|
12226
|
+
newlinesInside?: "always" | "never";
|
|
12227
|
+
|
|
12228
|
+
fallbackSort?: {
|
|
12229
|
+
order?: "asc" | "desc";
|
|
12230
|
+
|
|
12231
|
+
type?:
|
|
12232
|
+
| "alphabetical"
|
|
12233
|
+
| "natural"
|
|
12234
|
+
| "line-length"
|
|
12235
|
+
| "custom"
|
|
12236
|
+
| "unsorted";
|
|
12237
|
+
[k: string]: unknown | undefined;
|
|
12238
|
+
};
|
|
12239
|
+
|
|
12240
|
+
groupName?: string;
|
|
12302
12241
|
|
|
12303
12242
|
order?: "asc" | "desc";
|
|
12304
12243
|
|
|
@@ -12309,11 +12248,48 @@ type PerfectionistSortNamedExports =
|
|
|
12309
12248
|
| "custom"
|
|
12310
12249
|
| "unsorted";
|
|
12311
12250
|
|
|
12312
|
-
|
|
12251
|
+
modifiers?: ("value" | "type")[];
|
|
12313
12252
|
|
|
12314
|
-
|
|
12253
|
+
selector?: "export";
|
|
12315
12254
|
|
|
12316
|
-
|
|
12255
|
+
elementNamePattern?:
|
|
12256
|
+
| (
|
|
12257
|
+
| {
|
|
12258
|
+
pattern?: string;
|
|
12259
|
+
flags?: string;
|
|
12260
|
+
}
|
|
12261
|
+
| string
|
|
12262
|
+
)[]
|
|
12263
|
+
| (
|
|
12264
|
+
| {
|
|
12265
|
+
pattern?: string;
|
|
12266
|
+
flags?: string;
|
|
12267
|
+
}
|
|
12268
|
+
| string
|
|
12269
|
+
);
|
|
12270
|
+
}
|
|
12271
|
+
)[];
|
|
12272
|
+
|
|
12273
|
+
partitionByComment?:
|
|
12274
|
+
| boolean
|
|
12275
|
+
| (
|
|
12276
|
+
| (
|
|
12277
|
+
| {
|
|
12278
|
+
pattern?: string;
|
|
12279
|
+
flags?: string;
|
|
12280
|
+
}
|
|
12281
|
+
| string
|
|
12282
|
+
)[]
|
|
12283
|
+
| (
|
|
12284
|
+
| {
|
|
12285
|
+
pattern?: string;
|
|
12286
|
+
flags?: string;
|
|
12287
|
+
}
|
|
12288
|
+
| string
|
|
12289
|
+
)
|
|
12290
|
+
)
|
|
12291
|
+
| {
|
|
12292
|
+
block?:
|
|
12317
12293
|
| boolean
|
|
12318
12294
|
| (
|
|
12319
12295
|
| (
|
|
@@ -12330,54 +12306,68 @@ type PerfectionistSortNamedExports =
|
|
|
12330
12306
|
}
|
|
12331
12307
|
| string
|
|
12332
12308
|
)
|
|
12333
|
-
)
|
|
12334
|
-
|
|
12335
|
-
|
|
12336
|
-
|
|
12337
|
-
|
|
12338
|
-
|
|
12339
|
-
|
|
12340
|
-
|
|
12341
|
-
|
|
12342
|
-
|
|
12343
|
-
|
|
12344
|
-
|
|
12345
|
-
|
|
12346
|
-
|
|
12347
|
-
|
|
12348
|
-
|
|
12349
|
-
|
|
12350
|
-
|
|
12351
|
-
|
|
12352
|
-
|
|
12353
|
-
line?:
|
|
12354
|
-
| boolean
|
|
12355
|
-
| (
|
|
12356
|
-
| (
|
|
12357
|
-
| {
|
|
12358
|
-
pattern?: string;
|
|
12359
|
-
flags?: string;
|
|
12360
|
-
}
|
|
12361
|
-
| string
|
|
12362
|
-
)[]
|
|
12363
|
-
| (
|
|
12364
|
-
| {
|
|
12365
|
-
pattern?: string;
|
|
12366
|
-
flags?: string;
|
|
12367
|
-
}
|
|
12368
|
-
| string
|
|
12369
|
-
)
|
|
12370
|
-
);
|
|
12371
|
-
};
|
|
12309
|
+
);
|
|
12310
|
+
line?:
|
|
12311
|
+
| boolean
|
|
12312
|
+
| (
|
|
12313
|
+
| (
|
|
12314
|
+
| {
|
|
12315
|
+
pattern?: string;
|
|
12316
|
+
flags?: string;
|
|
12317
|
+
}
|
|
12318
|
+
| string
|
|
12319
|
+
)[]
|
|
12320
|
+
| (
|
|
12321
|
+
| {
|
|
12322
|
+
pattern?: string;
|
|
12323
|
+
flags?: string;
|
|
12324
|
+
}
|
|
12325
|
+
| string
|
|
12326
|
+
)
|
|
12327
|
+
);
|
|
12328
|
+
};
|
|
12372
12329
|
|
|
12373
|
-
|
|
12374
|
-
|
|
12375
|
-
|
|
12330
|
+
partitionByNewLine?: boolean;
|
|
12331
|
+
|
|
12332
|
+
newlinesBetween?: "ignore" | "always" | "never";
|
|
12333
|
+
|
|
12334
|
+
groups?: (
|
|
12335
|
+
| string
|
|
12336
|
+
| string[]
|
|
12337
|
+
| {
|
|
12338
|
+
newlinesBetween?: "ignore" | "always" | "never";
|
|
12339
|
+
}
|
|
12340
|
+
)[];
|
|
12341
|
+
}[];
|
|
12376
12342
|
// ----- perfectionist/sort-named-imports -----
|
|
12377
|
-
type PerfectionistSortNamedImports =
|
|
12378
|
-
|
|
12379
|
-
|
|
12380
|
-
|
|
12343
|
+
type PerfectionistSortNamedImports = {
|
|
12344
|
+
fallbackSort?: {
|
|
12345
|
+
order?: "asc" | "desc";
|
|
12346
|
+
|
|
12347
|
+
type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
|
|
12348
|
+
[k: string]: unknown | undefined;
|
|
12349
|
+
};
|
|
12350
|
+
|
|
12351
|
+
specialCharacters?: "remove" | "trim" | "keep";
|
|
12352
|
+
|
|
12353
|
+
ignoreCase?: boolean;
|
|
12354
|
+
|
|
12355
|
+
alphabet?: string;
|
|
12356
|
+
|
|
12357
|
+
locales?: string | string[];
|
|
12358
|
+
|
|
12359
|
+
order?: "asc" | "desc";
|
|
12360
|
+
|
|
12361
|
+
type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
|
|
12362
|
+
|
|
12363
|
+
groupKind?: "mixed" | "values-first" | "types-first";
|
|
12364
|
+
|
|
12365
|
+
ignoreAlias?: boolean;
|
|
12366
|
+
|
|
12367
|
+
customGroups?: (
|
|
12368
|
+
| {
|
|
12369
|
+
newlinesInside?: "always" | "never";
|
|
12370
|
+
|
|
12381
12371
|
fallbackSort?: {
|
|
12382
12372
|
order?: "asc" | "desc";
|
|
12383
12373
|
|
|
@@ -12390,13 +12380,54 @@ type PerfectionistSortNamedImports =
|
|
|
12390
12380
|
[k: string]: unknown | undefined;
|
|
12391
12381
|
};
|
|
12392
12382
|
|
|
12393
|
-
|
|
12383
|
+
groupName?: string;
|
|
12394
12384
|
|
|
12395
|
-
|
|
12385
|
+
order?: "asc" | "desc";
|
|
12396
12386
|
|
|
12397
|
-
|
|
12387
|
+
type?:
|
|
12388
|
+
| "alphabetical"
|
|
12389
|
+
| "natural"
|
|
12390
|
+
| "line-length"
|
|
12391
|
+
| "custom"
|
|
12392
|
+
| "unsorted";
|
|
12393
|
+
anyOf?: {
|
|
12394
|
+
modifiers?: ("value" | "type")[];
|
|
12398
12395
|
|
|
12399
|
-
|
|
12396
|
+
selector?: "import";
|
|
12397
|
+
|
|
12398
|
+
elementNamePattern?:
|
|
12399
|
+
| (
|
|
12400
|
+
| {
|
|
12401
|
+
pattern?: string;
|
|
12402
|
+
flags?: string;
|
|
12403
|
+
}
|
|
12404
|
+
| string
|
|
12405
|
+
)[]
|
|
12406
|
+
| (
|
|
12407
|
+
| {
|
|
12408
|
+
pattern?: string;
|
|
12409
|
+
flags?: string;
|
|
12410
|
+
}
|
|
12411
|
+
| string
|
|
12412
|
+
);
|
|
12413
|
+
}[];
|
|
12414
|
+
}
|
|
12415
|
+
| {
|
|
12416
|
+
newlinesInside?: "always" | "never";
|
|
12417
|
+
|
|
12418
|
+
fallbackSort?: {
|
|
12419
|
+
order?: "asc" | "desc";
|
|
12420
|
+
|
|
12421
|
+
type?:
|
|
12422
|
+
| "alphabetical"
|
|
12423
|
+
| "natural"
|
|
12424
|
+
| "line-length"
|
|
12425
|
+
| "custom"
|
|
12426
|
+
| "unsorted";
|
|
12427
|
+
[k: string]: unknown | undefined;
|
|
12428
|
+
};
|
|
12429
|
+
|
|
12430
|
+
groupName?: string;
|
|
12400
12431
|
|
|
12401
12432
|
order?: "asc" | "desc";
|
|
12402
12433
|
|
|
@@ -12407,11 +12438,48 @@ type PerfectionistSortNamedImports =
|
|
|
12407
12438
|
| "custom"
|
|
12408
12439
|
| "unsorted";
|
|
12409
12440
|
|
|
12410
|
-
|
|
12441
|
+
modifiers?: ("value" | "type")[];
|
|
12411
12442
|
|
|
12412
|
-
|
|
12443
|
+
selector?: "import";
|
|
12413
12444
|
|
|
12414
|
-
|
|
12445
|
+
elementNamePattern?:
|
|
12446
|
+
| (
|
|
12447
|
+
| {
|
|
12448
|
+
pattern?: string;
|
|
12449
|
+
flags?: string;
|
|
12450
|
+
}
|
|
12451
|
+
| string
|
|
12452
|
+
)[]
|
|
12453
|
+
| (
|
|
12454
|
+
| {
|
|
12455
|
+
pattern?: string;
|
|
12456
|
+
flags?: string;
|
|
12457
|
+
}
|
|
12458
|
+
| string
|
|
12459
|
+
);
|
|
12460
|
+
}
|
|
12461
|
+
)[];
|
|
12462
|
+
|
|
12463
|
+
partitionByComment?:
|
|
12464
|
+
| boolean
|
|
12465
|
+
| (
|
|
12466
|
+
| (
|
|
12467
|
+
| {
|
|
12468
|
+
pattern?: string;
|
|
12469
|
+
flags?: string;
|
|
12470
|
+
}
|
|
12471
|
+
| string
|
|
12472
|
+
)[]
|
|
12473
|
+
| (
|
|
12474
|
+
| {
|
|
12475
|
+
pattern?: string;
|
|
12476
|
+
flags?: string;
|
|
12477
|
+
}
|
|
12478
|
+
| string
|
|
12479
|
+
)
|
|
12480
|
+
)
|
|
12481
|
+
| {
|
|
12482
|
+
block?:
|
|
12415
12483
|
| boolean
|
|
12416
12484
|
| (
|
|
12417
12485
|
| (
|
|
@@ -12428,49 +12496,39 @@ type PerfectionistSortNamedImports =
|
|
|
12428
12496
|
}
|
|
12429
12497
|
| string
|
|
12430
12498
|
)
|
|
12431
|
-
)
|
|
12432
|
-
|
|
12433
|
-
|
|
12434
|
-
|
|
12435
|
-
|
|
12436
|
-
|
|
12437
|
-
|
|
12438
|
-
|
|
12439
|
-
|
|
12440
|
-
|
|
12441
|
-
|
|
12442
|
-
|
|
12443
|
-
|
|
12444
|
-
|
|
12445
|
-
|
|
12446
|
-
|
|
12447
|
-
|
|
12448
|
-
|
|
12449
|
-
|
|
12450
|
-
|
|
12451
|
-
line?:
|
|
12452
|
-
| boolean
|
|
12453
|
-
| (
|
|
12454
|
-
| (
|
|
12455
|
-
| {
|
|
12456
|
-
pattern?: string;
|
|
12457
|
-
flags?: string;
|
|
12458
|
-
}
|
|
12459
|
-
| string
|
|
12460
|
-
)[]
|
|
12461
|
-
| (
|
|
12462
|
-
| {
|
|
12463
|
-
pattern?: string;
|
|
12464
|
-
flags?: string;
|
|
12465
|
-
}
|
|
12466
|
-
| string
|
|
12467
|
-
)
|
|
12468
|
-
);
|
|
12469
|
-
};
|
|
12499
|
+
);
|
|
12500
|
+
line?:
|
|
12501
|
+
| boolean
|
|
12502
|
+
| (
|
|
12503
|
+
| (
|
|
12504
|
+
| {
|
|
12505
|
+
pattern?: string;
|
|
12506
|
+
flags?: string;
|
|
12507
|
+
}
|
|
12508
|
+
| string
|
|
12509
|
+
)[]
|
|
12510
|
+
| (
|
|
12511
|
+
| {
|
|
12512
|
+
pattern?: string;
|
|
12513
|
+
flags?: string;
|
|
12514
|
+
}
|
|
12515
|
+
| string
|
|
12516
|
+
)
|
|
12517
|
+
);
|
|
12518
|
+
};
|
|
12470
12519
|
|
|
12471
|
-
|
|
12472
|
-
|
|
12473
|
-
|
|
12520
|
+
partitionByNewLine?: boolean;
|
|
12521
|
+
|
|
12522
|
+
newlinesBetween?: "ignore" | "always" | "never";
|
|
12523
|
+
|
|
12524
|
+
groups?: (
|
|
12525
|
+
| string
|
|
12526
|
+
| string[]
|
|
12527
|
+
| {
|
|
12528
|
+
newlinesBetween?: "ignore" | "always" | "never";
|
|
12529
|
+
}
|
|
12530
|
+
)[];
|
|
12531
|
+
}[];
|
|
12474
12532
|
// ----- perfectionist/sort-object-types -----
|
|
12475
12533
|
type PerfectionistSortObjectTypes = {
|
|
12476
12534
|
fallbackSort?: {
|
|
@@ -18728,233 +18786,233 @@ interface TypescriptRuleOptions {
|
|
|
18728
18786
|
>;
|
|
18729
18787
|
/**
|
|
18730
18788
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
18731
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18789
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/consistent-type-specifier-style.md
|
|
18732
18790
|
*/
|
|
18733
18791
|
"import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
|
|
18734
18792
|
/**
|
|
18735
18793
|
* Ensure a default export is present, given a default import.
|
|
18736
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18794
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/default.md
|
|
18737
18795
|
*/
|
|
18738
18796
|
"import/default"?: Linter.RuleEntry<[]>;
|
|
18739
18797
|
/**
|
|
18740
18798
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
18741
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18799
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/dynamic-import-chunkname.md
|
|
18742
18800
|
*/
|
|
18743
18801
|
"import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
|
|
18744
18802
|
/**
|
|
18745
18803
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
18746
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18804
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/export.md
|
|
18747
18805
|
*/
|
|
18748
18806
|
"import/export"?: Linter.RuleEntry<[]>;
|
|
18749
18807
|
/**
|
|
18750
18808
|
* Ensure all exports appear after other statements.
|
|
18751
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18809
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/exports-last.md
|
|
18752
18810
|
*/
|
|
18753
18811
|
"import/exports-last"?: Linter.RuleEntry<[]>;
|
|
18754
18812
|
/**
|
|
18755
18813
|
* Ensure consistent use of file extension within the import path.
|
|
18756
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18814
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/extensions.md
|
|
18757
18815
|
*/
|
|
18758
18816
|
"import/extensions"?: Linter.RuleEntry<ImportExtensions>;
|
|
18759
18817
|
/**
|
|
18760
18818
|
* Ensure all imports appear before other statements.
|
|
18761
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18819
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/first.md
|
|
18762
18820
|
*/
|
|
18763
18821
|
"import/first"?: Linter.RuleEntry<ImportFirst>;
|
|
18764
18822
|
/**
|
|
18765
18823
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
18766
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18824
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/group-exports.md
|
|
18767
18825
|
*/
|
|
18768
18826
|
"import/group-exports"?: Linter.RuleEntry<[]>;
|
|
18769
18827
|
/**
|
|
18770
18828
|
* Replaced by `import-x/first`.
|
|
18771
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18829
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/imports-first.md
|
|
18772
18830
|
* @deprecated
|
|
18773
18831
|
*/
|
|
18774
18832
|
"import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
|
|
18775
18833
|
/**
|
|
18776
18834
|
* Enforce the maximum number of dependencies a module can have.
|
|
18777
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18835
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/max-dependencies.md
|
|
18778
18836
|
*/
|
|
18779
18837
|
"import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
|
|
18780
18838
|
/**
|
|
18781
18839
|
* Ensure named imports correspond to a named export in the remote file.
|
|
18782
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18840
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/named.md
|
|
18783
18841
|
*/
|
|
18784
18842
|
"import/named"?: Linter.RuleEntry<ImportNamed>;
|
|
18785
18843
|
/**
|
|
18786
18844
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
18787
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18845
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/namespace.md
|
|
18788
18846
|
*/
|
|
18789
18847
|
"import/namespace"?: Linter.RuleEntry<ImportNamespace>;
|
|
18790
18848
|
/**
|
|
18791
18849
|
* Enforce a newline after import statements.
|
|
18792
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18850
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/newline-after-import.md
|
|
18793
18851
|
*/
|
|
18794
18852
|
"import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
|
|
18795
18853
|
/**
|
|
18796
18854
|
* Forbid import of modules using absolute paths.
|
|
18797
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18855
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-absolute-path.md
|
|
18798
18856
|
*/
|
|
18799
18857
|
"import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
|
|
18800
18858
|
/**
|
|
18801
18859
|
* Forbid AMD `require` and `define` calls.
|
|
18802
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18860
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-amd.md
|
|
18803
18861
|
*/
|
|
18804
18862
|
"import/no-amd"?: Linter.RuleEntry<[]>;
|
|
18805
18863
|
/**
|
|
18806
18864
|
* Forbid anonymous values as default exports.
|
|
18807
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18865
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-anonymous-default-export.md
|
|
18808
18866
|
*/
|
|
18809
18867
|
"import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
|
|
18810
18868
|
/**
|
|
18811
18869
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
18812
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18870
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-commonjs.md
|
|
18813
18871
|
*/
|
|
18814
18872
|
"import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
|
|
18815
18873
|
/**
|
|
18816
18874
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
18817
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18875
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-cycle.md
|
|
18818
18876
|
*/
|
|
18819
18877
|
"import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
|
|
18820
18878
|
/**
|
|
18821
18879
|
* Forbid default exports.
|
|
18822
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18880
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-default-export.md
|
|
18823
18881
|
*/
|
|
18824
18882
|
"import/no-default-export"?: Linter.RuleEntry<[]>;
|
|
18825
18883
|
/**
|
|
18826
18884
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
18827
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18885
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-deprecated.md
|
|
18828
18886
|
*/
|
|
18829
18887
|
"import/no-deprecated"?: Linter.RuleEntry<[]>;
|
|
18830
18888
|
/**
|
|
18831
18889
|
* Forbid repeated import of the same module in multiple places.
|
|
18832
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18890
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-duplicates.md
|
|
18833
18891
|
*/
|
|
18834
18892
|
"import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
|
|
18835
18893
|
/**
|
|
18836
18894
|
* Forbid `require()` calls with expressions.
|
|
18837
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18895
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-dynamic-require.md
|
|
18838
18896
|
*/
|
|
18839
18897
|
"import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
|
|
18840
18898
|
/**
|
|
18841
18899
|
* Forbid empty named import blocks.
|
|
18842
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18900
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-empty-named-blocks.md
|
|
18843
18901
|
*/
|
|
18844
18902
|
"import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
|
|
18845
18903
|
/**
|
|
18846
18904
|
* Forbid the use of extraneous packages.
|
|
18847
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18905
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-extraneous-dependencies.md
|
|
18848
18906
|
*/
|
|
18849
18907
|
"import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
|
|
18850
18908
|
/**
|
|
18851
18909
|
* Forbid import statements with CommonJS module.exports.
|
|
18852
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18910
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-import-module-exports.md
|
|
18853
18911
|
*/
|
|
18854
18912
|
"import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
|
|
18855
18913
|
/**
|
|
18856
18914
|
* Forbid importing the submodules of other modules.
|
|
18857
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18915
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-internal-modules.md
|
|
18858
18916
|
*/
|
|
18859
18917
|
"import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
|
|
18860
18918
|
/**
|
|
18861
18919
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
18862
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18920
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-mutable-exports.md
|
|
18863
18921
|
*/
|
|
18864
18922
|
"import/no-mutable-exports"?: Linter.RuleEntry<[]>;
|
|
18865
18923
|
/**
|
|
18866
18924
|
* Forbid use of exported name as identifier of default export.
|
|
18867
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18925
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-as-default.md
|
|
18868
18926
|
*/
|
|
18869
18927
|
"import/no-named-as-default"?: Linter.RuleEntry<[]>;
|
|
18870
18928
|
/**
|
|
18871
18929
|
* Forbid use of exported name as property of default export.
|
|
18872
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18930
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-as-default-member.md
|
|
18873
18931
|
*/
|
|
18874
18932
|
"import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
|
|
18875
18933
|
/**
|
|
18876
18934
|
* Forbid named default exports.
|
|
18877
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18935
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-default.md
|
|
18878
18936
|
*/
|
|
18879
18937
|
"import/no-named-default"?: Linter.RuleEntry<[]>;
|
|
18880
18938
|
/**
|
|
18881
18939
|
* Forbid named exports.
|
|
18882
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18940
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-export.md
|
|
18883
18941
|
*/
|
|
18884
18942
|
"import/no-named-export"?: Linter.RuleEntry<[]>;
|
|
18885
18943
|
/**
|
|
18886
18944
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
18887
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18945
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-namespace.md
|
|
18888
18946
|
*/
|
|
18889
18947
|
"import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
|
|
18890
18948
|
/**
|
|
18891
18949
|
* Forbid Node.js builtin modules.
|
|
18892
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18950
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-nodejs-modules.md
|
|
18893
18951
|
*/
|
|
18894
18952
|
"import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
|
|
18895
18953
|
/**
|
|
18896
18954
|
* Forbid importing packages through relative paths.
|
|
18897
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18955
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-relative-packages.md
|
|
18898
18956
|
*/
|
|
18899
18957
|
"import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
|
|
18900
18958
|
/**
|
|
18901
18959
|
* Forbid importing modules from parent directories.
|
|
18902
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18960
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-relative-parent-imports.md
|
|
18903
18961
|
*/
|
|
18904
18962
|
"import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
|
|
18905
18963
|
/**
|
|
18906
18964
|
* Forbid importing a default export by a different name.
|
|
18907
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18965
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-rename-default.md
|
|
18908
18966
|
*/
|
|
18909
18967
|
"import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault>;
|
|
18910
18968
|
/**
|
|
18911
18969
|
* Enforce which files can be imported in a given folder.
|
|
18912
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18970
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-restricted-paths.md
|
|
18913
18971
|
*/
|
|
18914
18972
|
"import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
|
|
18915
18973
|
/**
|
|
18916
18974
|
* Forbid a module from importing itself.
|
|
18917
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18975
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-self-import.md
|
|
18918
18976
|
*/
|
|
18919
18977
|
"import/no-self-import"?: Linter.RuleEntry<[]>;
|
|
18920
18978
|
/**
|
|
18921
18979
|
* Forbid unassigned imports.
|
|
18922
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18980
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-unassigned-import.md
|
|
18923
18981
|
*/
|
|
18924
18982
|
"import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
|
|
18925
18983
|
/**
|
|
18926
18984
|
* Ensure imports point to a file/module that can be resolved.
|
|
18927
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18985
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-unresolved.md
|
|
18928
18986
|
*/
|
|
18929
18987
|
"import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
|
|
18930
18988
|
/**
|
|
18931
18989
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
18932
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18990
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-unused-modules.md
|
|
18933
18991
|
*/
|
|
18934
18992
|
"import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
|
|
18935
18993
|
/**
|
|
18936
18994
|
* Forbid unnecessary path segments in import and require statements.
|
|
18937
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
18995
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-useless-path-segments.md
|
|
18938
18996
|
*/
|
|
18939
18997
|
"import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
|
|
18940
18998
|
/**
|
|
18941
18999
|
* Forbid webpack loader syntax in imports.
|
|
18942
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
19000
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-webpack-loader-syntax.md
|
|
18943
19001
|
*/
|
|
18944
19002
|
"import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
|
|
18945
19003
|
/**
|
|
18946
19004
|
* Enforce a convention in module import order.
|
|
18947
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
19005
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/order.md
|
|
18948
19006
|
*/
|
|
18949
19007
|
"import/order"?: Linter.RuleEntry<ImportOrder>;
|
|
18950
19008
|
/**
|
|
18951
19009
|
* Prefer a default export if module exports a single name or multiple names.
|
|
18952
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
19010
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/prefer-default-export.md
|
|
18953
19011
|
*/
|
|
18954
19012
|
"import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
|
|
18955
19013
|
/**
|
|
18956
19014
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
18957
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
19015
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/unambiguous.md
|
|
18958
19016
|
*/
|
|
18959
19017
|
"import/unambiguous"?: Linter.RuleEntry<[]>;
|
|
18960
19018
|
}
|
|
@@ -22176,6 +22234,8 @@ type TypescriptEslintNoUnnecessaryTypeAssertion =
|
|
|
22176
22234
|
| []
|
|
22177
22235
|
| [
|
|
22178
22236
|
{
|
|
22237
|
+
checkLiteralConstAssertions?: boolean;
|
|
22238
|
+
|
|
22179
22239
|
typesToIgnore?: string[];
|
|
22180
22240
|
},
|
|
22181
22241
|
];
|
|
@@ -24297,6 +24357,7 @@ type YamlIndent =
|
|
|
24297
24357
|
{
|
|
24298
24358
|
indentBlockSequences?: boolean;
|
|
24299
24359
|
indicatorValueIndent?: number;
|
|
24360
|
+
alignMultilineFlowScalars?: boolean;
|
|
24300
24361
|
},
|
|
24301
24362
|
];
|
|
24302
24363
|
// ----- yaml/key-name-casing -----
|
|
@@ -24828,7 +24889,7 @@ declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConf
|
|
|
24828
24889
|
declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
|
|
24829
24890
|
type DefineConfig = typeof defineConfig;
|
|
24830
24891
|
|
|
24831
|
-
declare const VERSION = "0.3.
|
|
24892
|
+
declare const VERSION = "0.3.5";
|
|
24832
24893
|
|
|
24833
24894
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
24834
24895
|
declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";
|