@vinicunca/eslint-config 2.4.2 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +41 -41
- package/dist/index.d.cts +53 -58
- package/dist/index.d.ts +53 -58
- package/dist/index.js +42 -42
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ParserOptions } from '@typescript-eslint/parser';
|
|
|
3
3
|
import { Linter } from 'eslint';
|
|
4
4
|
import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
|
|
5
5
|
import { Options } from 'eslint-processor-vue-blocks';
|
|
6
|
-
import {
|
|
6
|
+
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
7
7
|
export { default as pluginVinicunca } from '@vinicunca/eslint-plugin-vinicunca';
|
|
8
8
|
export { default as pluginComments } from 'eslint-plugin-eslint-comments';
|
|
9
9
|
import * as eslintPluginImportX from 'eslint-plugin-import-x';
|
|
@@ -340,44 +340,44 @@ interface RuleOptions {
|
|
|
340
340
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
341
341
|
/**
|
|
342
342
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
343
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
343
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/consistent-type-specifier-style.md
|
|
344
344
|
*/
|
|
345
345
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
346
346
|
/**
|
|
347
347
|
* Ensure a default export is present, given a default import.
|
|
348
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
348
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/default.md
|
|
349
349
|
*/
|
|
350
350
|
'import/default'?: Linter.RuleEntry<[]>
|
|
351
351
|
/**
|
|
352
352
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
353
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
353
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/dynamic-import-chunkname.md
|
|
354
354
|
*/
|
|
355
355
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
356
356
|
/**
|
|
357
357
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
358
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
358
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/export.md
|
|
359
359
|
*/
|
|
360
360
|
'import/export'?: Linter.RuleEntry<[]>
|
|
361
361
|
/**
|
|
362
362
|
* Ensure all exports appear after other statements.
|
|
363
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
363
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/exports-last.md
|
|
364
364
|
*/
|
|
365
365
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
366
366
|
/**
|
|
367
367
|
* Ensure consistent use of file extension within the import path.
|
|
368
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
368
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/extensions.md
|
|
369
369
|
*/
|
|
370
370
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
371
371
|
/**
|
|
372
372
|
* Ensure all imports appear before other statements.
|
|
373
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
373
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/first.md
|
|
374
374
|
*/
|
|
375
375
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
376
376
|
/**
|
|
377
377
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
378
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
378
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/group-exports.md
|
|
379
379
|
*/
|
|
380
|
-
'import/group-exports'?: Linter.RuleEntry<
|
|
380
|
+
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
381
381
|
/**
|
|
382
382
|
* Replaced by `import-x/first`.
|
|
383
383
|
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/7b25c1cb95ee18acc1531002fd343e1e6031f9ed/docs/rules/imports-first.md
|
|
@@ -386,182 +386,182 @@ interface RuleOptions {
|
|
|
386
386
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
387
387
|
/**
|
|
388
388
|
* Enforce the maximum number of dependencies a module can have.
|
|
389
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
389
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/max-dependencies.md
|
|
390
390
|
*/
|
|
391
391
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
392
392
|
/**
|
|
393
393
|
* Ensure named imports correspond to a named export in the remote file.
|
|
394
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
394
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/named.md
|
|
395
395
|
*/
|
|
396
396
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
397
397
|
/**
|
|
398
398
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
399
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
399
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/namespace.md
|
|
400
400
|
*/
|
|
401
401
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
402
402
|
/**
|
|
403
403
|
* Enforce a newline after import statements.
|
|
404
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
404
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/newline-after-import.md
|
|
405
405
|
*/
|
|
406
406
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
407
407
|
/**
|
|
408
408
|
* Forbid import of modules using absolute paths.
|
|
409
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
409
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-absolute-path.md
|
|
410
410
|
*/
|
|
411
411
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
412
412
|
/**
|
|
413
413
|
* Forbid AMD `require` and `define` calls.
|
|
414
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
414
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-amd.md
|
|
415
415
|
*/
|
|
416
416
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
417
417
|
/**
|
|
418
418
|
* Forbid anonymous values as default exports.
|
|
419
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
419
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-anonymous-default-export.md
|
|
420
420
|
*/
|
|
421
421
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
422
422
|
/**
|
|
423
423
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
424
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
424
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-commonjs.md
|
|
425
425
|
*/
|
|
426
426
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
427
427
|
/**
|
|
428
428
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
429
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
429
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-cycle.md
|
|
430
430
|
*/
|
|
431
431
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
432
432
|
/**
|
|
433
433
|
* Forbid default exports.
|
|
434
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
434
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-default-export.md
|
|
435
435
|
*/
|
|
436
436
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
437
437
|
/**
|
|
438
438
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
439
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
439
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-deprecated.md
|
|
440
440
|
*/
|
|
441
441
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
442
442
|
/**
|
|
443
443
|
* Forbid repeated import of the same module in multiple places.
|
|
444
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
444
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-duplicates.md
|
|
445
445
|
*/
|
|
446
446
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
447
447
|
/**
|
|
448
448
|
* Forbid `require()` calls with expressions.
|
|
449
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
449
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-dynamic-require.md
|
|
450
450
|
*/
|
|
451
451
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
452
452
|
/**
|
|
453
453
|
* Forbid empty named import blocks.
|
|
454
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
454
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-empty-named-blocks.md
|
|
455
455
|
*/
|
|
456
456
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
457
457
|
/**
|
|
458
458
|
* Forbid the use of extraneous packages.
|
|
459
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
459
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-extraneous-dependencies.md
|
|
460
460
|
*/
|
|
461
461
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
462
462
|
/**
|
|
463
463
|
* Forbid import statements with CommonJS module.exports.
|
|
464
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
464
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-import-module-exports.md
|
|
465
465
|
*/
|
|
466
466
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
467
467
|
/**
|
|
468
468
|
* Forbid importing the submodules of other modules.
|
|
469
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
469
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-internal-modules.md
|
|
470
470
|
*/
|
|
471
471
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
472
472
|
/**
|
|
473
473
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
474
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
474
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-mutable-exports.md
|
|
475
475
|
*/
|
|
476
476
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
477
477
|
/**
|
|
478
478
|
* Forbid use of exported name as identifier of default export.
|
|
479
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
479
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-as-default.md
|
|
480
480
|
*/
|
|
481
481
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
482
482
|
/**
|
|
483
483
|
* Forbid use of exported name as property of default export.
|
|
484
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
484
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-as-default-member.md
|
|
485
485
|
*/
|
|
486
486
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
487
487
|
/**
|
|
488
488
|
* Forbid named default exports.
|
|
489
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
489
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-default.md
|
|
490
490
|
*/
|
|
491
491
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
492
492
|
/**
|
|
493
493
|
* Forbid named exports.
|
|
494
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
494
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-export.md
|
|
495
495
|
*/
|
|
496
496
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
497
497
|
/**
|
|
498
498
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
499
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
499
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-namespace.md
|
|
500
500
|
*/
|
|
501
501
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
502
502
|
/**
|
|
503
503
|
* Forbid Node.js builtin modules.
|
|
504
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
504
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-nodejs-modules.md
|
|
505
505
|
*/
|
|
506
506
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
507
507
|
/**
|
|
508
508
|
* Forbid importing packages through relative paths.
|
|
509
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
509
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-relative-packages.md
|
|
510
510
|
*/
|
|
511
511
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
512
512
|
/**
|
|
513
513
|
* Forbid importing modules from parent directories.
|
|
514
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
514
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-relative-parent-imports.md
|
|
515
515
|
*/
|
|
516
516
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
517
517
|
/**
|
|
518
518
|
* Enforce which files can be imported in a given folder.
|
|
519
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
519
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-restricted-paths.md
|
|
520
520
|
*/
|
|
521
521
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
522
522
|
/**
|
|
523
523
|
* Forbid a module from importing itself.
|
|
524
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
524
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-self-import.md
|
|
525
525
|
*/
|
|
526
526
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
527
527
|
/**
|
|
528
528
|
* Forbid unassigned imports.
|
|
529
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
529
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-unassigned-import.md
|
|
530
530
|
*/
|
|
531
531
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
532
532
|
/**
|
|
533
533
|
* Ensure imports point to a file/module that can be resolved.
|
|
534
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
534
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-unresolved.md
|
|
535
535
|
*/
|
|
536
536
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
537
537
|
/**
|
|
538
538
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
539
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
539
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-unused-modules.md
|
|
540
540
|
*/
|
|
541
541
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
542
542
|
/**
|
|
543
543
|
* Forbid unnecessary path segments in import and require statements.
|
|
544
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
544
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-useless-path-segments.md
|
|
545
545
|
*/
|
|
546
546
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
547
547
|
/**
|
|
548
548
|
* Forbid webpack loader syntax in imports.
|
|
549
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
549
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-webpack-loader-syntax.md
|
|
550
550
|
*/
|
|
551
551
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
552
552
|
/**
|
|
553
553
|
* Enforce a convention in module import order.
|
|
554
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
554
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/order.md
|
|
555
555
|
*/
|
|
556
556
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
557
557
|
/**
|
|
558
558
|
* Prefer a default export if module exports a single name or multiple names.
|
|
559
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
559
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/prefer-default-export.md
|
|
560
560
|
*/
|
|
561
561
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
562
562
|
/**
|
|
563
563
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
564
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.
|
|
564
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/unambiguous.md
|
|
565
565
|
*/
|
|
566
566
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
567
567
|
/**
|
|
@@ -6997,10 +6997,6 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
6997
6997
|
}])
|
|
6998
6998
|
// ----- import/first -----
|
|
6999
6999
|
type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
7000
|
-
// ----- import/group-exports -----
|
|
7001
|
-
interface ImportGroupExports {
|
|
7002
|
-
[k: string]: unknown | undefined
|
|
7003
|
-
}
|
|
7004
7000
|
// ----- import/imports-first -----
|
|
7005
7001
|
type ImportImportsFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
7006
7002
|
// ----- import/max-dependencies -----
|
|
@@ -7127,13 +7123,13 @@ type ImportNoRelativeParentImports = []|[{
|
|
|
7127
7123
|
type ImportNoRestrictedPaths = []|[{
|
|
7128
7124
|
|
|
7129
7125
|
zones?: [{
|
|
7130
|
-
target?: (string | string[])
|
|
7131
|
-
from?: (string | string[])
|
|
7126
|
+
target?: (string | [string, ...(string)[]])
|
|
7127
|
+
from?: (string | [string, ...(string)[]])
|
|
7132
7128
|
except?: string[]
|
|
7133
7129
|
message?: string
|
|
7134
7130
|
}, ...({
|
|
7135
|
-
target?: (string | string[])
|
|
7136
|
-
from?: (string | string[])
|
|
7131
|
+
target?: (string | [string, ...(string)[]])
|
|
7132
|
+
from?: (string | [string, ...(string)[]])
|
|
7137
7133
|
except?: string[]
|
|
7138
7134
|
message?: string
|
|
7139
7135
|
})[]]
|
|
@@ -7159,9 +7155,8 @@ type ImportNoUnresolved = []|[{
|
|
|
7159
7155
|
// ----- import/no-unused-modules -----
|
|
7160
7156
|
type ImportNoUnusedModules = []|[({
|
|
7161
7157
|
unusedExports: true
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
}
|
|
7158
|
+
|
|
7159
|
+
src?: [unknown, ...(unknown)[]]
|
|
7165
7160
|
[k: string]: unknown | undefined
|
|
7166
7161
|
} | {
|
|
7167
7162
|
missingExports: true
|
|
@@ -14470,7 +14465,7 @@ declare const defaultPluginRenaming: {
|
|
|
14470
14465
|
vitest: string;
|
|
14471
14466
|
yml: string;
|
|
14472
14467
|
};
|
|
14473
|
-
declare function vinicuncaESLint(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Array<Awaitable<Array<TypedFlatConfigItem> | TypedFlatConfigItem>>):
|
|
14468
|
+
declare function vinicuncaESLint(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Array<Awaitable<Array<TypedFlatConfigItem> | TypedFlatConfigItem>>): FlatConfigComposer<TypedFlatConfigItem>;
|
|
14474
14469
|
|
|
14475
14470
|
declare function comments(): Promise<Array<TypedFlatConfigItem>>;
|
|
14476
14471
|
|