@zayne-labs/eslint-config 0.6.3 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +428 -230
- package/dist/index.js +173 -117
- package/dist/index.js.map +1 -1
- package/package.json +36 -39
- package/dist/prettier/index.d.ts +0 -37
- package/dist/prettier/index.js +0 -24
- package/dist/prettier/index.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -323,233 +323,233 @@ interface Rules {
|
|
|
323
323
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
324
324
|
/**
|
|
325
325
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
326
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
326
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/consistent-type-specifier-style.md
|
|
327
327
|
*/
|
|
328
328
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
329
329
|
/**
|
|
330
330
|
* Ensure a default export is present, given a default import.
|
|
331
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
331
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/default.md
|
|
332
332
|
*/
|
|
333
333
|
'import/default'?: Linter.RuleEntry<[]>
|
|
334
334
|
/**
|
|
335
335
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
336
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
336
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/dynamic-import-chunkname.md
|
|
337
337
|
*/
|
|
338
338
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
339
339
|
/**
|
|
340
340
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
341
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
341
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/export.md
|
|
342
342
|
*/
|
|
343
343
|
'import/export'?: Linter.RuleEntry<[]>
|
|
344
344
|
/**
|
|
345
345
|
* Ensure all exports appear after other statements.
|
|
346
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
346
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/exports-last.md
|
|
347
347
|
*/
|
|
348
348
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
349
349
|
/**
|
|
350
350
|
* Ensure consistent use of file extension within the import path.
|
|
351
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
351
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/extensions.md
|
|
352
352
|
*/
|
|
353
353
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
354
354
|
/**
|
|
355
355
|
* Ensure all imports appear before other statements.
|
|
356
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
356
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/first.md
|
|
357
357
|
*/
|
|
358
358
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
359
359
|
/**
|
|
360
360
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
361
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
361
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/group-exports.md
|
|
362
362
|
*/
|
|
363
363
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
364
364
|
/**
|
|
365
365
|
* Replaced by `import-x/first`.
|
|
366
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
366
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/imports-first.md
|
|
367
367
|
* @deprecated
|
|
368
368
|
*/
|
|
369
369
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
370
370
|
/**
|
|
371
371
|
* Enforce the maximum number of dependencies a module can have.
|
|
372
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
372
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/max-dependencies.md
|
|
373
373
|
*/
|
|
374
374
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
375
375
|
/**
|
|
376
376
|
* Ensure named imports correspond to a named export in the remote file.
|
|
377
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
377
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/named.md
|
|
378
378
|
*/
|
|
379
379
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
380
380
|
/**
|
|
381
381
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
382
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
382
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/namespace.md
|
|
383
383
|
*/
|
|
384
384
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
385
385
|
/**
|
|
386
386
|
* Enforce a newline after import statements.
|
|
387
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
387
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/newline-after-import.md
|
|
388
388
|
*/
|
|
389
389
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
390
390
|
/**
|
|
391
391
|
* Forbid import of modules using absolute paths.
|
|
392
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
392
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-absolute-path.md
|
|
393
393
|
*/
|
|
394
394
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
395
395
|
/**
|
|
396
396
|
* Forbid AMD `require` and `define` calls.
|
|
397
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
397
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-amd.md
|
|
398
398
|
*/
|
|
399
399
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
400
400
|
/**
|
|
401
401
|
* Forbid anonymous values as default exports.
|
|
402
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
402
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-anonymous-default-export.md
|
|
403
403
|
*/
|
|
404
404
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
405
405
|
/**
|
|
406
406
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
407
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
407
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-commonjs.md
|
|
408
408
|
*/
|
|
409
409
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
410
410
|
/**
|
|
411
411
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
412
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
412
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-cycle.md
|
|
413
413
|
*/
|
|
414
414
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
415
415
|
/**
|
|
416
416
|
* Forbid default exports.
|
|
417
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
417
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-default-export.md
|
|
418
418
|
*/
|
|
419
419
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
420
420
|
/**
|
|
421
421
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
422
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
422
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-deprecated.md
|
|
423
423
|
*/
|
|
424
424
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
425
425
|
/**
|
|
426
426
|
* Forbid repeated import of the same module in multiple places.
|
|
427
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
427
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-duplicates.md
|
|
428
428
|
*/
|
|
429
429
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
430
430
|
/**
|
|
431
431
|
* Forbid `require()` calls with expressions.
|
|
432
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
432
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-dynamic-require.md
|
|
433
433
|
*/
|
|
434
434
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
435
435
|
/**
|
|
436
436
|
* Forbid empty named import blocks.
|
|
437
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
437
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-empty-named-blocks.md
|
|
438
438
|
*/
|
|
439
439
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
440
440
|
/**
|
|
441
441
|
* Forbid the use of extraneous packages.
|
|
442
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
442
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-extraneous-dependencies.md
|
|
443
443
|
*/
|
|
444
444
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
445
445
|
/**
|
|
446
446
|
* Forbid import statements with CommonJS module.exports.
|
|
447
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
447
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-import-module-exports.md
|
|
448
448
|
*/
|
|
449
449
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
450
450
|
/**
|
|
451
451
|
* Forbid importing the submodules of other modules.
|
|
452
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
452
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-internal-modules.md
|
|
453
453
|
*/
|
|
454
454
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
455
455
|
/**
|
|
456
456
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
457
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
457
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-mutable-exports.md
|
|
458
458
|
*/
|
|
459
459
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
460
460
|
/**
|
|
461
461
|
* Forbid use of exported name as identifier of default export.
|
|
462
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
462
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-named-as-default.md
|
|
463
463
|
*/
|
|
464
464
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
465
465
|
/**
|
|
466
466
|
* Forbid use of exported name as property of default export.
|
|
467
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
467
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-named-as-default-member.md
|
|
468
468
|
*/
|
|
469
469
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
470
470
|
/**
|
|
471
471
|
* Forbid named default exports.
|
|
472
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
472
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-named-default.md
|
|
473
473
|
*/
|
|
474
474
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
475
475
|
/**
|
|
476
476
|
* Forbid named exports.
|
|
477
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
477
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-named-export.md
|
|
478
478
|
*/
|
|
479
479
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
480
480
|
/**
|
|
481
481
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
482
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
482
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-namespace.md
|
|
483
483
|
*/
|
|
484
484
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
485
485
|
/**
|
|
486
486
|
* Forbid Node.js builtin modules.
|
|
487
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
487
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-nodejs-modules.md
|
|
488
488
|
*/
|
|
489
489
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
490
490
|
/**
|
|
491
491
|
* Forbid importing packages through relative paths.
|
|
492
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
492
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-relative-packages.md
|
|
493
493
|
*/
|
|
494
494
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
495
495
|
/**
|
|
496
496
|
* Forbid importing modules from parent directories.
|
|
497
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
497
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-relative-parent-imports.md
|
|
498
498
|
*/
|
|
499
499
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
500
500
|
/**
|
|
501
501
|
* Forbid importing a default export by a different name.
|
|
502
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
502
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-rename-default.md
|
|
503
503
|
*/
|
|
504
504
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
505
505
|
/**
|
|
506
506
|
* Enforce which files can be imported in a given folder.
|
|
507
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
507
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-restricted-paths.md
|
|
508
508
|
*/
|
|
509
509
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
510
510
|
/**
|
|
511
511
|
* Forbid a module from importing itself.
|
|
512
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
512
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-self-import.md
|
|
513
513
|
*/
|
|
514
514
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
515
515
|
/**
|
|
516
516
|
* Forbid unassigned imports.
|
|
517
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
517
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-unassigned-import.md
|
|
518
518
|
*/
|
|
519
519
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
520
520
|
/**
|
|
521
521
|
* Ensure imports point to a file/module that can be resolved.
|
|
522
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
522
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-unresolved.md
|
|
523
523
|
*/
|
|
524
524
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
525
525
|
/**
|
|
526
526
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
527
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
527
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-unused-modules.md
|
|
528
528
|
*/
|
|
529
529
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
530
530
|
/**
|
|
531
531
|
* Forbid unnecessary path segments in import and require statements.
|
|
532
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
532
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-useless-path-segments.md
|
|
533
533
|
*/
|
|
534
534
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
535
535
|
/**
|
|
536
536
|
* Forbid webpack loader syntax in imports.
|
|
537
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
537
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-webpack-loader-syntax.md
|
|
538
538
|
*/
|
|
539
539
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
540
540
|
/**
|
|
541
541
|
* Enforce a convention in module import order.
|
|
542
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
542
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/order.md
|
|
543
543
|
*/
|
|
544
544
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
545
545
|
/**
|
|
546
546
|
* Prefer a default export if module exports a single name or multiple names.
|
|
547
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
547
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/prefer-default-export.md
|
|
548
548
|
*/
|
|
549
549
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
550
550
|
/**
|
|
551
551
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
552
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
552
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/unambiguous.md
|
|
553
553
|
*/
|
|
554
554
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
555
555
|
/**
|
|
@@ -2729,10 +2729,15 @@ interface Rules {
|
|
|
2729
2729
|
*/
|
|
2730
2730
|
'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
|
|
2731
2731
|
/**
|
|
2732
|
-
* enforce
|
|
2732
|
+
* enforce naming convention for components
|
|
2733
2733
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
|
|
2734
2734
|
*/
|
|
2735
2735
|
'react-naming-convention/component-name'?: Linter.RuleEntry<ReactNamingConventionComponentName>
|
|
2736
|
+
/**
|
|
2737
|
+
* enforce context name to be a valid component name with the suffix 'Context'
|
|
2738
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-context-name
|
|
2739
|
+
*/
|
|
2740
|
+
'react-naming-convention/context-name'?: Linter.RuleEntry<[]>
|
|
2736
2741
|
/**
|
|
2737
2742
|
* enforce naming convention for JSX filenames
|
|
2738
2743
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-filename
|
|
@@ -2781,7 +2786,7 @@ interface Rules {
|
|
|
2781
2786
|
'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2782
2787
|
/**
|
|
2783
2788
|
* require a 'ref' parameter to be set when using 'forwardRef'
|
|
2784
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
2789
|
+
* @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
|
|
2785
2790
|
*/
|
|
2786
2791
|
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
|
|
2787
2792
|
/**
|
|
@@ -2800,7 +2805,7 @@ interface Rules {
|
|
|
2800
2805
|
*/
|
|
2801
2806
|
'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
|
|
2802
2807
|
/**
|
|
2803
|
-
* disallow using
|
|
2808
|
+
* disallow using an item's index in the array as its key
|
|
2804
2809
|
* @see https://eslint-react.xyz/docs/rules/no-array-index-key
|
|
2805
2810
|
*/
|
|
2806
2811
|
'react/no-array-index-key'?: Linter.RuleEntry<[]>
|
|
@@ -2860,22 +2865,22 @@ interface Rules {
|
|
|
2860
2865
|
*/
|
|
2861
2866
|
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2862
2867
|
/**
|
|
2863
|
-
*
|
|
2868
|
+
* replace usages of 'componentWillMount' with 'UNSAFE_componentWillMount'
|
|
2864
2869
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
2865
2870
|
*/
|
|
2866
2871
|
'react/no-component-will-mount'?: Linter.RuleEntry<[]>
|
|
2867
2872
|
/**
|
|
2868
|
-
*
|
|
2873
|
+
* replace usages of 'componentWillReceiveProps' with 'UNSAFE_componentWillReceiveProps'
|
|
2869
2874
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
|
|
2870
2875
|
*/
|
|
2871
2876
|
'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
2872
2877
|
/**
|
|
2873
|
-
*
|
|
2878
|
+
* replace usages of 'componentWillUpdate' with 'UNSAFE_componentWillUpdate'
|
|
2874
2879
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-update
|
|
2875
2880
|
*/
|
|
2876
2881
|
'react/no-component-will-update'?: Linter.RuleEntry<[]>
|
|
2877
2882
|
/**
|
|
2878
|
-
*
|
|
2883
|
+
* replace usages of '<Context.Provider>' with '<Context>'
|
|
2879
2884
|
* @see https://eslint-react.xyz/docs/rules/no-context-provider
|
|
2880
2885
|
*/
|
|
2881
2886
|
'react/no-context-provider'?: Linter.RuleEntry<[]>
|
|
@@ -2905,7 +2910,7 @@ interface Rules {
|
|
|
2905
2910
|
*/
|
|
2906
2911
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>
|
|
2907
2912
|
/**
|
|
2908
|
-
*
|
|
2913
|
+
* replace usages of 'forwardRef' with passing 'ref' as a prop
|
|
2909
2914
|
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
2910
2915
|
*/
|
|
2911
2916
|
'react/no-forward-ref'?: Linter.RuleEntry<[]>
|
|
@@ -2935,8 +2940,13 @@ interface Rules {
|
|
|
2935
2940
|
*/
|
|
2936
2941
|
'react/no-missing-key'?: Linter.RuleEntry<[]>
|
|
2937
2942
|
/**
|
|
2938
|
-
*
|
|
2939
|
-
* @see https://eslint-react.xyz/docs/rules/no-nested-
|
|
2943
|
+
* prevents nesting component definitions inside other components
|
|
2944
|
+
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
2945
|
+
*/
|
|
2946
|
+
'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>
|
|
2947
|
+
/**
|
|
2948
|
+
* prevents nesting component definitions inside other components
|
|
2949
|
+
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
2940
2950
|
*/
|
|
2941
2951
|
'react/no-nested-components'?: Linter.RuleEntry<[]>
|
|
2942
2952
|
/**
|
|
@@ -3005,10 +3015,15 @@ interface Rules {
|
|
|
3005
3015
|
*/
|
|
3006
3016
|
'react/no-unused-state'?: Linter.RuleEntry<[]>
|
|
3007
3017
|
/**
|
|
3008
|
-
*
|
|
3018
|
+
* replace usages of 'useContext' with 'use'
|
|
3009
3019
|
* @see https://eslint-react.xyz/docs/rules/no-use-context
|
|
3010
3020
|
*/
|
|
3011
3021
|
'react/no-use-context'?: Linter.RuleEntry<[]>
|
|
3022
|
+
/**
|
|
3023
|
+
* require a 'ref' parameter to be set when using 'forwardRef'
|
|
3024
|
+
* @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
|
|
3025
|
+
*/
|
|
3026
|
+
'react/no-useless-forward-ref'?: Linter.RuleEntry<[]>
|
|
3012
3027
|
/**
|
|
3013
3028
|
* disallow useless fragments
|
|
3014
3029
|
* @see https://eslint-react.xyz/docs/rules/no-useless-fragment
|
|
@@ -3030,12 +3045,12 @@ interface Rules {
|
|
|
3030
3045
|
*/
|
|
3031
3046
|
'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
|
|
3032
3047
|
/**
|
|
3033
|
-
* enforce
|
|
3048
|
+
* enforce the use of shorthand syntax for boolean attributes
|
|
3034
3049
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
|
|
3035
3050
|
*/
|
|
3036
3051
|
'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
3037
3052
|
/**
|
|
3038
|
-
* enforce
|
|
3053
|
+
* enforce the use of shorthand syntax for fragments
|
|
3039
3054
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
|
|
3040
3055
|
*/
|
|
3041
3056
|
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
@@ -5341,12 +5356,6 @@ interface Rules {
|
|
|
5341
5356
|
* @see https://eslint.vuejs.org/rules/component-options-name-casing.html
|
|
5342
5357
|
*/
|
|
5343
5358
|
'vue/component-options-name-casing'?: Linter.RuleEntry<VueComponentOptionsNameCasing>
|
|
5344
|
-
/**
|
|
5345
|
-
* enforce order of component top-level elements
|
|
5346
|
-
* @see https://eslint.vuejs.org/rules/component-tags-order.html
|
|
5347
|
-
* @deprecated
|
|
5348
|
-
*/
|
|
5349
|
-
'vue/component-tags-order'?: Linter.RuleEntry<VueComponentTagsOrder>
|
|
5350
5359
|
/**
|
|
5351
5360
|
* enforce specific casing for custom event name
|
|
5352
5361
|
* @see https://eslint.vuejs.org/rules/custom-event-name-casing.html
|
|
@@ -5413,7 +5422,7 @@ interface Rules {
|
|
|
5413
5422
|
*/
|
|
5414
5423
|
'vue/html-closing-bracket-spacing'?: Linter.RuleEntry<VueHtmlClosingBracketSpacing>
|
|
5415
5424
|
/**
|
|
5416
|
-
* enforce unified line
|
|
5425
|
+
* enforce unified line break in HTML comments
|
|
5417
5426
|
* @see https://eslint.vuejs.org/rules/html-comment-content-newline.html
|
|
5418
5427
|
*/
|
|
5419
5428
|
'vue/html-comment-content-newline'?: Linter.RuleEntry<VueHtmlCommentContentNewline>
|
|
@@ -5723,11 +5732,15 @@ interface Rules {
|
|
|
5723
5732
|
*/
|
|
5724
5733
|
'vue/no-extra-parens'?: Linter.RuleEntry<VueNoExtraParens>
|
|
5725
5734
|
/**
|
|
5726
|
-
*
|
|
5727
|
-
* @see https://eslint.vuejs.org/rules/no-
|
|
5728
|
-
|
|
5735
|
+
* Disallow shorthand type conversions in `<template>`
|
|
5736
|
+
* @see https://eslint.vuejs.org/rules/no-implicit-coercion.html
|
|
5737
|
+
*/
|
|
5738
|
+
'vue/no-implicit-coercion'?: Linter.RuleEntry<VueNoImplicitCoercion>
|
|
5739
|
+
/**
|
|
5740
|
+
* disallow importing Vue compiler macros
|
|
5741
|
+
* @see https://eslint.vuejs.org/rules/no-import-compiler-macros.html
|
|
5729
5742
|
*/
|
|
5730
|
-
'vue/no-
|
|
5743
|
+
'vue/no-import-compiler-macros'?: Linter.RuleEntry<[]>
|
|
5731
5744
|
/**
|
|
5732
5745
|
* disallow irregular whitespace in `.vue` files
|
|
5733
5746
|
* @see https://eslint.vuejs.org/rules/no-irregular-whitespace.html
|
|
@@ -5754,12 +5767,12 @@ interface Rules {
|
|
|
5754
5767
|
*/
|
|
5755
5768
|
'vue/no-multi-spaces'?: Linter.RuleEntry<VueNoMultiSpaces>
|
|
5756
5769
|
/**
|
|
5757
|
-
* disallow
|
|
5770
|
+
* disallow passing multiple objects in an array to class
|
|
5758
5771
|
* @see https://eslint.vuejs.org/rules/no-multiple-objects-in-class.html
|
|
5759
5772
|
*/
|
|
5760
5773
|
'vue/no-multiple-objects-in-class'?: Linter.RuleEntry<[]>
|
|
5761
5774
|
/**
|
|
5762
|
-
* disallow
|
|
5775
|
+
* disallow passing multiple arguments to scoped slots
|
|
5763
5776
|
* @see https://eslint.vuejs.org/rules/no-multiple-slot-args.html
|
|
5764
5777
|
*/
|
|
5765
5778
|
'vue/no-multiple-slot-args'?: Linter.RuleEntry<[]>
|
|
@@ -5788,12 +5801,6 @@ interface Rules {
|
|
|
5788
5801
|
* @see https://eslint.vuejs.org/rules/no-ref-as-operand.html
|
|
5789
5802
|
*/
|
|
5790
5803
|
'vue/no-ref-as-operand'?: Linter.RuleEntry<[]>
|
|
5791
|
-
/**
|
|
5792
|
-
* disallow usages of ref objects that can lead to loss of reactivity
|
|
5793
|
-
* @see https://eslint.vuejs.org/rules/no-ref-object-destructure.html
|
|
5794
|
-
* @deprecated
|
|
5795
|
-
*/
|
|
5796
|
-
'vue/no-ref-object-destructure'?: Linter.RuleEntry<[]>
|
|
5797
5804
|
/**
|
|
5798
5805
|
* disallow usages of ref objects that can lead to loss of reactivity
|
|
5799
5806
|
* @see https://eslint.vuejs.org/rules/no-ref-object-reactivity-loss.html
|
|
@@ -5884,12 +5891,6 @@ interface Rules {
|
|
|
5884
5891
|
* @see https://eslint.vuejs.org/rules/no-root-v-if.html
|
|
5885
5892
|
*/
|
|
5886
5893
|
'vue/no-root-v-if'?: Linter.RuleEntry<[]>
|
|
5887
|
-
/**
|
|
5888
|
-
* disallow usages that lose the reactivity of `props` passed to `setup`
|
|
5889
|
-
* @see https://eslint.vuejs.org/rules/no-setup-props-destructure.html
|
|
5890
|
-
* @deprecated
|
|
5891
|
-
*/
|
|
5892
|
-
'vue/no-setup-props-destructure'?: Linter.RuleEntry<[]>
|
|
5893
5894
|
/**
|
|
5894
5895
|
* disallow usages that lose the reactivity of `props` passed to `setup`
|
|
5895
5896
|
* @see https://eslint.vuejs.org/rules/no-setup-props-reactivity-loss.html
|
|
@@ -6023,6 +6024,7 @@ interface Rules {
|
|
|
6023
6024
|
/**
|
|
6024
6025
|
* disallow `key` attribute on `<template v-for>`
|
|
6025
6026
|
* @see https://eslint.vuejs.org/rules/no-v-for-template-key.html
|
|
6027
|
+
* @deprecated
|
|
6026
6028
|
*/
|
|
6027
6029
|
'vue/no-v-for-template-key'?: Linter.RuleEntry<[]>
|
|
6028
6030
|
/**
|
|
@@ -6038,6 +6040,7 @@ interface Rules {
|
|
|
6038
6040
|
/**
|
|
6039
6041
|
* disallow adding an argument to `v-model` used in custom component
|
|
6040
6042
|
* @see https://eslint.vuejs.org/rules/no-v-model-argument.html
|
|
6043
|
+
* @deprecated
|
|
6041
6044
|
*/
|
|
6042
6045
|
'vue/no-v-model-argument'?: Linter.RuleEntry<[]>
|
|
6043
6046
|
/**
|
|
@@ -6270,12 +6273,6 @@ interface Rules {
|
|
|
6270
6273
|
* @see https://eslint.vuejs.org/rules/script-indent.html
|
|
6271
6274
|
*/
|
|
6272
6275
|
'vue/script-indent'?: Linter.RuleEntry<VueScriptIndent>
|
|
6273
|
-
/**
|
|
6274
|
-
* prevent `<script setup>` variables used in `<template>` to be marked as unused
|
|
6275
|
-
* @see https://eslint.vuejs.org/rules/script-setup-uses-vars.html
|
|
6276
|
-
* @deprecated
|
|
6277
|
-
*/
|
|
6278
|
-
'vue/script-setup-uses-vars'?: Linter.RuleEntry<[]>
|
|
6279
6276
|
/**
|
|
6280
6277
|
* require a line break before and after the contents of a singleline element
|
|
6281
6278
|
* @see https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html
|
|
@@ -6346,12 +6343,6 @@ interface Rules {
|
|
|
6346
6343
|
* @see https://eslint.vuejs.org/rules/v-on-event-hyphenation.html
|
|
6347
6344
|
*/
|
|
6348
6345
|
'vue/v-on-event-hyphenation'?: Linter.RuleEntry<VueVOnEventHyphenation>
|
|
6349
|
-
/**
|
|
6350
|
-
* enforce or forbid parentheses after method calls without arguments in `v-on` directives
|
|
6351
|
-
* @see https://eslint.vuejs.org/rules/v-on-function-call.html
|
|
6352
|
-
* @deprecated
|
|
6353
|
-
*/
|
|
6354
|
-
'vue/v-on-function-call'?: Linter.RuleEntry<VueVOnFunctionCall>
|
|
6355
6346
|
/**
|
|
6356
6347
|
* enforce writing style for handlers in `v-on` directives
|
|
6357
6348
|
* @see https://eslint.vuejs.org/rules/v-on-handler-style.html
|
|
@@ -6390,6 +6381,7 @@ interface Rules {
|
|
|
6390
6381
|
/**
|
|
6391
6382
|
* require valid keys in model option
|
|
6392
6383
|
* @see https://eslint.vuejs.org/rules/valid-model-definition.html
|
|
6384
|
+
* @deprecated
|
|
6393
6385
|
*/
|
|
6394
6386
|
'vue/valid-model-definition'?: Linter.RuleEntry<[]>
|
|
6395
6387
|
/**
|
|
@@ -6410,6 +6402,7 @@ interface Rules {
|
|
|
6410
6402
|
/**
|
|
6411
6403
|
* enforce valid `.sync` modifier on `v-bind` directives
|
|
6412
6404
|
* @see https://eslint.vuejs.org/rules/valid-v-bind-sync.html
|
|
6405
|
+
* @deprecated
|
|
6413
6406
|
*/
|
|
6414
6407
|
'vue/valid-v-bind-sync'?: Linter.RuleEntry<[]>
|
|
6415
6408
|
/**
|
|
@@ -6884,7 +6877,7 @@ type IdMatch = []|[string]|[string, {
|
|
|
6884
6877
|
// ----- implicit-arrow-linebreak -----
|
|
6885
6878
|
type ImplicitArrowLinebreak = []|[("beside" | "below")]
|
|
6886
6879
|
// ----- import/consistent-type-specifier-style -----
|
|
6887
|
-
type ImportConsistentTypeSpecifierStyle = []|[("prefer-
|
|
6880
|
+
type ImportConsistentTypeSpecifierStyle = []|[("prefer-top-level" | "prefer-inline")]
|
|
6888
6881
|
// ----- import/dynamic-import-chunkname -----
|
|
6889
6882
|
type ImportDynamicImportChunkname = []|[{
|
|
6890
6883
|
importFunctions?: string[]
|
|
@@ -9164,8 +9157,6 @@ type PaddingLineBetweenStatements = {
|
|
|
9164
9157
|
// ----- perfectionist/sort-array-includes -----
|
|
9165
9158
|
type PerfectionistSortArrayIncludes = {
|
|
9166
9159
|
|
|
9167
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9168
|
-
|
|
9169
9160
|
fallbackSort?: {
|
|
9170
9161
|
|
|
9171
9162
|
order?: ("asc" | "desc")
|
|
@@ -9174,6 +9165,8 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9174
9165
|
[k: string]: unknown | undefined
|
|
9175
9166
|
}
|
|
9176
9167
|
|
|
9168
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9169
|
+
|
|
9177
9170
|
ignoreCase?: boolean
|
|
9178
9171
|
|
|
9179
9172
|
alphabet?: string
|
|
@@ -9188,13 +9181,21 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9188
9181
|
|
|
9189
9182
|
customGroups?: ({
|
|
9190
9183
|
|
|
9191
|
-
|
|
9184
|
+
newlinesInside?: ("always" | "never")
|
|
9192
9185
|
|
|
9193
|
-
|
|
9186
|
+
fallbackSort?: {
|
|
9187
|
+
|
|
9188
|
+
order?: ("asc" | "desc")
|
|
9189
|
+
|
|
9190
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9191
|
+
[k: string]: unknown | undefined
|
|
9192
|
+
}
|
|
9194
9193
|
|
|
9195
|
-
|
|
9194
|
+
groupName?: string
|
|
9196
9195
|
|
|
9197
|
-
|
|
9196
|
+
order?: ("asc" | "desc")
|
|
9197
|
+
|
|
9198
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9198
9199
|
anyOf?: {
|
|
9199
9200
|
|
|
9200
9201
|
selector?: ("literal" | "spread")
|
|
@@ -9209,13 +9210,21 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9209
9210
|
}[]
|
|
9210
9211
|
} | {
|
|
9211
9212
|
|
|
9212
|
-
|
|
9213
|
+
newlinesInside?: ("always" | "never")
|
|
9213
9214
|
|
|
9214
|
-
|
|
9215
|
+
fallbackSort?: {
|
|
9216
|
+
|
|
9217
|
+
order?: ("asc" | "desc")
|
|
9218
|
+
|
|
9219
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9220
|
+
[k: string]: unknown | undefined
|
|
9221
|
+
}
|
|
9215
9222
|
|
|
9216
|
-
|
|
9223
|
+
groupName?: string
|
|
9217
9224
|
|
|
9218
|
-
|
|
9225
|
+
order?: ("asc" | "desc")
|
|
9226
|
+
|
|
9227
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9219
9228
|
|
|
9220
9229
|
selector?: ("literal" | "spread")
|
|
9221
9230
|
|
|
@@ -9273,8 +9282,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9273
9282
|
// ----- perfectionist/sort-classes -----
|
|
9274
9283
|
type PerfectionistSortClasses = []|[{
|
|
9275
9284
|
|
|
9276
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9277
|
-
|
|
9278
9285
|
fallbackSort?: {
|
|
9279
9286
|
|
|
9280
9287
|
order?: ("asc" | "desc")
|
|
@@ -9283,6 +9290,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
9283
9290
|
[k: string]: unknown | undefined
|
|
9284
9291
|
}
|
|
9285
9292
|
|
|
9293
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9294
|
+
|
|
9286
9295
|
ignoreCase?: boolean
|
|
9287
9296
|
|
|
9288
9297
|
alphabet?: string
|
|
@@ -9295,13 +9304,21 @@ type PerfectionistSortClasses = []|[{
|
|
|
9295
9304
|
|
|
9296
9305
|
customGroups?: ({
|
|
9297
9306
|
|
|
9298
|
-
|
|
9307
|
+
newlinesInside?: ("always" | "never")
|
|
9299
9308
|
|
|
9300
|
-
|
|
9309
|
+
fallbackSort?: {
|
|
9310
|
+
|
|
9311
|
+
order?: ("asc" | "desc")
|
|
9312
|
+
|
|
9313
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9314
|
+
[k: string]: unknown | undefined
|
|
9315
|
+
}
|
|
9301
9316
|
|
|
9302
|
-
|
|
9317
|
+
groupName?: string
|
|
9303
9318
|
|
|
9304
|
-
|
|
9319
|
+
order?: ("asc" | "desc")
|
|
9320
|
+
|
|
9321
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9305
9322
|
anyOf?: {
|
|
9306
9323
|
|
|
9307
9324
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
@@ -9334,13 +9351,21 @@ type PerfectionistSortClasses = []|[{
|
|
|
9334
9351
|
}[]
|
|
9335
9352
|
} | {
|
|
9336
9353
|
|
|
9337
|
-
|
|
9354
|
+
newlinesInside?: ("always" | "never")
|
|
9355
|
+
|
|
9356
|
+
fallbackSort?: {
|
|
9357
|
+
|
|
9358
|
+
order?: ("asc" | "desc")
|
|
9359
|
+
|
|
9360
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9361
|
+
[k: string]: unknown | undefined
|
|
9362
|
+
}
|
|
9338
9363
|
|
|
9339
|
-
|
|
9364
|
+
groupName?: string
|
|
9340
9365
|
|
|
9341
|
-
order?: ("
|
|
9366
|
+
order?: ("asc" | "desc")
|
|
9342
9367
|
|
|
9343
|
-
|
|
9368
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9344
9369
|
|
|
9345
9370
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9346
9371
|
|
|
@@ -9414,8 +9439,6 @@ type PerfectionistSortClasses = []|[{
|
|
|
9414
9439
|
// ----- perfectionist/sort-decorators -----
|
|
9415
9440
|
type PerfectionistSortDecorators = []|[{
|
|
9416
9441
|
|
|
9417
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9418
|
-
|
|
9419
9442
|
fallbackSort?: {
|
|
9420
9443
|
|
|
9421
9444
|
order?: ("asc" | "desc")
|
|
@@ -9424,6 +9447,8 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9424
9447
|
[k: string]: unknown | undefined
|
|
9425
9448
|
}
|
|
9426
9449
|
|
|
9450
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9451
|
+
|
|
9427
9452
|
ignoreCase?: boolean
|
|
9428
9453
|
|
|
9429
9454
|
alphabet?: string
|
|
@@ -9479,8 +9504,6 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9479
9504
|
// ----- perfectionist/sort-enums -----
|
|
9480
9505
|
type PerfectionistSortEnums = []|[{
|
|
9481
9506
|
|
|
9482
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9483
|
-
|
|
9484
9507
|
fallbackSort?: {
|
|
9485
9508
|
|
|
9486
9509
|
order?: ("asc" | "desc")
|
|
@@ -9489,6 +9512,8 @@ type PerfectionistSortEnums = []|[{
|
|
|
9489
9512
|
[k: string]: unknown | undefined
|
|
9490
9513
|
}
|
|
9491
9514
|
|
|
9515
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9516
|
+
|
|
9492
9517
|
ignoreCase?: boolean
|
|
9493
9518
|
|
|
9494
9519
|
alphabet?: string
|
|
@@ -9504,13 +9529,21 @@ type PerfectionistSortEnums = []|[{
|
|
|
9504
9529
|
[k: string]: (string | string[]) | undefined
|
|
9505
9530
|
} | ({
|
|
9506
9531
|
|
|
9507
|
-
|
|
9532
|
+
newlinesInside?: ("always" | "never")
|
|
9533
|
+
|
|
9534
|
+
fallbackSort?: {
|
|
9535
|
+
|
|
9536
|
+
order?: ("asc" | "desc")
|
|
9537
|
+
|
|
9538
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9539
|
+
[k: string]: unknown | undefined
|
|
9540
|
+
}
|
|
9508
9541
|
|
|
9509
|
-
|
|
9542
|
+
groupName?: string
|
|
9510
9543
|
|
|
9511
|
-
order?: ("
|
|
9544
|
+
order?: ("asc" | "desc")
|
|
9512
9545
|
|
|
9513
|
-
|
|
9546
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9514
9547
|
anyOf?: {
|
|
9515
9548
|
|
|
9516
9549
|
elementValuePattern?: (({
|
|
@@ -9531,13 +9564,21 @@ type PerfectionistSortEnums = []|[{
|
|
|
9531
9564
|
}[]
|
|
9532
9565
|
} | {
|
|
9533
9566
|
|
|
9534
|
-
|
|
9567
|
+
newlinesInside?: ("always" | "never")
|
|
9535
9568
|
|
|
9536
|
-
|
|
9569
|
+
fallbackSort?: {
|
|
9570
|
+
|
|
9571
|
+
order?: ("asc" | "desc")
|
|
9572
|
+
|
|
9573
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9574
|
+
[k: string]: unknown | undefined
|
|
9575
|
+
}
|
|
9537
9576
|
|
|
9538
|
-
|
|
9577
|
+
groupName?: string
|
|
9539
9578
|
|
|
9540
|
-
|
|
9579
|
+
order?: ("asc" | "desc")
|
|
9580
|
+
|
|
9581
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9541
9582
|
|
|
9542
9583
|
elementValuePattern?: (({
|
|
9543
9584
|
pattern?: string
|
|
@@ -9593,8 +9634,6 @@ type PerfectionistSortEnums = []|[{
|
|
|
9593
9634
|
// ----- perfectionist/sort-exports -----
|
|
9594
9635
|
type PerfectionistSortExports = []|[{
|
|
9595
9636
|
|
|
9596
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9597
|
-
|
|
9598
9637
|
fallbackSort?: {
|
|
9599
9638
|
|
|
9600
9639
|
order?: ("asc" | "desc")
|
|
@@ -9603,6 +9642,8 @@ type PerfectionistSortExports = []|[{
|
|
|
9603
9642
|
[k: string]: unknown | undefined
|
|
9604
9643
|
}
|
|
9605
9644
|
|
|
9645
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9646
|
+
|
|
9606
9647
|
ignoreCase?: boolean
|
|
9607
9648
|
|
|
9608
9649
|
alphabet?: string
|
|
@@ -9643,8 +9684,6 @@ type PerfectionistSortExports = []|[{
|
|
|
9643
9684
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
9644
9685
|
type PerfectionistSortHeritageClauses = []|[{
|
|
9645
9686
|
|
|
9646
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9647
|
-
|
|
9648
9687
|
fallbackSort?: {
|
|
9649
9688
|
|
|
9650
9689
|
order?: ("asc" | "desc")
|
|
@@ -9653,6 +9692,8 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
9653
9692
|
[k: string]: unknown | undefined
|
|
9654
9693
|
}
|
|
9655
9694
|
|
|
9695
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9696
|
+
|
|
9656
9697
|
ignoreCase?: boolean
|
|
9657
9698
|
|
|
9658
9699
|
alphabet?: string
|
|
@@ -9676,8 +9717,6 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
9676
9717
|
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
9677
9718
|
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
9678
9719
|
|
|
9679
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9680
|
-
|
|
9681
9720
|
fallbackSort?: {
|
|
9682
9721
|
|
|
9683
9722
|
order?: ("asc" | "desc")
|
|
@@ -9686,6 +9725,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
9686
9725
|
[k: string]: unknown | undefined
|
|
9687
9726
|
}
|
|
9688
9727
|
|
|
9728
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9729
|
+
|
|
9689
9730
|
ignoreCase?: boolean
|
|
9690
9731
|
|
|
9691
9732
|
alphabet?: string
|
|
@@ -9765,8 +9806,6 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
9765
9806
|
// ----- perfectionist/sort-interfaces -----
|
|
9766
9807
|
type PerfectionistSortInterfaces = {
|
|
9767
9808
|
|
|
9768
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9769
|
-
|
|
9770
9809
|
fallbackSort?: {
|
|
9771
9810
|
|
|
9772
9811
|
order?: ("asc" | "desc")
|
|
@@ -9775,6 +9814,8 @@ type PerfectionistSortInterfaces = {
|
|
|
9775
9814
|
[k: string]: unknown | undefined
|
|
9776
9815
|
}
|
|
9777
9816
|
|
|
9817
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9818
|
+
|
|
9778
9819
|
ignoreCase?: boolean
|
|
9779
9820
|
|
|
9780
9821
|
alphabet?: string
|
|
@@ -9788,19 +9829,36 @@ type PerfectionistSortInterfaces = {
|
|
|
9788
9829
|
[k: string]: (string | string[]) | undefined
|
|
9789
9830
|
} | ({
|
|
9790
9831
|
|
|
9791
|
-
|
|
9832
|
+
newlinesInside?: ("always" | "never")
|
|
9792
9833
|
|
|
9793
|
-
|
|
9834
|
+
fallbackSort?: {
|
|
9835
|
+
|
|
9836
|
+
order?: ("asc" | "desc")
|
|
9837
|
+
|
|
9838
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9839
|
+
sortBy?: ("name" | "value")
|
|
9840
|
+
[k: string]: unknown | undefined
|
|
9841
|
+
}
|
|
9794
9842
|
|
|
9795
|
-
|
|
9843
|
+
groupName?: string
|
|
9796
9844
|
|
|
9797
|
-
|
|
9845
|
+
order?: ("asc" | "desc")
|
|
9846
|
+
|
|
9847
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9798
9848
|
anyOf?: {
|
|
9799
9849
|
|
|
9800
9850
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
9801
9851
|
|
|
9802
9852
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
9803
9853
|
|
|
9854
|
+
elementValuePattern?: (({
|
|
9855
|
+
pattern?: string
|
|
9856
|
+
flags?: string
|
|
9857
|
+
} | string)[] | ({
|
|
9858
|
+
pattern?: string
|
|
9859
|
+
flags?: string
|
|
9860
|
+
} | string))
|
|
9861
|
+
|
|
9804
9862
|
elementNamePattern?: (({
|
|
9805
9863
|
pattern?: string
|
|
9806
9864
|
flags?: string
|
|
@@ -9808,21 +9866,39 @@ type PerfectionistSortInterfaces = {
|
|
|
9808
9866
|
pattern?: string
|
|
9809
9867
|
flags?: string
|
|
9810
9868
|
} | string))
|
|
9869
|
+
sortBy?: ("name" | "value")
|
|
9811
9870
|
}[]
|
|
9812
9871
|
} | {
|
|
9813
9872
|
|
|
9814
|
-
|
|
9873
|
+
newlinesInside?: ("always" | "never")
|
|
9815
9874
|
|
|
9816
|
-
|
|
9875
|
+
fallbackSort?: {
|
|
9876
|
+
|
|
9877
|
+
order?: ("asc" | "desc")
|
|
9878
|
+
|
|
9879
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9880
|
+
sortBy?: ("name" | "value")
|
|
9881
|
+
[k: string]: unknown | undefined
|
|
9882
|
+
}
|
|
9817
9883
|
|
|
9818
|
-
|
|
9884
|
+
groupName?: string
|
|
9819
9885
|
|
|
9820
|
-
|
|
9886
|
+
order?: ("asc" | "desc")
|
|
9887
|
+
|
|
9888
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9821
9889
|
|
|
9822
9890
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
9823
9891
|
|
|
9824
9892
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
9825
9893
|
|
|
9894
|
+
elementValuePattern?: (({
|
|
9895
|
+
pattern?: string
|
|
9896
|
+
flags?: string
|
|
9897
|
+
} | string)[] | ({
|
|
9898
|
+
pattern?: string
|
|
9899
|
+
flags?: string
|
|
9900
|
+
} | string))
|
|
9901
|
+
|
|
9826
9902
|
elementNamePattern?: (({
|
|
9827
9903
|
pattern?: string
|
|
9828
9904
|
flags?: string
|
|
@@ -9830,6 +9906,7 @@ type PerfectionistSortInterfaces = {
|
|
|
9830
9906
|
pattern?: string
|
|
9831
9907
|
flags?: string
|
|
9832
9908
|
} | string))
|
|
9909
|
+
sortBy?: ("name" | "value")
|
|
9833
9910
|
})[])
|
|
9834
9911
|
useConfigurationIf?: {
|
|
9835
9912
|
|
|
@@ -9886,6 +9963,7 @@ type PerfectionistSortInterfaces = {
|
|
|
9886
9963
|
pattern?: string
|
|
9887
9964
|
flags?: string
|
|
9888
9965
|
} | string))
|
|
9966
|
+
sortBy?: ("name" | "value")
|
|
9889
9967
|
|
|
9890
9968
|
groups?: (string | string[] | {
|
|
9891
9969
|
|
|
@@ -9895,8 +9973,6 @@ type PerfectionistSortInterfaces = {
|
|
|
9895
9973
|
// ----- perfectionist/sort-intersection-types -----
|
|
9896
9974
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
9897
9975
|
|
|
9898
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9899
|
-
|
|
9900
9976
|
fallbackSort?: {
|
|
9901
9977
|
|
|
9902
9978
|
order?: ("asc" | "desc")
|
|
@@ -9905,6 +9981,8 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
9905
9981
|
[k: string]: unknown | undefined
|
|
9906
9982
|
}
|
|
9907
9983
|
|
|
9984
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9985
|
+
|
|
9908
9986
|
ignoreCase?: boolean
|
|
9909
9987
|
|
|
9910
9988
|
alphabet?: string
|
|
@@ -9950,8 +10028,6 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
9950
10028
|
// ----- perfectionist/sort-jsx-props -----
|
|
9951
10029
|
type PerfectionistSortJsxProps = {
|
|
9952
10030
|
|
|
9953
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9954
|
-
|
|
9955
10031
|
fallbackSort?: {
|
|
9956
10032
|
|
|
9957
10033
|
order?: ("asc" | "desc")
|
|
@@ -9960,6 +10036,8 @@ type PerfectionistSortJsxProps = {
|
|
|
9960
10036
|
[k: string]: unknown | undefined
|
|
9961
10037
|
}
|
|
9962
10038
|
|
|
10039
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10040
|
+
|
|
9963
10041
|
ignoreCase?: boolean
|
|
9964
10042
|
|
|
9965
10043
|
alphabet?: string
|
|
@@ -10012,8 +10090,6 @@ type PerfectionistSortJsxProps = {
|
|
|
10012
10090
|
// ----- perfectionist/sort-maps -----
|
|
10013
10091
|
type PerfectionistSortMaps = {
|
|
10014
10092
|
|
|
10015
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10016
|
-
|
|
10017
10093
|
fallbackSort?: {
|
|
10018
10094
|
|
|
10019
10095
|
order?: ("asc" | "desc")
|
|
@@ -10022,6 +10098,8 @@ type PerfectionistSortMaps = {
|
|
|
10022
10098
|
[k: string]: unknown | undefined
|
|
10023
10099
|
}
|
|
10024
10100
|
|
|
10101
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10102
|
+
|
|
10025
10103
|
ignoreCase?: boolean
|
|
10026
10104
|
|
|
10027
10105
|
alphabet?: string
|
|
@@ -10034,13 +10112,21 @@ type PerfectionistSortMaps = {
|
|
|
10034
10112
|
|
|
10035
10113
|
customGroups?: ({
|
|
10036
10114
|
|
|
10037
|
-
|
|
10115
|
+
newlinesInside?: ("always" | "never")
|
|
10116
|
+
|
|
10117
|
+
fallbackSort?: {
|
|
10118
|
+
|
|
10119
|
+
order?: ("asc" | "desc")
|
|
10120
|
+
|
|
10121
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10122
|
+
[k: string]: unknown | undefined
|
|
10123
|
+
}
|
|
10038
10124
|
|
|
10039
|
-
|
|
10125
|
+
groupName?: string
|
|
10040
10126
|
|
|
10041
|
-
order?: ("
|
|
10127
|
+
order?: ("asc" | "desc")
|
|
10042
10128
|
|
|
10043
|
-
|
|
10129
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10044
10130
|
anyOf?: {
|
|
10045
10131
|
|
|
10046
10132
|
elementNamePattern?: (({
|
|
@@ -10053,13 +10139,21 @@ type PerfectionistSortMaps = {
|
|
|
10053
10139
|
}[]
|
|
10054
10140
|
} | {
|
|
10055
10141
|
|
|
10056
|
-
|
|
10142
|
+
newlinesInside?: ("always" | "never")
|
|
10057
10143
|
|
|
10058
|
-
|
|
10144
|
+
fallbackSort?: {
|
|
10145
|
+
|
|
10146
|
+
order?: ("asc" | "desc")
|
|
10147
|
+
|
|
10148
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10149
|
+
[k: string]: unknown | undefined
|
|
10150
|
+
}
|
|
10059
10151
|
|
|
10060
|
-
|
|
10152
|
+
groupName?: string
|
|
10061
10153
|
|
|
10062
|
-
|
|
10154
|
+
order?: ("asc" | "desc")
|
|
10155
|
+
|
|
10156
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10063
10157
|
|
|
10064
10158
|
elementNamePattern?: (({
|
|
10065
10159
|
pattern?: string
|
|
@@ -10115,8 +10209,6 @@ type PerfectionistSortMaps = {
|
|
|
10115
10209
|
// ----- perfectionist/sort-modules -----
|
|
10116
10210
|
type PerfectionistSortModules = []|[{
|
|
10117
10211
|
|
|
10118
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10119
|
-
|
|
10120
10212
|
fallbackSort?: {
|
|
10121
10213
|
|
|
10122
10214
|
order?: ("asc" | "desc")
|
|
@@ -10125,6 +10217,8 @@ type PerfectionistSortModules = []|[{
|
|
|
10125
10217
|
[k: string]: unknown | undefined
|
|
10126
10218
|
}
|
|
10127
10219
|
|
|
10220
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10221
|
+
|
|
10128
10222
|
ignoreCase?: boolean
|
|
10129
10223
|
|
|
10130
10224
|
alphabet?: string
|
|
@@ -10137,13 +10231,21 @@ type PerfectionistSortModules = []|[{
|
|
|
10137
10231
|
|
|
10138
10232
|
customGroups?: ({
|
|
10139
10233
|
|
|
10140
|
-
|
|
10234
|
+
newlinesInside?: ("always" | "never")
|
|
10235
|
+
|
|
10236
|
+
fallbackSort?: {
|
|
10237
|
+
|
|
10238
|
+
order?: ("asc" | "desc")
|
|
10239
|
+
|
|
10240
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10241
|
+
[k: string]: unknown | undefined
|
|
10242
|
+
}
|
|
10141
10243
|
|
|
10142
|
-
|
|
10244
|
+
groupName?: string
|
|
10143
10245
|
|
|
10144
|
-
order?: ("
|
|
10246
|
+
order?: ("asc" | "desc")
|
|
10145
10247
|
|
|
10146
|
-
|
|
10248
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10147
10249
|
anyOf?: {
|
|
10148
10250
|
|
|
10149
10251
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
@@ -10168,13 +10270,21 @@ type PerfectionistSortModules = []|[{
|
|
|
10168
10270
|
}[]
|
|
10169
10271
|
} | {
|
|
10170
10272
|
|
|
10171
|
-
|
|
10273
|
+
newlinesInside?: ("always" | "never")
|
|
10172
10274
|
|
|
10173
|
-
|
|
10275
|
+
fallbackSort?: {
|
|
10276
|
+
|
|
10277
|
+
order?: ("asc" | "desc")
|
|
10278
|
+
|
|
10279
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10280
|
+
[k: string]: unknown | undefined
|
|
10281
|
+
}
|
|
10174
10282
|
|
|
10175
|
-
|
|
10283
|
+
groupName?: string
|
|
10176
10284
|
|
|
10177
|
-
|
|
10285
|
+
order?: ("asc" | "desc")
|
|
10286
|
+
|
|
10287
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10178
10288
|
|
|
10179
10289
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
10180
10290
|
|
|
@@ -10232,8 +10342,6 @@ type PerfectionistSortModules = []|[{
|
|
|
10232
10342
|
// ----- perfectionist/sort-named-exports -----
|
|
10233
10343
|
type PerfectionistSortNamedExports = []|[{
|
|
10234
10344
|
|
|
10235
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10236
|
-
|
|
10237
10345
|
fallbackSort?: {
|
|
10238
10346
|
|
|
10239
10347
|
order?: ("asc" | "desc")
|
|
@@ -10242,6 +10350,8 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
10242
10350
|
[k: string]: unknown | undefined
|
|
10243
10351
|
}
|
|
10244
10352
|
|
|
10353
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10354
|
+
|
|
10245
10355
|
ignoreCase?: boolean
|
|
10246
10356
|
|
|
10247
10357
|
alphabet?: string
|
|
@@ -10284,8 +10394,6 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
10284
10394
|
// ----- perfectionist/sort-named-imports -----
|
|
10285
10395
|
type PerfectionistSortNamedImports = []|[{
|
|
10286
10396
|
|
|
10287
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10288
|
-
|
|
10289
10397
|
fallbackSort?: {
|
|
10290
10398
|
|
|
10291
10399
|
order?: ("asc" | "desc")
|
|
@@ -10294,6 +10402,8 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10294
10402
|
[k: string]: unknown | undefined
|
|
10295
10403
|
}
|
|
10296
10404
|
|
|
10405
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10406
|
+
|
|
10297
10407
|
ignoreCase?: boolean
|
|
10298
10408
|
|
|
10299
10409
|
alphabet?: string
|
|
@@ -10336,8 +10446,6 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10336
10446
|
// ----- perfectionist/sort-object-types -----
|
|
10337
10447
|
type PerfectionistSortObjectTypes = {
|
|
10338
10448
|
|
|
10339
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10340
|
-
|
|
10341
10449
|
fallbackSort?: {
|
|
10342
10450
|
|
|
10343
10451
|
order?: ("asc" | "desc")
|
|
@@ -10346,6 +10454,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
10346
10454
|
[k: string]: unknown | undefined
|
|
10347
10455
|
}
|
|
10348
10456
|
|
|
10457
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10458
|
+
|
|
10349
10459
|
ignoreCase?: boolean
|
|
10350
10460
|
|
|
10351
10461
|
alphabet?: string
|
|
@@ -10359,19 +10469,36 @@ type PerfectionistSortObjectTypes = {
|
|
|
10359
10469
|
[k: string]: (string | string[]) | undefined
|
|
10360
10470
|
} | ({
|
|
10361
10471
|
|
|
10362
|
-
|
|
10472
|
+
newlinesInside?: ("always" | "never")
|
|
10363
10473
|
|
|
10364
|
-
|
|
10474
|
+
fallbackSort?: {
|
|
10475
|
+
|
|
10476
|
+
order?: ("asc" | "desc")
|
|
10477
|
+
|
|
10478
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10479
|
+
sortBy?: ("name" | "value")
|
|
10480
|
+
[k: string]: unknown | undefined
|
|
10481
|
+
}
|
|
10365
10482
|
|
|
10366
|
-
|
|
10483
|
+
groupName?: string
|
|
10367
10484
|
|
|
10368
|
-
|
|
10485
|
+
order?: ("asc" | "desc")
|
|
10486
|
+
|
|
10487
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10369
10488
|
anyOf?: {
|
|
10370
10489
|
|
|
10371
10490
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10372
10491
|
|
|
10373
10492
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10374
10493
|
|
|
10494
|
+
elementValuePattern?: (({
|
|
10495
|
+
pattern?: string
|
|
10496
|
+
flags?: string
|
|
10497
|
+
} | string)[] | ({
|
|
10498
|
+
pattern?: string
|
|
10499
|
+
flags?: string
|
|
10500
|
+
} | string))
|
|
10501
|
+
|
|
10375
10502
|
elementNamePattern?: (({
|
|
10376
10503
|
pattern?: string
|
|
10377
10504
|
flags?: string
|
|
@@ -10379,21 +10506,39 @@ type PerfectionistSortObjectTypes = {
|
|
|
10379
10506
|
pattern?: string
|
|
10380
10507
|
flags?: string
|
|
10381
10508
|
} | string))
|
|
10509
|
+
sortBy?: ("name" | "value")
|
|
10382
10510
|
}[]
|
|
10383
10511
|
} | {
|
|
10384
10512
|
|
|
10385
|
-
|
|
10513
|
+
newlinesInside?: ("always" | "never")
|
|
10386
10514
|
|
|
10387
|
-
|
|
10515
|
+
fallbackSort?: {
|
|
10516
|
+
|
|
10517
|
+
order?: ("asc" | "desc")
|
|
10518
|
+
|
|
10519
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10520
|
+
sortBy?: ("name" | "value")
|
|
10521
|
+
[k: string]: unknown | undefined
|
|
10522
|
+
}
|
|
10388
10523
|
|
|
10389
|
-
|
|
10524
|
+
groupName?: string
|
|
10390
10525
|
|
|
10391
|
-
|
|
10526
|
+
order?: ("asc" | "desc")
|
|
10527
|
+
|
|
10528
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10392
10529
|
|
|
10393
10530
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10394
10531
|
|
|
10395
10532
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10396
10533
|
|
|
10534
|
+
elementValuePattern?: (({
|
|
10535
|
+
pattern?: string
|
|
10536
|
+
flags?: string
|
|
10537
|
+
} | string)[] | ({
|
|
10538
|
+
pattern?: string
|
|
10539
|
+
flags?: string
|
|
10540
|
+
} | string))
|
|
10541
|
+
|
|
10397
10542
|
elementNamePattern?: (({
|
|
10398
10543
|
pattern?: string
|
|
10399
10544
|
flags?: string
|
|
@@ -10401,6 +10546,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
10401
10546
|
pattern?: string
|
|
10402
10547
|
flags?: string
|
|
10403
10548
|
} | string))
|
|
10549
|
+
sortBy?: ("name" | "value")
|
|
10404
10550
|
})[])
|
|
10405
10551
|
useConfigurationIf?: {
|
|
10406
10552
|
|
|
@@ -10457,6 +10603,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
10457
10603
|
pattern?: string
|
|
10458
10604
|
flags?: string
|
|
10459
10605
|
} | string))
|
|
10606
|
+
sortBy?: ("name" | "value")
|
|
10460
10607
|
|
|
10461
10608
|
groups?: (string | string[] | {
|
|
10462
10609
|
|
|
@@ -10466,8 +10613,6 @@ type PerfectionistSortObjectTypes = {
|
|
|
10466
10613
|
// ----- perfectionist/sort-objects -----
|
|
10467
10614
|
type PerfectionistSortObjects = {
|
|
10468
10615
|
|
|
10469
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10470
|
-
|
|
10471
10616
|
fallbackSort?: {
|
|
10472
10617
|
|
|
10473
10618
|
order?: ("asc" | "desc")
|
|
@@ -10476,6 +10621,8 @@ type PerfectionistSortObjects = {
|
|
|
10476
10621
|
[k: string]: unknown | undefined
|
|
10477
10622
|
}
|
|
10478
10623
|
|
|
10624
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10625
|
+
|
|
10479
10626
|
ignoreCase?: boolean
|
|
10480
10627
|
|
|
10481
10628
|
alphabet?: string
|
|
@@ -10494,13 +10641,21 @@ type PerfectionistSortObjects = {
|
|
|
10494
10641
|
[k: string]: (string | string[]) | undefined
|
|
10495
10642
|
} | ({
|
|
10496
10643
|
|
|
10497
|
-
|
|
10644
|
+
newlinesInside?: ("always" | "never")
|
|
10498
10645
|
|
|
10499
|
-
|
|
10646
|
+
fallbackSort?: {
|
|
10647
|
+
|
|
10648
|
+
order?: ("asc" | "desc")
|
|
10649
|
+
|
|
10650
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10651
|
+
[k: string]: unknown | undefined
|
|
10652
|
+
}
|
|
10500
10653
|
|
|
10501
|
-
|
|
10654
|
+
groupName?: string
|
|
10502
10655
|
|
|
10503
|
-
|
|
10656
|
+
order?: ("asc" | "desc")
|
|
10657
|
+
|
|
10658
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10504
10659
|
anyOf?: {
|
|
10505
10660
|
|
|
10506
10661
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
@@ -10525,13 +10680,21 @@ type PerfectionistSortObjects = {
|
|
|
10525
10680
|
}[]
|
|
10526
10681
|
} | {
|
|
10527
10682
|
|
|
10528
|
-
|
|
10683
|
+
newlinesInside?: ("always" | "never")
|
|
10529
10684
|
|
|
10530
|
-
|
|
10685
|
+
fallbackSort?: {
|
|
10686
|
+
|
|
10687
|
+
order?: ("asc" | "desc")
|
|
10688
|
+
|
|
10689
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10690
|
+
[k: string]: unknown | undefined
|
|
10691
|
+
}
|
|
10531
10692
|
|
|
10532
|
-
|
|
10693
|
+
groupName?: string
|
|
10533
10694
|
|
|
10534
|
-
|
|
10695
|
+
order?: ("asc" | "desc")
|
|
10696
|
+
|
|
10697
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10535
10698
|
|
|
10536
10699
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10537
10700
|
|
|
@@ -10621,8 +10784,6 @@ type PerfectionistSortObjects = {
|
|
|
10621
10784
|
// ----- perfectionist/sort-sets -----
|
|
10622
10785
|
type PerfectionistSortSets = {
|
|
10623
10786
|
|
|
10624
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10625
|
-
|
|
10626
10787
|
fallbackSort?: {
|
|
10627
10788
|
|
|
10628
10789
|
order?: ("asc" | "desc")
|
|
@@ -10631,6 +10792,8 @@ type PerfectionistSortSets = {
|
|
|
10631
10792
|
[k: string]: unknown | undefined
|
|
10632
10793
|
}
|
|
10633
10794
|
|
|
10795
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10796
|
+
|
|
10634
10797
|
ignoreCase?: boolean
|
|
10635
10798
|
|
|
10636
10799
|
alphabet?: string
|
|
@@ -10645,13 +10808,21 @@ type PerfectionistSortSets = {
|
|
|
10645
10808
|
|
|
10646
10809
|
customGroups?: ({
|
|
10647
10810
|
|
|
10648
|
-
|
|
10811
|
+
newlinesInside?: ("always" | "never")
|
|
10649
10812
|
|
|
10650
|
-
|
|
10813
|
+
fallbackSort?: {
|
|
10814
|
+
|
|
10815
|
+
order?: ("asc" | "desc")
|
|
10816
|
+
|
|
10817
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10818
|
+
[k: string]: unknown | undefined
|
|
10819
|
+
}
|
|
10651
10820
|
|
|
10652
|
-
|
|
10821
|
+
groupName?: string
|
|
10653
10822
|
|
|
10654
|
-
|
|
10823
|
+
order?: ("asc" | "desc")
|
|
10824
|
+
|
|
10825
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10655
10826
|
anyOf?: {
|
|
10656
10827
|
|
|
10657
10828
|
selector?: ("literal" | "spread")
|
|
@@ -10666,13 +10837,21 @@ type PerfectionistSortSets = {
|
|
|
10666
10837
|
}[]
|
|
10667
10838
|
} | {
|
|
10668
10839
|
|
|
10669
|
-
|
|
10840
|
+
newlinesInside?: ("always" | "never")
|
|
10841
|
+
|
|
10842
|
+
fallbackSort?: {
|
|
10843
|
+
|
|
10844
|
+
order?: ("asc" | "desc")
|
|
10845
|
+
|
|
10846
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10847
|
+
[k: string]: unknown | undefined
|
|
10848
|
+
}
|
|
10670
10849
|
|
|
10671
|
-
|
|
10850
|
+
groupName?: string
|
|
10672
10851
|
|
|
10673
|
-
order?: ("
|
|
10852
|
+
order?: ("asc" | "desc")
|
|
10674
10853
|
|
|
10675
|
-
|
|
10854
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10676
10855
|
|
|
10677
10856
|
selector?: ("literal" | "spread")
|
|
10678
10857
|
|
|
@@ -10730,8 +10909,6 @@ type PerfectionistSortSets = {
|
|
|
10730
10909
|
// ----- perfectionist/sort-switch-case -----
|
|
10731
10910
|
type PerfectionistSortSwitchCase = []|[{
|
|
10732
10911
|
|
|
10733
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10734
|
-
|
|
10735
10912
|
fallbackSort?: {
|
|
10736
10913
|
|
|
10737
10914
|
order?: ("asc" | "desc")
|
|
@@ -10740,6 +10917,8 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
10740
10917
|
[k: string]: unknown | undefined
|
|
10741
10918
|
}
|
|
10742
10919
|
|
|
10920
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10921
|
+
|
|
10743
10922
|
ignoreCase?: boolean
|
|
10744
10923
|
|
|
10745
10924
|
alphabet?: string
|
|
@@ -10753,8 +10932,6 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
10753
10932
|
// ----- perfectionist/sort-union-types -----
|
|
10754
10933
|
type PerfectionistSortUnionTypes = []|[{
|
|
10755
10934
|
|
|
10756
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10757
|
-
|
|
10758
10935
|
fallbackSort?: {
|
|
10759
10936
|
|
|
10760
10937
|
order?: ("asc" | "desc")
|
|
@@ -10763,6 +10940,8 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
10763
10940
|
[k: string]: unknown | undefined
|
|
10764
10941
|
}
|
|
10765
10942
|
|
|
10943
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10944
|
+
|
|
10766
10945
|
ignoreCase?: boolean
|
|
10767
10946
|
|
|
10768
10947
|
alphabet?: string
|
|
@@ -10808,8 +10987,6 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
10808
10987
|
// ----- perfectionist/sort-variable-declarations -----
|
|
10809
10988
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
10810
10989
|
|
|
10811
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10812
|
-
|
|
10813
10990
|
fallbackSort?: {
|
|
10814
10991
|
|
|
10815
10992
|
order?: ("asc" | "desc")
|
|
@@ -10818,6 +10995,8 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
10818
10995
|
[k: string]: unknown | undefined
|
|
10819
10996
|
}
|
|
10820
10997
|
|
|
10998
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10999
|
+
|
|
10821
11000
|
ignoreCase?: boolean
|
|
10822
11001
|
|
|
10823
11002
|
alphabet?: string
|
|
@@ -12595,6 +12774,8 @@ type TsEslintExplicitModuleBoundaryTypes = []|[{
|
|
|
12595
12774
|
|
|
12596
12775
|
allowHigherOrderFunctions?: boolean
|
|
12597
12776
|
|
|
12777
|
+
allowOverloadFunctions?: boolean
|
|
12778
|
+
|
|
12598
12779
|
allowTypedFunctionExpressions?: boolean
|
|
12599
12780
|
}]
|
|
12600
12781
|
// ----- ts-eslint/init-declarations -----
|
|
@@ -13626,6 +13807,8 @@ type TsEslintUnboundMethod = []|[{
|
|
|
13626
13807
|
type TsEslintUnifiedSignatures = []|[{
|
|
13627
13808
|
|
|
13628
13809
|
ignoreDifferentlyNamedParameters?: boolean
|
|
13810
|
+
|
|
13811
|
+
ignoreOverloadsWithDifferentJSDoc?: boolean
|
|
13629
13812
|
}]
|
|
13630
13813
|
// ----- unicode-bom -----
|
|
13631
13814
|
type UnicodeBom = []|[("always" | "never")]
|
|
@@ -13958,16 +14141,10 @@ type VueComponentNameInTemplateCasing = []|[("PascalCase" | "kebab-case")]|[("Pa
|
|
|
13958
14141
|
}]
|
|
13959
14142
|
// ----- vue/component-options-name-casing -----
|
|
13960
14143
|
type VueComponentOptionsNameCasing = []|[("camelCase" | "kebab-case" | "PascalCase")]
|
|
13961
|
-
// ----- vue/component-tags-order -----
|
|
13962
|
-
type VueComponentTagsOrder = []|[{
|
|
13963
|
-
order?: (string | string[])[]
|
|
13964
|
-
}]
|
|
13965
14144
|
// ----- vue/custom-event-name-casing -----
|
|
13966
|
-
type VueCustomEventNameCasing =
|
|
14145
|
+
type VueCustomEventNameCasing = []|[("kebab-case" | "camelCase")]|[("kebab-case" | "camelCase"), {
|
|
13967
14146
|
ignores?: string[]
|
|
13968
|
-
}]
|
|
13969
|
-
ignores?: string[]
|
|
13970
|
-
}])
|
|
14147
|
+
}]
|
|
13971
14148
|
// ----- vue/define-emits-declaration -----
|
|
13972
14149
|
type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
|
|
13973
14150
|
// ----- vue/define-macros-order -----
|
|
@@ -14598,6 +14775,14 @@ type VueNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
|
14598
14775
|
enforceForFunctionPrototypeMethods?: boolean
|
|
14599
14776
|
allowParensAfterCommentPattern?: string
|
|
14600
14777
|
}])
|
|
14778
|
+
// ----- vue/no-implicit-coercion -----
|
|
14779
|
+
type VueNoImplicitCoercion = []|[{
|
|
14780
|
+
boolean?: boolean
|
|
14781
|
+
number?: boolean
|
|
14782
|
+
string?: boolean
|
|
14783
|
+
disallowTemplateShorthand?: boolean
|
|
14784
|
+
allow?: ("~" | "!!" | "+" | "- -" | "-" | "*")[]
|
|
14785
|
+
}]
|
|
14601
14786
|
// ----- vue/no-irregular-whitespace -----
|
|
14602
14787
|
type VueNoIrregularWhitespace = []|[{
|
|
14603
14788
|
skipComments?: boolean
|
|
@@ -14889,9 +15074,13 @@ type VuePaddingLinesInComponentDefinition = []|[(("always" | "never") | {
|
|
|
14889
15074
|
groupSingleLineProperties?: boolean
|
|
14890
15075
|
})]
|
|
14891
15076
|
// ----- vue/prefer-true-attribute-shorthand -----
|
|
14892
|
-
type VuePreferTrueAttributeShorthand = []|[("always" | "never")]
|
|
15077
|
+
type VuePreferTrueAttributeShorthand = []|[("always" | "never")]|[("always" | "never"), {
|
|
15078
|
+
except?: string[]
|
|
15079
|
+
}]
|
|
14893
15080
|
// ----- vue/prop-name-casing -----
|
|
14894
|
-
type VuePropNameCasing = []|[("camelCase" | "snake_case")]
|
|
15081
|
+
type VuePropNameCasing = []|[("camelCase" | "snake_case")]|[("camelCase" | "snake_case"), {
|
|
15082
|
+
ignoreProps?: string[]
|
|
15083
|
+
}]
|
|
14895
15084
|
// ----- vue/quote-props -----
|
|
14896
15085
|
type VueQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
14897
15086
|
keywords?: boolean
|
|
@@ -14956,7 +15145,6 @@ type VueSortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
|
14956
15145
|
ignoreGrandchildrenOf?: unknown[]
|
|
14957
15146
|
minKeys?: number
|
|
14958
15147
|
natural?: boolean
|
|
14959
|
-
runOutsideVue?: boolean
|
|
14960
15148
|
}]
|
|
14961
15149
|
// ----- vue/space-in-parens -----
|
|
14962
15150
|
type VueSpaceInParens = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -14994,10 +15182,6 @@ type VueVOnEventHyphenation = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
14994
15182
|
})[]
|
|
14995
15183
|
ignoreTags?: string[]
|
|
14996
15184
|
}]
|
|
14997
|
-
// ----- vue/v-on-function-call -----
|
|
14998
|
-
type VueVOnFunctionCall = []|[("always" | "never")]|[("always" | "never"), {
|
|
14999
|
-
ignoreIncludesComment?: boolean
|
|
15000
|
-
}]
|
|
15001
15185
|
// ----- vue/v-on-handler-style -----
|
|
15002
15186
|
type VueVOnHandlerStyle = []|[(("inline" | "inline-function") | ["method", ("inline" | "inline-function")])]|[(("inline" | "inline-function") | ["method", ("inline" | "inline-function")]), {
|
|
15003
15187
|
ignoreIncludesComment?: boolean
|
|
@@ -15241,7 +15425,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
15241
15425
|
}]
|
|
15242
15426
|
|
|
15243
15427
|
// Names of all the configs
|
|
15244
|
-
type ConfigNames = "zayne/js-eslint/setup" | "zayne/js-eslint/recommended" | "zayne/js-eslint/rules" | "zayne/unicorn/recommended" | "zayne/unicorn/rules" | "zayne/ts-eslint/setup" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/rules" | "zayne/tailwindcss/setup" | "zayne/tailwindcss/recommended" | "zayne/tailwindcss/rules" | "zayne/perfectionist/rules" | "zayne/stylistic/rules" | "zayne/import/setup" | "zayne/import/recommended" | "zayne/import/rules" | "zayne/jsdoc/rules" | "zayne/jsonc/setup" | "zayne/jsonc/rules" | "zayne/react/setup" | "zayne/react/recommended" | "zayne/react/rules" | "zayne/react/refresh" | "zayne/react/nextjs" | "zayne/node/setup" | "zayne/node/recommended" | "zayne/node/rules" | "zayne/tanstack/
|
|
15428
|
+
type ConfigNames = "zayne/js-eslint/setup" | "zayne/js-eslint/recommended > ExtendedConfig[0]" | "zayne/js-eslint/rules" | "zayne/unicorn/recommended" | "zayne/unicorn/rules" | "zayne/ts-eslint/setup" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/rules" | "zayne/tailwindcss/setup" | "zayne/tailwindcss/recommended" | "zayne/tailwindcss/rules" | "zayne/perfectionist/rules" | "zayne/stylistic/rules" | "zayne/import/setup" | "zayne/import/recommended" | "zayne/import/rules" | "zayne/jsdoc/rules" | "zayne/jsonc/setup" | "zayne/jsonc/rules" | "zayne/react/setup" | "zayne/react/recommended" | "zayne/react/rules" | "zayne/react/refresh" | "zayne/react/nextjs" | "zayne/node/setup" | "zayne/node/recommended" | "zayne/node/rules" | "zayne/tanstack-query/recommended" | "zayne/eslint-comments/rules" | "zayne/toml/setup" | "zayne/toml/rules" | "zayne/yaml/setup" | "zayne/yaml/rules" | "zayne/vue/setup" | "zayne/vue/recommended" | "zayne/vue/rules" | "zayne/solid/setup" | "zayne/solid/recommended" | "zayne/solid/rules"
|
|
15245
15429
|
|
|
15246
15430
|
type LiteralUnion<TUnion extends TBase, TBase = string> = TUnion | (TBase & { _ignore?: never });
|
|
15247
15431
|
|
|
@@ -15874,7 +16058,7 @@ declare const solid: (options?: ExtractOptions<OptionsConfig["solid"]>) => Promi
|
|
|
15874
16058
|
* @returns
|
|
15875
16059
|
* The merged ESLint configurations.
|
|
15876
16060
|
*/
|
|
15877
|
-
declare const zayne: (options?: OptionsConfig & Prettify<Pick<TypedFlatConfigItem, "ignores">>, userConfigs
|
|
16061
|
+
declare const zayne: (options?: OptionsConfig & Prettify<Pick<TypedFlatConfigItem, "ignores">>, ...userConfigs: Array<Awaitable<FlatConfigComposer | Linter.Config[] | TypedFlatConfigItem | TypedFlatConfigItem[]>>) => FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
15878
16062
|
|
|
15879
16063
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
15880
16064
|
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
@@ -15903,9 +16087,9 @@ declare const GLOB_ASTRO = "**/*.astro";
|
|
|
15903
16087
|
declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
|
|
15904
16088
|
declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
|
|
15905
16089
|
declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
|
|
15906
|
-
declare const GLOB_TESTS:
|
|
16090
|
+
declare const GLOB_TESTS: ["**/__tests__/**/*.?([cm])[jt]s?(x)", "**/*.spec.?([cm])[jt]s?(x)", "**/*.test.?([cm])[jt]s?(x)", "**/*.bench.?([cm])[jt]s?(x)", "**/*.benchmark.?([cm])[jt]s?(x)"];
|
|
15907
16091
|
declare const GLOB_ALL_SRC: string[];
|
|
15908
|
-
declare const GLOB_EXCLUDE:
|
|
16092
|
+
declare const GLOB_EXCLUDE: ["**/node_modules", "**/dist", "**/package-lock.json", "**/yarn.lock", "**/pnpm-lock.yaml", "**/bun.lockb", "**/output", "**/coverage", "**/temp", "**/.temp", "**/tmp", "**/.tmp", "**/.history", "**/.vitepress/cache", "**/.nuxt", "**/.next", "**/.svelte-kit", "**/.vercel", "**/.changeset", "**/.idea", "**/.cache", "**/.output", "**/.vite-inspect", "**/.yarn", "**/vite.config.*.timestamp-*", "**/CHANGELOG*.md", "**/*.min.*", "**/LICENSE*", "**/__snapshots__", "**/auto-import?(s).d.ts", "**/components.d.ts"];
|
|
15909
16093
|
|
|
15910
16094
|
declare const isObject: <TObject extends Record<string, unknown>>(value: unknown) => value is TObject;
|
|
15911
16095
|
/**
|
|
@@ -15949,7 +16133,11 @@ declare const renamePlugins: (plugins: Record<string, unknown> | undefined, rena
|
|
|
15949
16133
|
* })
|
|
15950
16134
|
* ```
|
|
15951
16135
|
*/
|
|
15952
|
-
declare const renamePluginInConfigs: (
|
|
16136
|
+
declare const renamePluginInConfigs: (options: {
|
|
16137
|
+
configs: TypedFlatConfigItem[];
|
|
16138
|
+
overrides?: TypedFlatConfigItem;
|
|
16139
|
+
renameMap: Record<string, string>;
|
|
16140
|
+
}) => TypedFlatConfigItem[];
|
|
15953
16141
|
declare const isPackageInScope: (name: string) => boolean;
|
|
15954
16142
|
/**
|
|
15955
16143
|
* @description
|
|
@@ -15962,5 +16150,15 @@ declare const isPackageInScope: (name: string) => boolean;
|
|
|
15962
16150
|
*/
|
|
15963
16151
|
declare const ensurePackages: (packages: Array<string | undefined>) => Promise<void>;
|
|
15964
16152
|
declare const resolveOptions: <TObject>(option: boolean | TObject | undefined) => TObject;
|
|
16153
|
+
type OverrideOptions<TConfigName extends string> = {
|
|
16154
|
+
configName: TConfigName;
|
|
16155
|
+
files?: string[];
|
|
16156
|
+
overrides: TypedFlatConfigItem["rules"];
|
|
16157
|
+
};
|
|
16158
|
+
declare const createOverrideRules: <TConfigName extends string>(options: OverrideOptions<TConfigName>) => {
|
|
16159
|
+
files: string[] | undefined;
|
|
16160
|
+
name: `zayne/${TConfigName}/rules/overrides`;
|
|
16161
|
+
rules: Partial<Linter.RulesRecord> & Rules;
|
|
16162
|
+
};
|
|
15965
16163
|
|
|
15966
|
-
export { type Awaitable, type ConfigNames, type ExtractOptions, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLES, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsAppType, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasJsx, type OptionsHasTypeScript, type OptionsNode, type OptionsOverrides, type OptionsReact, type OptionsRegExp, type OptionsStylistic, type OptionsTailwindCSS, type OptionsTanstack, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript$1 as OptionsTypescript, type OptionsVue, type Prettify, type Rules, type TypedFlatConfigItem, combine, comments, ensurePackages, gitIgnores, ignores, imports, interopDefault, isObject, isPackageInScope, javascript, jsdoc, jsonc, node, perfectionist, react, renamePluginInConfigs, renamePlugins, renameRules, resolveOptions, solid, sortPackageJson, sortTsconfig, stylistic, tailwindcss, tanstack, toml, typescript, unicorn, vue, yaml, zayne };
|
|
16164
|
+
export { type Awaitable, type ConfigNames, type ExtractOptions, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLES, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsAppType, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasJsx, type OptionsHasTypeScript, type OptionsNode, type OptionsOverrides, type OptionsReact, type OptionsRegExp, type OptionsStylistic, type OptionsTailwindCSS, type OptionsTanstack, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript$1 as OptionsTypescript, type OptionsVue, type Prettify, type Rules, type TypedFlatConfigItem, combine, comments, createOverrideRules, ensurePackages, gitIgnores, ignores, imports, interopDefault, isObject, isPackageInScope, javascript, jsdoc, jsonc, node, perfectionist, react, renamePluginInConfigs, renamePlugins, renameRules, resolveOptions, solid, sortPackageJson, sortTsconfig, stylistic, tailwindcss, tanstack, toml, typescript, unicorn, vue, yaml, zayne };
|