@jsse/eslint-config 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cli.js +1 -1
- package/dist/esm/generated/version.d.ts +1 -1
- package/dist/esm/generated/version.js +1 -1
- package/dist/index.d.ts +110 -99
- package/dist/index.js +1 -1
- package/package.json +9 -10
package/CHANGELOG.md
CHANGED
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "0.3.
|
|
1
|
+
export declare const VERSION = "0.3.4";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "0.3.
|
|
1
|
+
export const VERSION = "0.3.4";
|
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.10.
|
|
4356
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4361
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4366
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4371
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4376
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4381
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4386
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4391
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4396
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4402
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4407
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4412
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4417
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4422
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4427
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4432
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4437
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4442
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4447
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4452
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4457
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4462
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4467
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4472
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4477
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4482
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4487
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4492
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4497
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4502
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4507
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4512
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4517
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4522
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4527
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4532
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4537
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4542
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4547
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4552
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4557
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4562
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4567
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4572
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4577
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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.10.
|
|
4582
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/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
|
}
|
|
@@ -18728,233 +18737,233 @@ interface TypescriptRuleOptions {
|
|
|
18728
18737
|
>;
|
|
18729
18738
|
/**
|
|
18730
18739
|
* 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.10.
|
|
18740
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/consistent-type-specifier-style.md
|
|
18732
18741
|
*/
|
|
18733
18742
|
"import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
|
|
18734
18743
|
/**
|
|
18735
18744
|
* Ensure a default export is present, given a default import.
|
|
18736
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18745
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/default.md
|
|
18737
18746
|
*/
|
|
18738
18747
|
"import/default"?: Linter.RuleEntry<[]>;
|
|
18739
18748
|
/**
|
|
18740
18749
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
18741
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18750
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/dynamic-import-chunkname.md
|
|
18742
18751
|
*/
|
|
18743
18752
|
"import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
|
|
18744
18753
|
/**
|
|
18745
18754
|
* 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.10.
|
|
18755
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/export.md
|
|
18747
18756
|
*/
|
|
18748
18757
|
"import/export"?: Linter.RuleEntry<[]>;
|
|
18749
18758
|
/**
|
|
18750
18759
|
* Ensure all exports appear after other statements.
|
|
18751
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18760
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/exports-last.md
|
|
18752
18761
|
*/
|
|
18753
18762
|
"import/exports-last"?: Linter.RuleEntry<[]>;
|
|
18754
18763
|
/**
|
|
18755
18764
|
* Ensure consistent use of file extension within the import path.
|
|
18756
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18765
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/extensions.md
|
|
18757
18766
|
*/
|
|
18758
18767
|
"import/extensions"?: Linter.RuleEntry<ImportExtensions>;
|
|
18759
18768
|
/**
|
|
18760
18769
|
* Ensure all imports appear before other statements.
|
|
18761
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18770
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/first.md
|
|
18762
18771
|
*/
|
|
18763
18772
|
"import/first"?: Linter.RuleEntry<ImportFirst>;
|
|
18764
18773
|
/**
|
|
18765
18774
|
* 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.10.
|
|
18775
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/group-exports.md
|
|
18767
18776
|
*/
|
|
18768
18777
|
"import/group-exports"?: Linter.RuleEntry<[]>;
|
|
18769
18778
|
/**
|
|
18770
18779
|
* Replaced by `import-x/first`.
|
|
18771
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18780
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/imports-first.md
|
|
18772
18781
|
* @deprecated
|
|
18773
18782
|
*/
|
|
18774
18783
|
"import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
|
|
18775
18784
|
/**
|
|
18776
18785
|
* Enforce the maximum number of dependencies a module can have.
|
|
18777
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18786
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/max-dependencies.md
|
|
18778
18787
|
*/
|
|
18779
18788
|
"import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
|
|
18780
18789
|
/**
|
|
18781
18790
|
* 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.10.
|
|
18791
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/named.md
|
|
18783
18792
|
*/
|
|
18784
18793
|
"import/named"?: Linter.RuleEntry<ImportNamed>;
|
|
18785
18794
|
/**
|
|
18786
18795
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
18787
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18796
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/namespace.md
|
|
18788
18797
|
*/
|
|
18789
18798
|
"import/namespace"?: Linter.RuleEntry<ImportNamespace>;
|
|
18790
18799
|
/**
|
|
18791
18800
|
* Enforce a newline after import statements.
|
|
18792
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18801
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/newline-after-import.md
|
|
18793
18802
|
*/
|
|
18794
18803
|
"import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
|
|
18795
18804
|
/**
|
|
18796
18805
|
* Forbid import of modules using absolute paths.
|
|
18797
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18806
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-absolute-path.md
|
|
18798
18807
|
*/
|
|
18799
18808
|
"import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
|
|
18800
18809
|
/**
|
|
18801
18810
|
* Forbid AMD `require` and `define` calls.
|
|
18802
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18811
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-amd.md
|
|
18803
18812
|
*/
|
|
18804
18813
|
"import/no-amd"?: Linter.RuleEntry<[]>;
|
|
18805
18814
|
/**
|
|
18806
18815
|
* Forbid anonymous values as default exports.
|
|
18807
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18816
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-anonymous-default-export.md
|
|
18808
18817
|
*/
|
|
18809
18818
|
"import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
|
|
18810
18819
|
/**
|
|
18811
18820
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
18812
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18821
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-commonjs.md
|
|
18813
18822
|
*/
|
|
18814
18823
|
"import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
|
|
18815
18824
|
/**
|
|
18816
18825
|
* 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.10.
|
|
18826
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-cycle.md
|
|
18818
18827
|
*/
|
|
18819
18828
|
"import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
|
|
18820
18829
|
/**
|
|
18821
18830
|
* Forbid default exports.
|
|
18822
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18831
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-default-export.md
|
|
18823
18832
|
*/
|
|
18824
18833
|
"import/no-default-export"?: Linter.RuleEntry<[]>;
|
|
18825
18834
|
/**
|
|
18826
18835
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
18827
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18836
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-deprecated.md
|
|
18828
18837
|
*/
|
|
18829
18838
|
"import/no-deprecated"?: Linter.RuleEntry<[]>;
|
|
18830
18839
|
/**
|
|
18831
18840
|
* Forbid repeated import of the same module in multiple places.
|
|
18832
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18841
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-duplicates.md
|
|
18833
18842
|
*/
|
|
18834
18843
|
"import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
|
|
18835
18844
|
/**
|
|
18836
18845
|
* Forbid `require()` calls with expressions.
|
|
18837
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18846
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-dynamic-require.md
|
|
18838
18847
|
*/
|
|
18839
18848
|
"import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
|
|
18840
18849
|
/**
|
|
18841
18850
|
* Forbid empty named import blocks.
|
|
18842
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18851
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-empty-named-blocks.md
|
|
18843
18852
|
*/
|
|
18844
18853
|
"import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
|
|
18845
18854
|
/**
|
|
18846
18855
|
* Forbid the use of extraneous packages.
|
|
18847
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18856
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-extraneous-dependencies.md
|
|
18848
18857
|
*/
|
|
18849
18858
|
"import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
|
|
18850
18859
|
/**
|
|
18851
18860
|
* Forbid import statements with CommonJS module.exports.
|
|
18852
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18861
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-import-module-exports.md
|
|
18853
18862
|
*/
|
|
18854
18863
|
"import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
|
|
18855
18864
|
/**
|
|
18856
18865
|
* Forbid importing the submodules of other modules.
|
|
18857
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18866
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-internal-modules.md
|
|
18858
18867
|
*/
|
|
18859
18868
|
"import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
|
|
18860
18869
|
/**
|
|
18861
18870
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
18862
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18871
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-mutable-exports.md
|
|
18863
18872
|
*/
|
|
18864
18873
|
"import/no-mutable-exports"?: Linter.RuleEntry<[]>;
|
|
18865
18874
|
/**
|
|
18866
18875
|
* Forbid use of exported name as identifier of default export.
|
|
18867
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18876
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-as-default.md
|
|
18868
18877
|
*/
|
|
18869
18878
|
"import/no-named-as-default"?: Linter.RuleEntry<[]>;
|
|
18870
18879
|
/**
|
|
18871
18880
|
* Forbid use of exported name as property of default export.
|
|
18872
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18881
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-as-default-member.md
|
|
18873
18882
|
*/
|
|
18874
18883
|
"import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
|
|
18875
18884
|
/**
|
|
18876
18885
|
* Forbid named default exports.
|
|
18877
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18886
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-default.md
|
|
18878
18887
|
*/
|
|
18879
18888
|
"import/no-named-default"?: Linter.RuleEntry<[]>;
|
|
18880
18889
|
/**
|
|
18881
18890
|
* Forbid named exports.
|
|
18882
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18891
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-export.md
|
|
18883
18892
|
*/
|
|
18884
18893
|
"import/no-named-export"?: Linter.RuleEntry<[]>;
|
|
18885
18894
|
/**
|
|
18886
18895
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
18887
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18896
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-namespace.md
|
|
18888
18897
|
*/
|
|
18889
18898
|
"import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
|
|
18890
18899
|
/**
|
|
18891
18900
|
* Forbid Node.js builtin modules.
|
|
18892
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18901
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-nodejs-modules.md
|
|
18893
18902
|
*/
|
|
18894
18903
|
"import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
|
|
18895
18904
|
/**
|
|
18896
18905
|
* Forbid importing packages through relative paths.
|
|
18897
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18906
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-relative-packages.md
|
|
18898
18907
|
*/
|
|
18899
18908
|
"import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
|
|
18900
18909
|
/**
|
|
18901
18910
|
* Forbid importing modules from parent directories.
|
|
18902
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18911
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-relative-parent-imports.md
|
|
18903
18912
|
*/
|
|
18904
18913
|
"import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
|
|
18905
18914
|
/**
|
|
18906
18915
|
* Forbid importing a default export by a different name.
|
|
18907
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18916
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-rename-default.md
|
|
18908
18917
|
*/
|
|
18909
18918
|
"import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault>;
|
|
18910
18919
|
/**
|
|
18911
18920
|
* Enforce which files can be imported in a given folder.
|
|
18912
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18921
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-restricted-paths.md
|
|
18913
18922
|
*/
|
|
18914
18923
|
"import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
|
|
18915
18924
|
/**
|
|
18916
18925
|
* Forbid a module from importing itself.
|
|
18917
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18926
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-self-import.md
|
|
18918
18927
|
*/
|
|
18919
18928
|
"import/no-self-import"?: Linter.RuleEntry<[]>;
|
|
18920
18929
|
/**
|
|
18921
18930
|
* Forbid unassigned imports.
|
|
18922
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18931
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unassigned-import.md
|
|
18923
18932
|
*/
|
|
18924
18933
|
"import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
|
|
18925
18934
|
/**
|
|
18926
18935
|
* Ensure imports point to a file/module that can be resolved.
|
|
18927
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18936
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unresolved.md
|
|
18928
18937
|
*/
|
|
18929
18938
|
"import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
|
|
18930
18939
|
/**
|
|
18931
18940
|
* 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.10.
|
|
18941
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unused-modules.md
|
|
18933
18942
|
*/
|
|
18934
18943
|
"import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
|
|
18935
18944
|
/**
|
|
18936
18945
|
* Forbid unnecessary path segments in import and require statements.
|
|
18937
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18946
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-useless-path-segments.md
|
|
18938
18947
|
*/
|
|
18939
18948
|
"import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
|
|
18940
18949
|
/**
|
|
18941
18950
|
* Forbid webpack loader syntax in imports.
|
|
18942
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18951
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-webpack-loader-syntax.md
|
|
18943
18952
|
*/
|
|
18944
18953
|
"import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
|
|
18945
18954
|
/**
|
|
18946
18955
|
* Enforce a convention in module import order.
|
|
18947
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18956
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/order.md
|
|
18948
18957
|
*/
|
|
18949
18958
|
"import/order"?: Linter.RuleEntry<ImportOrder>;
|
|
18950
18959
|
/**
|
|
18951
18960
|
* 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.10.
|
|
18961
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/prefer-default-export.md
|
|
18953
18962
|
*/
|
|
18954
18963
|
"import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
|
|
18955
18964
|
/**
|
|
18956
18965
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
18957
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
18966
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/unambiguous.md
|
|
18958
18967
|
*/
|
|
18959
18968
|
"import/unambiguous"?: Linter.RuleEntry<[]>;
|
|
18960
18969
|
}
|
|
@@ -22176,6 +22185,8 @@ type TypescriptEslintNoUnnecessaryTypeAssertion =
|
|
|
22176
22185
|
| []
|
|
22177
22186
|
| [
|
|
22178
22187
|
{
|
|
22188
|
+
checkLiteralConstAssertions?: boolean;
|
|
22189
|
+
|
|
22179
22190
|
typesToIgnore?: string[];
|
|
22180
22191
|
},
|
|
22181
22192
|
];
|
|
@@ -24828,7 +24839,7 @@ declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConf
|
|
|
24828
24839
|
declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
|
|
24829
24840
|
type DefineConfig = typeof defineConfig;
|
|
24830
24841
|
|
|
24831
|
-
declare const VERSION = "0.3.
|
|
24842
|
+
declare const VERSION = "0.3.4";
|
|
24832
24843
|
|
|
24833
24844
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
24834
24845
|
declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";
|
package/dist/index.js
CHANGED
|
@@ -13851,7 +13851,7 @@ async function defineConfig(options = {}, ...userConfigs) {
|
|
|
13851
13851
|
}
|
|
13852
13852
|
|
|
13853
13853
|
// src/generated/version.ts
|
|
13854
|
-
var VERSION = "0.3.
|
|
13854
|
+
var VERSION = "0.3.4";
|
|
13855
13855
|
|
|
13856
13856
|
// src/presets.ts
|
|
13857
13857
|
var jsseReact = (options, ...configs) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsse/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.4",
|
|
5
5
|
"description": "@jsse/eslint-config ~ WYSIWYG",
|
|
6
6
|
"author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -67,14 +67,13 @@
|
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
69
69
|
"@eslint/compat": "^1.2.7",
|
|
70
|
-
"@eslint/js": "~9.
|
|
70
|
+
"@eslint/js": "~9.25.1",
|
|
71
71
|
"@eslint/markdown": "^6.3.0",
|
|
72
72
|
"@stylistic/eslint-plugin": "4.2.0",
|
|
73
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
74
|
-
"@typescript-eslint/parser": "^8.
|
|
73
|
+
"@typescript-eslint/eslint-plugin": "^8.31.0",
|
|
74
|
+
"@typescript-eslint/parser": "^8.31.0",
|
|
75
75
|
"@vitest/eslint-plugin": "^1.1.36",
|
|
76
76
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
77
|
-
"eslint-define-config": "^2.1.0",
|
|
78
77
|
"eslint-merge-processors": "^2.0.0",
|
|
79
78
|
"eslint-plugin-antfu": "^3.1.1",
|
|
80
79
|
"eslint-plugin-command": "^3.1.0",
|
|
@@ -86,7 +85,7 @@
|
|
|
86
85
|
"eslint-plugin-perfectionist": "^4.10.1",
|
|
87
86
|
"eslint-plugin-react": "~7.37.4",
|
|
88
87
|
"eslint-plugin-react-hooks": "~5.2.0",
|
|
89
|
-
"eslint-plugin-react-refresh": "~0.4.
|
|
88
|
+
"eslint-plugin-react-refresh": "~0.4.20",
|
|
90
89
|
"eslint-plugin-toml": "^0.12.0",
|
|
91
90
|
"eslint-plugin-tsdoc": "^0.4.0",
|
|
92
91
|
"eslint-plugin-unicorn": "^58.0.0",
|
|
@@ -94,20 +93,20 @@
|
|
|
94
93
|
"eslint-plugin-yml": "^1.17.0",
|
|
95
94
|
"jsonc-eslint-parser": "^2.4.0",
|
|
96
95
|
"toml-eslint-parser": "^0.10.0",
|
|
97
|
-
"typescript-eslint": "^8.
|
|
96
|
+
"typescript-eslint": "^8.31.0",
|
|
98
97
|
"yaml-eslint-parser": "^1.3.0"
|
|
99
98
|
},
|
|
100
99
|
"devDependencies": {
|
|
101
100
|
"@biomejs/biome": "1.9.4",
|
|
102
101
|
"@changesets/cli": "^2.28.1",
|
|
103
102
|
"@jsse/prettier-config": "^0.1.0",
|
|
104
|
-
"@jsse/tsconfig": "^0.
|
|
103
|
+
"@jsse/tsconfig": "^0.3.0",
|
|
105
104
|
"@stylistic/eslint-plugin-jsx": "^4.2.0",
|
|
106
105
|
"@types/eslint": "^9.6.1",
|
|
107
106
|
"@types/fs-extra": "^11.0.4",
|
|
108
|
-
"@types/node": "^22.
|
|
107
|
+
"@types/node": "^22.14.1",
|
|
109
108
|
"cac": "^6.7.14",
|
|
110
|
-
"eslint": "^9.
|
|
109
|
+
"eslint": "^9.25.1",
|
|
111
110
|
"eslint-flat-config-utils": "^2.0.1",
|
|
112
111
|
"eslint-plugin-tailwindcss": "^3.18.0",
|
|
113
112
|
"eslint-typegen": "^2.0.0",
|