@ntnyq/eslint-config 3.9.4 → 3.10.1

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.cts CHANGED
@@ -3,6 +3,7 @@ import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
3
3
  import { ESLintPluginCommandOptions } from 'eslint-plugin-command/types';
4
4
  import { RecommendedOptions } from 'eslint-plugin-github-action';
5
5
  export { default as pluginGitHubAction } from 'eslint-plugin-github-action';
6
+ import { RuleOptions as RuleOptions$1 } from 'eslint-plugin-svgo/rule-options';
6
7
  import { Options } from 'eslint-processor-vue-blocks';
7
8
  export { default as processorVueBlocks } from 'eslint-processor-vue-blocks';
8
9
  import { Linter } from 'eslint';
@@ -12,10 +13,13 @@ import { RequiredOptions, BuiltInParserName } from 'prettier';
12
13
  import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
13
14
  import * as eslintPluginRegexp from 'eslint-plugin-regexp';
14
15
  export { eslintPluginRegexp as pluginRegexp };
16
+ import * as eslintPluginDepend from 'eslint-plugin-depend';
17
+ export { eslintPluginDepend as pluginDepend };
15
18
  export { default as pluginNode } from 'eslint-plugin-n';
16
19
  export { default as pluginVue } from 'eslint-plugin-vue';
17
20
  export { default as pluginEsX } from 'eslint-plugin-es-x';
18
21
  export { default as pluginYaml } from 'eslint-plugin-yml';
22
+ export { default as pluginSvgo } from 'eslint-plugin-svgo';
19
23
  export { default as pluginToml } from 'eslint-plugin-toml';
20
24
  export { default as pluginPinia } from 'eslint-plugin-pinia';
21
25
  export { default as pluginNtnyq } from 'eslint-plugin-ntnyq';
@@ -1450,6 +1454,11 @@ interface RuleOptions {
1450
1454
  * @see https://eslint.org/docs/latest/rules/default-param-last
1451
1455
  */
1452
1456
  'default-param-last'?: Linter.RuleEntry<[]>;
1457
+ /**
1458
+ * Bans a list of dependencies from being used
1459
+ * @see https://github.com/es-tooling/eslint-plugin-depend/blob/main/docs/rules/ban-dependencies.md
1460
+ */
1461
+ 'depend/ban-dependencies'?: Linter.RuleEntry<DependBanDependencies>;
1453
1462
  /**
1454
1463
  * Enforce consistent newlines before and after dots
1455
1464
  * @see https://eslint.org/docs/latest/rules/dot-location
@@ -5887,6 +5896,11 @@ interface RuleOptions {
5887
5896
  * @see https://eslint.org/docs/latest/rules/strict
5888
5897
  */
5889
5898
  'strict'?: Linter.RuleEntry<Strict>;
5899
+ /**
5900
+ * Use SVGO to optimize SVG files
5901
+ * @see https://github.com/ntnyq/eslint-plugin-svgo
5902
+ */
5903
+ 'svgo/svgo'?: Linter.RuleEntry<SvgoSvgo>;
5890
5904
  /**
5891
5905
  * Enforce spacing around colons of switch statements
5892
5906
  * @see https://eslint.org/docs/latest/rules/switch-colon-spacing
@@ -10893,6 +10907,13 @@ type DefaultCase = [] | [
10893
10907
  commentPattern?: string;
10894
10908
  }
10895
10909
  ];
10910
+ type DependBanDependencies = [] | [
10911
+ {
10912
+ presets?: string[];
10913
+ modules?: string[];
10914
+ allowed?: string[];
10915
+ }
10916
+ ];
10896
10917
  type DotLocation = [] | [("object" | "property")];
10897
10918
  type DotNotation = [] | [
10898
10919
  {
@@ -14233,19 +14254,36 @@ type PaddingLineBetweenStatements = {
14233
14254
  prev: _PaddingLineBetweenStatementsStatementType;
14234
14255
  next: _PaddingLineBetweenStatementsStatementType;
14235
14256
  }[];
14236
- type PerfectionistSortArrayIncludes = [] | [
14237
- {
14238
- partitionByComment?: (string[] | boolean | string);
14239
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
14240
- partitionByNewLine?: boolean;
14241
- specialCharacters?: ("remove" | "trim" | "keep");
14242
- ignoreCase?: boolean;
14243
- alphabet?: string;
14244
- locales?: (string | string[]);
14245
- order?: ("asc" | "desc");
14246
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14247
- }
14248
- ];
14257
+ type PerfectionistSortArrayIncludes = {
14258
+ partitionByComment?: (string[] | boolean | string);
14259
+ groupKind?: ("mixed" | "literals-first" | "spreads-first");
14260
+ customGroups?: ({
14261
+ groupName?: string;
14262
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14263
+ order?: ("desc" | "asc");
14264
+ anyOf?: {
14265
+ selector?: ("literal" | "spread");
14266
+ elementNamePattern?: string;
14267
+ }[];
14268
+ } | {
14269
+ groupName?: string;
14270
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14271
+ order?: ("desc" | "asc");
14272
+ selector?: ("literal" | "spread");
14273
+ elementNamePattern?: string;
14274
+ })[];
14275
+ useConfigurationIf?: {
14276
+ allNamesMatchPattern?: string;
14277
+ };
14278
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
14279
+ partitionByNewLine?: boolean;
14280
+ specialCharacters?: ("remove" | "trim" | "keep");
14281
+ ignoreCase?: boolean;
14282
+ alphabet?: string;
14283
+ locales?: (string | string[]);
14284
+ groups?: (string | string[])[];
14285
+ order?: ("asc" | "desc");
14286
+ }[];
14249
14287
  type PerfectionistSortClasses = [] | [
14250
14288
  {
14251
14289
  ignoreCallbackDependenciesPatterns?: string[];
@@ -14276,10 +14314,10 @@ type PerfectionistSortClasses = [] | [
14276
14314
  newlinesBetween?: ("ignore" | "always" | "never");
14277
14315
  ignoreCase?: boolean;
14278
14316
  alphabet?: string;
14317
+ type?: ("alphabetical" | "natural" | "line-length" | "custom");
14279
14318
  locales?: (string | string[]);
14280
14319
  groups?: (string | string[])[];
14281
14320
  order?: ("asc" | "desc");
14282
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14283
14321
  }
14284
14322
  ];
14285
14323
  type PerfectionistSortDecorators = [] | [
@@ -14296,10 +14334,10 @@ type PerfectionistSortDecorators = [] | [
14296
14334
  };
14297
14335
  ignoreCase?: boolean;
14298
14336
  alphabet?: string;
14337
+ type?: ("alphabetical" | "natural" | "line-length" | "custom");
14299
14338
  locales?: (string | string[]);
14300
14339
  groups?: (string | string[])[];
14301
14340
  order?: ("asc" | "desc");
14302
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14303
14341
  }
14304
14342
  ];
14305
14343
  type PerfectionistSortEnums = [] | [
@@ -14311,9 +14349,9 @@ type PerfectionistSortEnums = [] | [
14311
14349
  specialCharacters?: ("remove" | "trim" | "keep");
14312
14350
  ignoreCase?: boolean;
14313
14351
  alphabet?: string;
14352
+ type?: ("alphabetical" | "natural" | "line-length" | "custom");
14314
14353
  locales?: (string | string[]);
14315
14354
  order?: ("asc" | "desc");
14316
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14317
14355
  }
14318
14356
  ];
14319
14357
  type PerfectionistSortExports = [] | [
@@ -14324,9 +14362,9 @@ type PerfectionistSortExports = [] | [
14324
14362
  specialCharacters?: ("remove" | "trim" | "keep");
14325
14363
  ignoreCase?: boolean;
14326
14364
  alphabet?: string;
14365
+ type?: ("alphabetical" | "natural" | "line-length" | "custom");
14327
14366
  locales?: (string | string[]);
14328
14367
  order?: ("asc" | "desc");
14329
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14330
14368
  }
14331
14369
  ];
14332
14370
  type PerfectionistSortHeritageClauses = [] | [
@@ -14337,10 +14375,10 @@ type PerfectionistSortHeritageClauses = [] | [
14337
14375
  };
14338
14376
  ignoreCase?: boolean;
14339
14377
  alphabet?: string;
14378
+ type?: ("alphabetical" | "natural" | "line-length" | "custom");
14340
14379
  locales?: (string | string[]);
14341
14380
  groups?: (string | string[])[];
14342
14381
  order?: ("asc" | "desc");
14343
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14344
14382
  }
14345
14383
  ];
14346
14384
  type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports];
@@ -14364,10 +14402,10 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
14364
14402
  newlinesBetween?: ("ignore" | "always" | "never");
14365
14403
  ignoreCase?: boolean;
14366
14404
  alphabet?: string;
14405
+ type?: ("alphabetical" | "natural" | "line-length" | "custom");
14367
14406
  locales?: (string | string[]);
14368
14407
  groups?: (string | string[])[];
14369
14408
  order?: ("asc" | "desc");
14370
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14371
14409
  });
14372
14410
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
14373
14411
  [k: string]: unknown | undefined;
@@ -14376,41 +14414,43 @@ interface _PerfectionistSortImports_IsLineLength {
14376
14414
  type: "line-length";
14377
14415
  [k: string]: unknown | undefined;
14378
14416
  }
14379
- type PerfectionistSortInterfaces = [] | [
14380
- {
14381
- ignorePattern?: string[];
14382
- partitionByComment?: (string[] | boolean | string);
14383
- customGroups?: ({
14384
- [k: string]: (string | string[]) | undefined;
14385
- } | ({
14386
- groupName?: string;
14387
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14388
- order?: ("desc" | "asc");
14389
- anyOf?: {
14390
- modifiers?: ("optional" | "required" | "multiline")[];
14391
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
14392
- elementNamePattern?: string;
14393
- }[];
14394
- } | {
14395
- groupName?: string;
14396
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14397
- order?: ("desc" | "asc");
14417
+ type PerfectionistSortInterfaces = {
14418
+ ignorePattern?: string[];
14419
+ useConfigurationIf?: {
14420
+ allNamesMatchPattern?: string;
14421
+ declarationMatchesPattern?: string;
14422
+ };
14423
+ partitionByComment?: (string[] | boolean | string);
14424
+ customGroups?: ({
14425
+ [k: string]: (string | string[]) | undefined;
14426
+ } | ({
14427
+ groupName?: string;
14428
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14429
+ order?: ("desc" | "asc");
14430
+ anyOf?: {
14398
14431
  modifiers?: ("optional" | "required" | "multiline")[];
14399
14432
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
14400
14433
  elementNamePattern?: string;
14401
- })[]);
14402
- groupKind?: ("mixed" | "required-first" | "optional-first");
14403
- partitionByNewLine?: boolean;
14404
- specialCharacters?: ("remove" | "trim" | "keep");
14405
- newlinesBetween?: ("ignore" | "always" | "never");
14406
- ignoreCase?: boolean;
14407
- alphabet?: string;
14408
- locales?: (string | string[]);
14409
- groups?: (string | string[])[];
14410
- order?: ("asc" | "desc");
14411
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14412
- }
14413
- ];
14434
+ }[];
14435
+ } | {
14436
+ groupName?: string;
14437
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14438
+ order?: ("desc" | "asc");
14439
+ modifiers?: ("optional" | "required" | "multiline")[];
14440
+ selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
14441
+ elementNamePattern?: string;
14442
+ })[]);
14443
+ groupKind?: ("mixed" | "required-first" | "optional-first");
14444
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
14445
+ partitionByNewLine?: boolean;
14446
+ specialCharacters?: ("remove" | "trim" | "keep");
14447
+ newlinesBetween?: ("ignore" | "always" | "never");
14448
+ ignoreCase?: boolean;
14449
+ alphabet?: string;
14450
+ locales?: (string | string[]);
14451
+ groups?: (string | string[])[];
14452
+ order?: ("asc" | "desc");
14453
+ }[];
14414
14454
  type PerfectionistSortIntersectionTypes = [] | [
14415
14455
  {
14416
14456
  partitionByComment?: (string[] | boolean | string);
@@ -14419,10 +14459,10 @@ type PerfectionistSortIntersectionTypes = [] | [
14419
14459
  newlinesBetween?: ("ignore" | "always" | "never");
14420
14460
  ignoreCase?: boolean;
14421
14461
  alphabet?: string;
14462
+ type?: ("alphabetical" | "natural" | "line-length" | "custom");
14422
14463
  locales?: (string | string[]);
14423
14464
  groups?: (string | string[])[];
14424
14465
  order?: ("asc" | "desc");
14425
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14426
14466
  }
14427
14467
  ];
14428
14468
  type PerfectionistSortJsxProps = [] | [
@@ -14434,10 +14474,10 @@ type PerfectionistSortJsxProps = [] | [
14434
14474
  };
14435
14475
  ignoreCase?: boolean;
14436
14476
  alphabet?: string;
14477
+ type?: ("alphabetical" | "natural" | "line-length" | "custom");
14437
14478
  locales?: (string | string[]);
14438
14479
  groups?: (string | string[])[];
14439
14480
  order?: ("asc" | "desc");
14440
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14441
14481
  }
14442
14482
  ];
14443
14483
  type PerfectionistSortMaps = [] | [
@@ -14447,9 +14487,9 @@ type PerfectionistSortMaps = [] | [
14447
14487
  specialCharacters?: ("remove" | "trim" | "keep");
14448
14488
  ignoreCase?: boolean;
14449
14489
  alphabet?: string;
14490
+ type?: ("alphabetical" | "natural" | "line-length" | "custom");
14450
14491
  locales?: (string | string[]);
14451
14492
  order?: ("asc" | "desc");
14452
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14453
14493
  }
14454
14494
  ];
14455
14495
  type PerfectionistSortModules = [] | [
@@ -14479,10 +14519,10 @@ type PerfectionistSortModules = [] | [
14479
14519
  newlinesBetween?: ("ignore" | "always" | "never");
14480
14520
  ignoreCase?: boolean;
14481
14521
  alphabet?: string;
14522
+ type?: ("alphabetical" | "natural" | "line-length" | "custom");
14482
14523
  locales?: (string | string[]);
14483
14524
  groups?: (string | string[])[];
14484
14525
  order?: ("asc" | "desc");
14485
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14486
14526
  }
14487
14527
  ];
14488
14528
  type PerfectionistSortNamedExports = [] | [
@@ -14493,9 +14533,9 @@ type PerfectionistSortNamedExports = [] | [
14493
14533
  specialCharacters?: ("remove" | "trim" | "keep");
14494
14534
  ignoreCase?: boolean;
14495
14535
  alphabet?: string;
14536
+ type?: ("alphabetical" | "natural" | "line-length" | "custom");
14496
14537
  locales?: (string | string[]);
14497
14538
  order?: ("asc" | "desc");
14498
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14499
14539
  }
14500
14540
  ];
14501
14541
  type PerfectionistSortNamedImports = [] | [
@@ -14507,59 +14547,63 @@ type PerfectionistSortNamedImports = [] | [
14507
14547
  specialCharacters?: ("remove" | "trim" | "keep");
14508
14548
  ignoreCase?: boolean;
14509
14549
  alphabet?: string;
14550
+ type?: ("alphabetical" | "natural" | "line-length" | "custom");
14510
14551
  locales?: (string | string[]);
14511
14552
  order?: ("asc" | "desc");
14512
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14513
14553
  }
14514
14554
  ];
14515
- type PerfectionistSortObjectTypes = [] | [
14516
- {
14517
- ignorePattern?: string[];
14518
- partitionByComment?: (string[] | boolean | string);
14519
- customGroups?: ({
14520
- [k: string]: (string | string[]) | undefined;
14521
- } | ({
14522
- groupName?: string;
14523
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14524
- order?: ("desc" | "asc");
14525
- anyOf?: {
14526
- modifiers?: ("optional" | "required" | "multiline")[];
14527
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
14528
- elementNamePattern?: string;
14529
- }[];
14530
- } | {
14531
- groupName?: string;
14532
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14533
- order?: ("desc" | "asc");
14555
+ type PerfectionistSortObjectTypes = {
14556
+ ignorePattern?: string[];
14557
+ useConfigurationIf?: {
14558
+ allNamesMatchPattern?: string;
14559
+ declarationMatchesPattern?: string;
14560
+ };
14561
+ partitionByComment?: (string[] | boolean | string);
14562
+ customGroups?: ({
14563
+ [k: string]: (string | string[]) | undefined;
14564
+ } | ({
14565
+ groupName?: string;
14566
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14567
+ order?: ("desc" | "asc");
14568
+ anyOf?: {
14534
14569
  modifiers?: ("optional" | "required" | "multiline")[];
14535
14570
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
14536
14571
  elementNamePattern?: string;
14537
- })[]);
14538
- groupKind?: ("mixed" | "required-first" | "optional-first");
14539
- partitionByNewLine?: boolean;
14540
- specialCharacters?: ("remove" | "trim" | "keep");
14541
- newlinesBetween?: ("ignore" | "always" | "never");
14542
- ignoreCase?: boolean;
14543
- alphabet?: string;
14544
- locales?: (string | string[]);
14545
- groups?: (string | string[])[];
14546
- order?: ("asc" | "desc");
14547
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14548
- }
14549
- ];
14572
+ }[];
14573
+ } | {
14574
+ groupName?: string;
14575
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14576
+ order?: ("desc" | "asc");
14577
+ modifiers?: ("optional" | "required" | "multiline")[];
14578
+ selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
14579
+ elementNamePattern?: string;
14580
+ })[]);
14581
+ groupKind?: ("mixed" | "required-first" | "optional-first");
14582
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
14583
+ partitionByNewLine?: boolean;
14584
+ specialCharacters?: ("remove" | "trim" | "keep");
14585
+ newlinesBetween?: ("ignore" | "always" | "never");
14586
+ ignoreCase?: boolean;
14587
+ alphabet?: string;
14588
+ locales?: (string | string[]);
14589
+ groups?: (string | string[])[];
14590
+ order?: ("asc" | "desc");
14591
+ }[];
14550
14592
  type PerfectionistSortObjects = {
14551
14593
  destructuredObjects?: (boolean | {
14552
14594
  groups?: boolean;
14553
14595
  });
14554
14596
  ignorePattern?: string[];
14597
+ useConfigurationIf?: {
14598
+ allNamesMatchPattern?: string;
14599
+ callingFunctionNamePattern?: string;
14600
+ };
14555
14601
  partitionByComment?: (string[] | boolean | string);
14556
14602
  destructureOnly?: boolean;
14557
14603
  objectDeclarations?: boolean;
14558
14604
  styledComponents?: boolean;
14605
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
14559
14606
  partitionByNewLine?: boolean;
14560
- useConfigurationIf?: {
14561
- allNamesMatchPattern?: string;
14562
- };
14563
14607
  specialCharacters?: ("remove" | "trim" | "keep");
14564
14608
  newlinesBetween?: ("ignore" | "always" | "never");
14565
14609
  customGroups?: {
@@ -14570,29 +14614,45 @@ type PerfectionistSortObjects = {
14570
14614
  locales?: (string | string[]);
14571
14615
  groups?: (string | string[])[];
14572
14616
  order?: ("asc" | "desc");
14573
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14574
14617
  }[];
14575
- type PerfectionistSortSets = [] | [
14576
- {
14577
- partitionByComment?: (string[] | boolean | string);
14578
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
14579
- partitionByNewLine?: boolean;
14580
- specialCharacters?: ("remove" | "trim" | "keep");
14581
- ignoreCase?: boolean;
14582
- alphabet?: string;
14583
- locales?: (string | string[]);
14584
- order?: ("asc" | "desc");
14585
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14586
- }
14587
- ];
14618
+ type PerfectionistSortSets = {
14619
+ partitionByComment?: (string[] | boolean | string);
14620
+ groupKind?: ("mixed" | "literals-first" | "spreads-first");
14621
+ customGroups?: ({
14622
+ groupName?: string;
14623
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14624
+ order?: ("desc" | "asc");
14625
+ anyOf?: {
14626
+ selector?: ("literal" | "spread");
14627
+ elementNamePattern?: string;
14628
+ }[];
14629
+ } | {
14630
+ groupName?: string;
14631
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14632
+ order?: ("desc" | "asc");
14633
+ selector?: ("literal" | "spread");
14634
+ elementNamePattern?: string;
14635
+ })[];
14636
+ useConfigurationIf?: {
14637
+ allNamesMatchPattern?: string;
14638
+ };
14639
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
14640
+ partitionByNewLine?: boolean;
14641
+ specialCharacters?: ("remove" | "trim" | "keep");
14642
+ ignoreCase?: boolean;
14643
+ alphabet?: string;
14644
+ locales?: (string | string[]);
14645
+ groups?: (string | string[])[];
14646
+ order?: ("asc" | "desc");
14647
+ }[];
14588
14648
  type PerfectionistSortSwitchCase = [] | [
14589
14649
  {
14590
14650
  specialCharacters?: ("remove" | "trim" | "keep");
14591
14651
  ignoreCase?: boolean;
14592
14652
  alphabet?: string;
14653
+ type?: ("alphabetical" | "natural" | "line-length" | "custom");
14593
14654
  locales?: (string | string[]);
14594
14655
  order?: ("asc" | "desc");
14595
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14596
14656
  }
14597
14657
  ];
14598
14658
  type PerfectionistSortUnionTypes = [] | [
@@ -14603,10 +14663,10 @@ type PerfectionistSortUnionTypes = [] | [
14603
14663
  newlinesBetween?: ("ignore" | "always" | "never");
14604
14664
  ignoreCase?: boolean;
14605
14665
  alphabet?: string;
14666
+ type?: ("alphabetical" | "natural" | "line-length" | "custom");
14606
14667
  locales?: (string | string[]);
14607
14668
  groups?: (string | string[])[];
14608
14669
  order?: ("asc" | "desc");
14609
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14610
14670
  }
14611
14671
  ];
14612
14672
  type PerfectionistSortVariableDeclarations = [] | [
@@ -14616,9 +14676,9 @@ type PerfectionistSortVariableDeclarations = [] | [
14616
14676
  specialCharacters?: ("remove" | "trim" | "keep");
14617
14677
  ignoreCase?: boolean;
14618
14678
  alphabet?: string;
14679
+ type?: ("alphabetical" | "natural" | "line-length" | "custom");
14619
14680
  locales?: (string | string[]);
14620
14681
  order?: ("asc" | "desc");
14621
- type?: ("alphabetical" | "natural" | "line-length" | "custom");
14622
14682
  }
14623
14683
  ];
14624
14684
  type PiniaPreferUseStoreNamingConvention = [] | [
@@ -14963,6 +15023,493 @@ type SpacedComment = [] | [("always" | "never")] | [
14963
15023
  }
14964
15024
  ];
14965
15025
  type Strict = [] | [("never" | "global" | "function" | "safe")];
15026
+ type SvgoSvgo = [] | [
15027
+ {
15028
+ path?: string;
15029
+ multipass?: boolean;
15030
+ floatPrecision?: number;
15031
+ datauri?: ("base64" | "enc" | "unenc");
15032
+ js2svg?: {
15033
+ attrEnd?: string;
15034
+ attrStart?: string;
15035
+ cdataEnd?: string;
15036
+ cdataStart?: string;
15037
+ commentEnd?: string;
15038
+ commentStart?: string;
15039
+ doctypeEnd?: string;
15040
+ doctypeStart?: string;
15041
+ eol?: ("lf" | "crlf");
15042
+ finalNewline?: boolean;
15043
+ indent?: (string | number);
15044
+ pretty?: boolean;
15045
+ procInstEnd?: string;
15046
+ procInstStart?: string;
15047
+ tagCloseEnd?: string;
15048
+ tagCloseStart?: string;
15049
+ tagOpenEnd?: string;
15050
+ tagOpenStart?: string;
15051
+ tagShortEnd?: string;
15052
+ tagShortStart?: string;
15053
+ textEnd?: string;
15054
+ textStart?: string;
15055
+ useShortTags?: boolean;
15056
+ };
15057
+ plugins?: (("preset-default" | "cleanupAttrs" | "cleanupEnableBackground" | "cleanupIds" | "cleanupNumericValues" | "collapseGroups" | "convertColors" | "convertEllipseToCircle" | "convertPathData" | "convertShapeToPath" | "convertTransform" | "inlineStyles" | "mergePaths" | "mergeStyles" | "minifyStyles" | "moveElemsAttrsToGroup" | "moveGroupAttrsToElems" | "removeComments" | "removeDesc" | "removeDoctype" | "removeEditorsNSData" | "removeEmptyAttrs" | "removeEmptyContainers" | "removeEmptyText" | "removeHiddenElems" | "removeMetadata" | "removeNonInheritableGroupAttrs" | "removeTitle" | "removeUnknownsAndDefaults" | "removeUnusedNS" | "removeUselessDefs" | "removeUselessStrokeAndFill" | "removeViewBox" | "removeXMLProcInst" | "sortAttrs" | "sortDefsChildren" | "addAttributesToSVGElement" | "addClassesToSVGElement" | "cleanupListOfValues" | "convertOneStopGradients" | "convertStyleToAttrs" | "prefixIds" | "removeAttributesBySelector" | "removeAttrs" | "removeDeprecatedAttrs" | "removeDimensions" | "removeElementsByAttr" | "removeOffCanvasPaths" | "removeRasterImages" | "removeScripts" | "removeStyleElement" | "removeXlink" | "removeXMLNS" | "reusePaths") | {
15058
+ name: "addAttributesToSVGElement";
15059
+ params?: {
15060
+ attribute?: (string | {
15061
+ [k: string]: (string | null);
15062
+ });
15063
+ attributes?: (string | {
15064
+ [k: string]: (string | null);
15065
+ })[];
15066
+ };
15067
+ } | {
15068
+ name: "addClassesToSVGElement";
15069
+ params?: {
15070
+ className?: string;
15071
+ classNames?: string[];
15072
+ };
15073
+ } | {
15074
+ name: "cleanupAttrs";
15075
+ params?: {
15076
+ newlines?: boolean;
15077
+ trim?: boolean;
15078
+ spaces?: boolean;
15079
+ };
15080
+ } | {
15081
+ name: "cleanupEnableBackground";
15082
+ } | {
15083
+ name: "cleanupIds";
15084
+ params?: {
15085
+ remove?: boolean;
15086
+ minify?: boolean;
15087
+ force?: boolean;
15088
+ preserve?: string[];
15089
+ preservePrefixes?: string[];
15090
+ };
15091
+ } | {
15092
+ name: "cleanupListOfValues";
15093
+ params?: {
15094
+ floatPrecision?: number;
15095
+ leadingZero?: boolean;
15096
+ defaultPx?: boolean;
15097
+ convertToPx?: boolean;
15098
+ };
15099
+ } | {
15100
+ name: "cleanupNumericValues";
15101
+ params?: {
15102
+ floatPrecision?: number;
15103
+ leadingZero?: boolean;
15104
+ defaultPx?: boolean;
15105
+ convertToPx?: boolean;
15106
+ };
15107
+ } | {
15108
+ name: "collapseGroups";
15109
+ } | {
15110
+ name: "convertColors";
15111
+ params?: {
15112
+ currentColor?: (boolean | string);
15113
+ names2hex?: boolean;
15114
+ rgb2hex?: boolean;
15115
+ convertCase?: (false | ("lower" | "upper"));
15116
+ shorthex?: boolean;
15117
+ shortname?: boolean;
15118
+ };
15119
+ } | {
15120
+ name: "convertEllipseToCircle";
15121
+ } | {
15122
+ name: "convertOneStopGradients";
15123
+ } | {
15124
+ name: "convertPathData";
15125
+ params?: {
15126
+ applyTransforms?: boolean;
15127
+ applyTransformsStroked?: boolean;
15128
+ makeArcs?: {
15129
+ threshold?: number;
15130
+ tolerance?: number;
15131
+ };
15132
+ straightCurves?: boolean;
15133
+ convertToQ?: boolean;
15134
+ lineShorthands?: boolean;
15135
+ convertToZ?: boolean;
15136
+ curveSmoothShorthands?: boolean;
15137
+ floatPrecision?: (false | number);
15138
+ transformPrecision?: number;
15139
+ smartArcRounding?: boolean;
15140
+ removeUseless?: boolean;
15141
+ collapseRepeated?: boolean;
15142
+ utilizeAbsolute?: boolean;
15143
+ leadingZero?: boolean;
15144
+ negativeExtraSpace?: boolean;
15145
+ noSpaceAfterFlags?: boolean;
15146
+ forceAbsolutePath?: boolean;
15147
+ };
15148
+ } | {
15149
+ name: "convertShapeToPath";
15150
+ params?: {
15151
+ convertArcs?: boolean;
15152
+ floatPrecision?: number;
15153
+ };
15154
+ } | {
15155
+ name: "convertStyleToAttrs";
15156
+ params?: {
15157
+ keepImportant?: boolean;
15158
+ };
15159
+ } | {
15160
+ name: "convertTransform";
15161
+ params?: {
15162
+ convertToShorts?: boolean;
15163
+ floatPrecision?: number;
15164
+ transformPrecision?: number;
15165
+ matrixToTransform?: boolean;
15166
+ shortTranslate?: boolean;
15167
+ shortScale?: boolean;
15168
+ shortRotate?: boolean;
15169
+ removeUseless?: boolean;
15170
+ collapseIntoOne?: boolean;
15171
+ };
15172
+ } | {
15173
+ name: "inlineStyles";
15174
+ params?: {
15175
+ onlyMatchedOnce?: boolean;
15176
+ removeMatchedSelectors?: boolean;
15177
+ useMqs?: string[];
15178
+ usePseudos?: string[];
15179
+ };
15180
+ } | {
15181
+ name: "mergePaths";
15182
+ params?: {
15183
+ force?: boolean;
15184
+ floatPrecision?: number;
15185
+ noSpaceAfterFlags?: boolean;
15186
+ };
15187
+ } | {
15188
+ name: "mergeStyles";
15189
+ } | {
15190
+ name: "minifyStyles";
15191
+ params?: {
15192
+ restructure?: boolean;
15193
+ forceMediaMerge?: boolean;
15194
+ comments?: (boolean | string);
15195
+ usage?: (boolean | {
15196
+ force?: boolean;
15197
+ ids?: boolean;
15198
+ classes?: boolean;
15199
+ tags?: boolean;
15200
+ });
15201
+ };
15202
+ } | {
15203
+ name: "moveElemsAttrsToGroup";
15204
+ } | {
15205
+ name: "moveGroupAttrsToElems";
15206
+ } | {
15207
+ name: "prefixIds";
15208
+ params?: {
15209
+ delim?: string;
15210
+ prefix?: (boolean | string);
15211
+ prefixIds?: boolean;
15212
+ prefixClassNames?: boolean;
15213
+ };
15214
+ } | {
15215
+ name: "preset-default";
15216
+ params?: {
15217
+ overrides?: {
15218
+ cleanupAttrs?: (boolean | {
15219
+ newlines?: boolean;
15220
+ trim?: boolean;
15221
+ spaces?: boolean;
15222
+ });
15223
+ cleanupEnableBackground?: false;
15224
+ cleanupIds?: (boolean | {
15225
+ remove?: boolean;
15226
+ minify?: boolean;
15227
+ force?: boolean;
15228
+ preserve?: string[];
15229
+ preservePrefixes?: string[];
15230
+ });
15231
+ cleanupNumericValues?: (boolean | {
15232
+ floatPrecision?: number;
15233
+ leadingZero?: boolean;
15234
+ defaultPx?: boolean;
15235
+ convertToPx?: boolean;
15236
+ });
15237
+ collapseGroups?: false;
15238
+ convertColors?: (boolean | {
15239
+ currentColor?: (boolean | string);
15240
+ names2hex?: boolean;
15241
+ rgb2hex?: boolean;
15242
+ convertCase?: (false | ("lower" | "upper"));
15243
+ shorthex?: boolean;
15244
+ shortname?: boolean;
15245
+ });
15246
+ convertEllipseToCircle?: false;
15247
+ convertPathData?: (boolean | {
15248
+ applyTransforms?: boolean;
15249
+ applyTransformsStroked?: boolean;
15250
+ makeArcs?: {
15251
+ threshold?: number;
15252
+ tolerance?: number;
15253
+ };
15254
+ straightCurves?: boolean;
15255
+ convertToQ?: boolean;
15256
+ lineShorthands?: boolean;
15257
+ convertToZ?: boolean;
15258
+ curveSmoothShorthands?: boolean;
15259
+ floatPrecision?: (false | number);
15260
+ transformPrecision?: number;
15261
+ smartArcRounding?: boolean;
15262
+ removeUseless?: boolean;
15263
+ collapseRepeated?: boolean;
15264
+ utilizeAbsolute?: boolean;
15265
+ leadingZero?: boolean;
15266
+ negativeExtraSpace?: boolean;
15267
+ noSpaceAfterFlags?: boolean;
15268
+ forceAbsolutePath?: boolean;
15269
+ });
15270
+ convertShapeToPath?: (boolean | {
15271
+ convertArcs?: boolean;
15272
+ floatPrecision?: number;
15273
+ });
15274
+ convertTransform?: (boolean | {
15275
+ convertToShorts?: boolean;
15276
+ floatPrecision?: number;
15277
+ transformPrecision?: number;
15278
+ matrixToTransform?: boolean;
15279
+ shortTranslate?: boolean;
15280
+ shortScale?: boolean;
15281
+ shortRotate?: boolean;
15282
+ removeUseless?: boolean;
15283
+ collapseIntoOne?: boolean;
15284
+ });
15285
+ inlineStyles?: (boolean | {
15286
+ onlyMatchedOnce?: boolean;
15287
+ removeMatchedSelectors?: boolean;
15288
+ useMqs?: string[];
15289
+ usePseudos?: string[];
15290
+ });
15291
+ mergePaths?: (boolean | {
15292
+ force?: boolean;
15293
+ floatPrecision?: number;
15294
+ noSpaceAfterFlags?: boolean;
15295
+ });
15296
+ mergeStyles?: false;
15297
+ minifyStyles?: (boolean | {
15298
+ restructure?: boolean;
15299
+ forceMediaMerge?: boolean;
15300
+ comments?: (boolean | string);
15301
+ usage?: (boolean | {
15302
+ force?: boolean;
15303
+ ids?: boolean;
15304
+ classes?: boolean;
15305
+ tags?: boolean;
15306
+ });
15307
+ });
15308
+ moveElemsAttrsToGroup?: false;
15309
+ moveGroupAttrsToElems?: false;
15310
+ removeComments?: (boolean | {
15311
+ preservePatterns?: (false | string[]);
15312
+ });
15313
+ removeDesc?: (boolean | {
15314
+ removeAny?: boolean;
15315
+ });
15316
+ removeDoctype?: (boolean | {});
15317
+ removeEditorsNSData?: (boolean | {
15318
+ additionalNamespaces?: string[];
15319
+ });
15320
+ removeEmptyAttrs?: false;
15321
+ removeEmptyContainers?: false;
15322
+ removeEmptyText?: (boolean | {
15323
+ text?: boolean;
15324
+ tspan?: boolean;
15325
+ tref?: boolean;
15326
+ });
15327
+ removeHiddenElems?: (boolean | {
15328
+ isHidden?: boolean;
15329
+ displayNone?: boolean;
15330
+ opacity0?: boolean;
15331
+ circleR0?: boolean;
15332
+ ellipseRX0?: boolean;
15333
+ ellipseRY0?: boolean;
15334
+ rectWidth0?: boolean;
15335
+ rectHeight0?: boolean;
15336
+ patternWidth0?: boolean;
15337
+ patternHeight0?: boolean;
15338
+ imageWidth0?: boolean;
15339
+ imageHeight0?: boolean;
15340
+ pathEmptyD?: boolean;
15341
+ polylineEmptyPoints?: boolean;
15342
+ polygonEmptyPoints?: boolean;
15343
+ });
15344
+ removeMetadata?: false;
15345
+ removeNonInheritableGroupAttrs?: false;
15346
+ removeTitle?: false;
15347
+ removeUnknownsAndDefaults?: (boolean | {
15348
+ unknownContent?: boolean;
15349
+ unknownAttrs?: boolean;
15350
+ defaultAttrs?: boolean;
15351
+ defaultMarkupDeclarations?: boolean;
15352
+ uselessOverrides?: boolean;
15353
+ keepDataAttrs?: boolean;
15354
+ keepAriaAttrs?: boolean;
15355
+ keepRoleAttr?: boolean;
15356
+ });
15357
+ removeUnusedNS?: false;
15358
+ removeUselessDefs?: false;
15359
+ removeUselessStrokeAndFill?: (boolean | {
15360
+ stroke?: boolean;
15361
+ fill?: boolean;
15362
+ removeNone?: boolean;
15363
+ });
15364
+ removeViewBox?: false;
15365
+ removeXMLProcInst?: false;
15366
+ sortAttrs?: (boolean | {
15367
+ order?: string[];
15368
+ xmlnsOrder?: ("front" | "alphabetical");
15369
+ });
15370
+ sortDefsChildren?: false;
15371
+ };
15372
+ };
15373
+ } | {
15374
+ name: "removeAttributesBySelector";
15375
+ params?: {
15376
+ selectors?: {
15377
+ selector?: string;
15378
+ attributes?: string[];
15379
+ [k: string]: unknown | undefined;
15380
+ }[];
15381
+ };
15382
+ } | {
15383
+ name: "removeAttrs";
15384
+ params?: {
15385
+ attrs?: (string | string[]);
15386
+ elemSeparator?: string;
15387
+ preserveCurrentColor?: boolean;
15388
+ };
15389
+ } | {
15390
+ name: "removeComments";
15391
+ params?: {
15392
+ preservePatterns?: (false | string[]);
15393
+ };
15394
+ } | {
15395
+ name: "removeDeprecatedAttrs";
15396
+ params?: {
15397
+ removeAny?: boolean;
15398
+ };
15399
+ } | {
15400
+ name: "removeDesc";
15401
+ params?: {
15402
+ removeAny?: boolean;
15403
+ };
15404
+ } | {
15405
+ name: "removeDimensions";
15406
+ params?: {};
15407
+ } | {
15408
+ name: "removeDoctype";
15409
+ params?: {};
15410
+ } | {
15411
+ name: "removeEditorsNSData";
15412
+ params?: {
15413
+ additionalNamespaces?: string[];
15414
+ };
15415
+ } | {
15416
+ name: "removeElementsByAttr";
15417
+ params?: {
15418
+ id?: (string | string[]);
15419
+ class?: (string | string[]);
15420
+ };
15421
+ } | {
15422
+ name: "removeEmptyAttrs";
15423
+ } | {
15424
+ name: "removeEmptyContainers";
15425
+ } | {
15426
+ name: "removeEmptyText";
15427
+ params?: {
15428
+ text?: boolean;
15429
+ tspan?: boolean;
15430
+ tref?: boolean;
15431
+ };
15432
+ } | {
15433
+ name: "removeHiddenElems";
15434
+ params?: {
15435
+ isHidden?: boolean;
15436
+ displayNone?: boolean;
15437
+ opacity0?: boolean;
15438
+ circleR0?: boolean;
15439
+ ellipseRX0?: boolean;
15440
+ ellipseRY0?: boolean;
15441
+ rectWidth0?: boolean;
15442
+ rectHeight0?: boolean;
15443
+ patternWidth0?: boolean;
15444
+ patternHeight0?: boolean;
15445
+ imageWidth0?: boolean;
15446
+ imageHeight0?: boolean;
15447
+ pathEmptyD?: boolean;
15448
+ polylineEmptyPoints?: boolean;
15449
+ polygonEmptyPoints?: boolean;
15450
+ };
15451
+ } | {
15452
+ name: "removeMetadata";
15453
+ } | {
15454
+ name: "removeNonInheritableGroupAttrs";
15455
+ } | {
15456
+ name: "removeOffCanvasPaths";
15457
+ } | {
15458
+ name: "removeRasterImages";
15459
+ } | {
15460
+ name: "removeScripts";
15461
+ } | {
15462
+ name: "removeStyleElement";
15463
+ } | {
15464
+ name: "removeTitle";
15465
+ } | {
15466
+ name: "removeUnknownsAndDefaults";
15467
+ params?: {
15468
+ unknownContent?: boolean;
15469
+ unknownAttrs?: boolean;
15470
+ defaultAttrs?: boolean;
15471
+ defaultMarkupDeclarations?: boolean;
15472
+ uselessOverrides?: boolean;
15473
+ keepDataAttrs?: boolean;
15474
+ keepAriaAttrs?: boolean;
15475
+ keepRoleAttr?: boolean;
15476
+ };
15477
+ } | {
15478
+ name: "removeUnusedNS";
15479
+ } | {
15480
+ name: "removeUselessDefs";
15481
+ } | {
15482
+ name: "removeUselessStrokeAndFill";
15483
+ params?: {
15484
+ stroke?: boolean;
15485
+ fill?: boolean;
15486
+ removeNone?: boolean;
15487
+ };
15488
+ } | {
15489
+ name: "removeViewBox";
15490
+ } | {
15491
+ name: "removeXlink";
15492
+ params?: {
15493
+ includeLegacy?: boolean;
15494
+ };
15495
+ } | {
15496
+ name: "removeXMLNS";
15497
+ } | {
15498
+ name: "removeXMLProcInst";
15499
+ } | {
15500
+ name: "reusePaths";
15501
+ } | {
15502
+ name: "sortAttrs";
15503
+ params?: {
15504
+ order?: string[];
15505
+ xmlnsOrder?: ("front" | "alphabetical");
15506
+ };
15507
+ } | {
15508
+ name: "sortDefsChildren";
15509
+ })[];
15510
+ svgoConfig?: (boolean | string);
15511
+ }
15512
+ ];
14966
15513
  type SwitchColonSpacing = [] | [
14967
15514
  {
14968
15515
  before?: boolean;
@@ -17050,12 +17597,16 @@ type Yoda = [] | [("always" | "never")] | [
17050
17597
  onlyEquality?: boolean;
17051
17598
  }
17052
17599
  ];
17053
- type ConfigNames = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/es-x' | 'ntnyq/format/setup' | 'ntnyq/format/css' | 'ntnyq/format/scss' | 'ntnyq/format/less' | 'ntnyq/format/html' | 'ntnyq/github-action' | 'ntnyq/gitignore' | 'ntnyq/ignores' | 'ntnyq/import-x' | 'ntnyq/js/recommended' | 'ntnyq/js/core' | 'ntnyq/jsdoc' | 'ntnyq/jsonc' | 'ntnyq/jsx' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/processor' | 'ntnyq/markdown/parser' | 'ntnyq/markdown/disabled/code-blocks' | 'ntnyq/node' | 'ntnyq/ntnyq' | 'ntnyq/pinia' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/perfectionist/common' | 'ntnyq/perfectionist/enums' | 'ntnyq/perfectionist/types' | 'ntnyq/perfectionist/constants' | 'ntnyq/regexp' | 'ntnyq/sort/tsconfig' | 'ntnyq/sort/package-json' | 'ntnyq/sort/i18n-locale/json' | 'ntnyq/sort/i18n-locale/yaml' | 'ntnyq/sort/pnpm-workspace' | 'ntnyq/specials/scripts' | 'ntnyq/specials/cli' | 'ntnyq/specials/userscript' | 'ntnyq/specials/config-file' | 'ntnyq/stylistic' | 'ntnyq/toml' | 'ntnyq/ts/setup' | 'ntnyq/ts/parser' | 'ntnyq/ts/rules' | 'ntnyq/ts/types' | 'ntnyq/unused-imports' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'ntnyq/vitest' | 'ntnyq/vue/setup' | 'ntnyq/vue/rules' | 'ntnyq/yaml';
17600
+ type ConfigNames = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/depend' | 'ntnyq/depend/package-json' | 'ntnyq/es-x' | 'ntnyq/format/setup' | 'ntnyq/format/css' | 'ntnyq/format/scss' | 'ntnyq/format/less' | 'ntnyq/format/html' | 'ntnyq/github-action' | 'ntnyq/gitignore' | 'ntnyq/ignores' | 'ntnyq/import-x' | 'ntnyq/js/recommended' | 'ntnyq/js/core' | 'ntnyq/jsdoc' | 'ntnyq/jsonc' | 'ntnyq/jsx' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/processor' | 'ntnyq/markdown/parser' | 'ntnyq/markdown/disabled/code-blocks' | 'ntnyq/node' | 'ntnyq/ntnyq' | 'ntnyq/pinia' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/perfectionist/common' | 'ntnyq/perfectionist/enums' | 'ntnyq/perfectionist/types' | 'ntnyq/perfectionist/constants' | 'ntnyq/regexp' | 'ntnyq/sort/tsconfig' | 'ntnyq/sort/package-json' | 'ntnyq/sort/i18n-locale/json' | 'ntnyq/sort/i18n-locale/yaml' | 'ntnyq/sort/pnpm-workspace' | 'ntnyq/specials/scripts' | 'ntnyq/specials/cli' | 'ntnyq/specials/userscript' | 'ntnyq/specials/config-file' | 'ntnyq/stylistic' | 'ntnyq/svgo' | 'ntnyq/toml' | 'ntnyq/ts/setup' | 'ntnyq/ts/parser' | 'ntnyq/ts/rules' | 'ntnyq/ts/types' | 'ntnyq/unused-imports' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'ntnyq/vitest' | 'ntnyq/vue/setup' | 'ntnyq/vue/rules' | 'ntnyq/yaml';
17054
17601
 
17602
+ /**
17603
+ * ESLint rules
17604
+ */
17605
+ type ESLintRulesRecord = Linter.RulesRecord;
17055
17606
  /**
17056
17607
  * ESLint config
17057
17608
  */
17058
- type ESLintConfig = Linter.Config;
17609
+ type ESLintConfig<Rules extends ESLintRulesRecord = ESLintRulesRecord> = Linter.Config<Rules>;
17059
17610
  /**
17060
17611
  * ESLint parser
17061
17612
  */
@@ -17081,7 +17632,7 @@ type TSESLintParserOptions = Pretty<Required<Required<ConfigWithExtends>['langua
17081
17632
  /**
17082
17633
  * Typed flat config item
17083
17634
  */
17084
- type TypedConfigItem = Omit<Linter.Config<Linter.RulesRecord & RuleOptions>, 'plugins'> & {
17635
+ type TypedConfigItem = Omit<Linter.Config<ESLintRulesRecord & RuleOptions>, 'plugins'> & {
17085
17636
  /**
17086
17637
  * Most plugin are not properly typed
17087
17638
  */
@@ -17092,64 +17643,21 @@ type TypedConfigItem = Omit<Linter.Config<Linter.RulesRecord & RuleOptions>, 'pl
17092
17643
  * @file Config options
17093
17644
  */
17094
17645
 
17095
- type ConfigIgnoresOptions = string[];
17096
- /**
17097
- * Options for overrides `files`
17098
- */
17099
- type ConfigCommandOptions = ESLintPluginCommandOptions;
17100
- interface ConfigYmlOptions extends OptionsOverrides {
17101
- }
17102
- interface OptionsFiles {
17103
- files?: string[];
17104
- }
17105
- /**
17106
- * Options for add `extensions` support
17107
- */
17108
17646
  interface ConfigAntfuOptions extends OptionsOverrides {
17109
17647
  }
17648
+ type ConfigCommandOptions = ESLintPluginCommandOptions;
17110
17649
  interface ConfigCommentsOptions extends OptionsOverrides {
17111
17650
  }
17112
- interface ConfigEsXOptions extends OptionsOverrides {
17113
- }
17114
- interface ConfigGitHubActionOptions extends RecommendedOptions, OptionsOverrides {
17115
- }
17116
- interface ConfigImportXOptions extends OptionsOverrides {
17117
- }
17118
- interface ConfigJsdocOptions extends OptionsFeatures, OptionsOverrides {
17119
- }
17120
- interface ConfigJsoncOptions extends OptionsOverrides {
17121
- }
17122
- interface ConfigNodeOptions extends OptionsOverrides {
17123
- }
17124
- interface ConfigNtnyqOptions extends OptionsOverrides {
17125
- }
17126
- interface ConfigPiniaOptions extends OptionsFiles, OptionsOverrides {
17127
- }
17128
- interface ConfigStylisticOptions extends OptionsOverrides {
17129
- }
17130
- interface ConfigTomlOptions extends OptionsOverrides {
17131
- }
17132
- interface ConfigUnicornOptions extends OptionsOverrides {
17133
- }
17134
- interface ConfigUnusedImportsOptions extends OptionsOverrides {
17135
- }
17136
- interface OptionsExtensions {
17137
- extensions?: string[];
17138
- }
17139
- /**
17140
- * Options for add `features` support
17141
- */
17142
- interface ConfigMarkdownOptions extends OptionsExtensions, OptionsFiles, OptionsOverrides {
17143
- }
17144
- type OptionsFeatures = {
17651
+ interface ConfigDependOptions extends OptionsFiles, OptionsOverrides {
17145
17652
  /**
17146
- * Enable typescript support
17653
+ * Check deps in package.json
17654
+ *
17655
+ * @default true
17147
17656
  */
17148
- typescript?: boolean;
17149
- };
17150
- /**
17151
- * Options for overrides `rules`
17152
- */
17657
+ packageJson?: boolean;
17658
+ }
17659
+ interface ConfigEsXOptions extends OptionsOverrides {
17660
+ }
17153
17661
  interface ConfigFormatOptions {
17154
17662
  /**
17155
17663
  * Enable formatter support for css, less, scss, sass and etc.
@@ -17178,6 +17686,8 @@ interface ConfigFormatOptions {
17178
17686
  */
17179
17687
  dprintOptions?: boolean;
17180
17688
  }
17689
+ interface ConfigGitHubActionOptions extends RecommendedOptions, OptionsOverrides {
17690
+ }
17181
17691
  type ConfigGitIgnoreOptions = Omit<FlatGitignoreOptions, 'strict'> & {
17182
17692
  /**
17183
17693
  * Throw an error if gitignore file not found.
@@ -17186,6 +17696,9 @@ type ConfigGitIgnoreOptions = Omit<FlatGitignoreOptions, 'strict'> & {
17186
17696
  */
17187
17697
  strict?: boolean;
17188
17698
  };
17699
+ type ConfigIgnoresOptions = string[];
17700
+ interface ConfigImportXOptions extends OptionsOverrides {
17701
+ }
17189
17702
  interface ConfigJavaScriptOptions extends OptionsOverrides {
17190
17703
  /**
17191
17704
  * Enable strict checking for JavaScript files
@@ -17194,6 +17707,16 @@ interface ConfigJavaScriptOptions extends OptionsOverrides {
17194
17707
  */
17195
17708
  strict?: boolean;
17196
17709
  }
17710
+ interface ConfigJsdocOptions extends OptionsFeatures, OptionsOverrides {
17711
+ }
17712
+ interface ConfigJsoncOptions extends OptionsOverrides {
17713
+ }
17714
+ interface ConfigMarkdownOptions extends OptionsExtensions, OptionsFiles, OptionsOverrides {
17715
+ }
17716
+ interface ConfigNodeOptions extends OptionsOverrides {
17717
+ }
17718
+ interface ConfigNtnyqOptions extends OptionsOverrides {
17719
+ }
17197
17720
  interface ConfigPerfectionistOptions extends OptionsOverrides {
17198
17721
  /**
17199
17722
  * Enable sort `constants`
@@ -17226,6 +17749,8 @@ interface ConfigPerfectionistOptions extends OptionsOverrides {
17226
17749
  */
17227
17750
  overridesTypesRules?: TypedConfigItem['rules'];
17228
17751
  }
17752
+ interface ConfigPiniaOptions extends OptionsFiles, OptionsOverrides {
17753
+ }
17229
17754
  interface ConfigPrettierOptions extends OptionsOverrides {
17230
17755
  /**
17231
17756
  * TODO: remove in next major version
@@ -17304,12 +17829,17 @@ interface ConfigSpecialsOptions {
17304
17829
  */
17305
17830
  specialCaseConfigs?: TypedConfigItem[];
17306
17831
  }
17832
+ interface ConfigStylisticOptions extends OptionsOverrides {
17833
+ }
17834
+ type ConfigSVGOOptions = ESLintConfig<RuleOptions$1>;
17307
17835
  interface ConfigTestOptions extends OptionsOverrides {
17308
17836
  /**
17309
17837
  * Overrides built-in vitest rules
17310
17838
  */
17311
17839
  overridesVitestRules?: TypedConfigItem['rules'];
17312
17840
  }
17841
+ interface ConfigTomlOptions extends OptionsOverrides {
17842
+ }
17313
17843
  interface ConfigTypeScriptOptions extends OptionsExtensions, OptionsFiles, OptionsOverrides {
17314
17844
  /**
17315
17845
  * Enable type aware check for TypeScript files
@@ -17334,6 +17864,8 @@ interface ConfigTypeScriptOptions extends OptionsExtensions, OptionsFiles, Optio
17334
17864
  */
17335
17865
  overridesTypeAwareRules?: TypedConfigItem['rules'];
17336
17866
  }
17867
+ interface ConfigUnicornOptions extends OptionsOverrides {
17868
+ }
17337
17869
  interface ConfigUnoCSSOptions extends OptionsOverrides {
17338
17870
  /**
17339
17871
  * Enable attributify sort order
@@ -17342,6 +17874,8 @@ interface ConfigUnoCSSOptions extends OptionsOverrides {
17342
17874
  */
17343
17875
  attributify?: boolean;
17344
17876
  }
17877
+ interface ConfigUnusedImportsOptions extends OptionsOverrides {
17878
+ }
17345
17879
  interface ConfigVueOptions extends OptionsFeatures, OptionsFiles, OptionsOverrides {
17346
17880
  /**
17347
17881
  * Create virtual files for Vue SFC blocks to enable linting.
@@ -17358,6 +17892,32 @@ interface ConfigVueOptions extends OptionsFeatures, OptionsFiles, OptionsOverrid
17358
17892
  */
17359
17893
  vueVersion?: 2 | 3;
17360
17894
  }
17895
+ interface ConfigYmlOptions extends OptionsOverrides {
17896
+ }
17897
+ /**
17898
+ * Options for overrides `files`
17899
+ */
17900
+ interface OptionsFiles {
17901
+ files?: string[];
17902
+ }
17903
+ /**
17904
+ * Options for add `extensions` support
17905
+ */
17906
+ interface OptionsExtensions {
17907
+ extensions?: string[];
17908
+ }
17909
+ /**
17910
+ * Options for add `features` support
17911
+ */
17912
+ type OptionsFeatures = {
17913
+ /**
17914
+ * Enable typescript support
17915
+ */
17916
+ typescript?: boolean;
17917
+ };
17918
+ /**
17919
+ * Options for overrides `rules`
17920
+ */
17361
17921
  interface OptionsOverrides<Rules extends TypedConfigItem['rules'] = TypedConfigItem['rules']> {
17362
17922
  overrides?: Rules;
17363
17923
  }
@@ -17386,6 +17946,7 @@ interface ConfigOptions extends ConfigOptionsInternal, OptionsExtensions {
17386
17946
  * bellow can be disabled
17387
17947
  */
17388
17948
  antfu?: boolean | ConfigAntfuOptions;
17949
+ depend?: boolean | ConfigDependOptions;
17389
17950
  githubAction?: boolean | ConfigGitHubActionOptions;
17390
17951
  gitignore?: boolean | ConfigGitIgnoreOptions;
17391
17952
  jsonc?: boolean | ConfigJsoncOptions;
@@ -17396,6 +17957,7 @@ interface ConfigOptions extends ConfigOptionsInternal, OptionsExtensions {
17396
17957
  regexp?: boolean | ConfigRegexpOptions;
17397
17958
  sort?: boolean | ConfigSortOptions;
17398
17959
  stylistic?: boolean | ConfigStylisticOptions;
17960
+ svgo?: boolean | ConfigSVGOOptions;
17399
17961
  test?: boolean | ConfigTestOptions;
17400
17962
  toml?: boolean | ConfigTomlOptions;
17401
17963
  typescript?: boolean | ConfigTypeScriptOptions;
@@ -17441,6 +18003,7 @@ declare const GLOB_POSTCSS = "**/*.{p,post}css";
17441
18003
  declare const GLOB_JSON = "**/*.json";
17442
18004
  declare const GLOB_JSON5 = "**/*.json5";
17443
18005
  declare const GLOB_JSONC = "**/*.jsonc";
18006
+ declare const GLOB_PACKAGE_JSON = "**/package.json";
17444
18007
  declare const GLOB_VUE = "**/*.vue";
17445
18008
  declare const GLOB_YAML = "**/*.y?(a)ml";
17446
18009
  declare const GLOB_TOML = "**/*.toml";
@@ -17519,6 +18082,8 @@ declare const toml: (options?: ConfigTomlOptions) => TypedConfigItem[];
17519
18082
  declare const test: (options?: ConfigTestOptions) => TypedConfigItem[];
17520
18083
  declare const vitest: (options?: ConfigTestOptions) => TypedConfigItem[];
17521
18084
 
18085
+ declare const svgo: (options?: ConfigSVGOOptions) => TypedConfigItem[];
18086
+
17522
18087
  declare const antfu: (options?: ConfigAntfuOptions) => TypedConfigItem[];
17523
18088
 
17524
18089
  declare const jsdoc: (options?: ConfigJsdocOptions) => TypedConfigItem[];
@@ -17529,6 +18094,11 @@ declare const pinia: (options?: ConfigPiniaOptions) => TypedConfigItem[];
17529
18094
 
17530
18095
  declare const ntnyq: (options?: ConfigNtnyqOptions) => TypedConfigItem[];
17531
18096
 
18097
+ /**
18098
+ * @see {@link https://github.com/es-tooling/module-replacements}
18099
+ */
18100
+ declare const depend: (options?: ConfigDependOptions) => TypedConfigItem[];
18101
+
17532
18102
  /**
17533
18103
  * @file config for plugin regexp
17534
18104
  * @see {@link https://github.com/ota-meshi/eslint-plugin-regexp}
@@ -17582,4 +18152,4 @@ declare const unusedImports: (options?: ConfigUnusedImportsOptions) => TypedConf
17582
18152
  */
17583
18153
  declare const DEFAULT_PRETTIER_OPTIONS: PrettierOptions;
17584
18154
 
17585
- export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigEsXOptions, type ConfigFormatOptions, type ConfigGitHubActionOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportXOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigNames, type ConfigNodeOptions, type ConfigNtnyqOptions, type ConfigOptions, type ConfigPerfectionistOptions, type ConfigPiniaOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigSortOptions, type ConfigSpecialsOptions, type ConfigStylisticOptions, type ConfigTestOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVueOptions, type ConfigYmlOptions, DEFAULT_PRETTIER_OPTIONS, type ESLintConfig, type ESLintParser, type ESLintParserOptions, type ESLintProcessor, type ESLintRuleSeverity, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_GITHUB_ACTION, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_PINIA_STORE, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_TYPES, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type OptionsExtensions, type OptionsFeatures, type OptionsFiles, type OptionsOverrides, type PrettierOptions, type Pretty, type ResolvedOptions, type RuleOptions, type TSESLintParserOptions, type TypedConfigItem, antfu, command, comments, defineESLintConfig, esX, format, getOverrides, githubAction, gitignore, hasPinia, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, importX, interopDefault, javascript, jsdoc, jsonc, jsx, loadPlugin, markdown, mergePrettierOptions, node, ntnyq, parserPlain, parserTypeScript, perfectionist, pinia, prettier, regexp, resolveSubOptions, sort, specials, stylistic, test, toArray, toml, typescript, unicorn, unocss, unusedImports, vitest, vue, yml };
18155
+ export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigDependOptions, type ConfigEsXOptions, type ConfigFormatOptions, type ConfigGitHubActionOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportXOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigNames, type ConfigNodeOptions, type ConfigNtnyqOptions, type ConfigOptions, type ConfigPerfectionistOptions, type ConfigPiniaOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigSVGOOptions, type ConfigSortOptions, type ConfigSpecialsOptions, type ConfigStylisticOptions, type ConfigTestOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVueOptions, type ConfigYmlOptions, DEFAULT_PRETTIER_OPTIONS, type ESLintConfig, type ESLintParser, type ESLintParserOptions, type ESLintProcessor, type ESLintRuleSeverity, type ESLintRulesRecord, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_GITHUB_ACTION, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_PACKAGE_JSON, GLOB_PINIA_STORE, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_TYPES, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type OptionsExtensions, type OptionsFeatures, type OptionsFiles, type OptionsOverrides, type PrettierOptions, type Pretty, type ResolvedOptions, type RuleOptions, type TSESLintParserOptions, type TypedConfigItem, antfu, command, comments, defineESLintConfig, depend, esX, format, getOverrides, githubAction, gitignore, hasPinia, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, importX, interopDefault, javascript, jsdoc, jsonc, jsx, loadPlugin, markdown, mergePrettierOptions, node, ntnyq, parserPlain, parserTypeScript, perfectionist, pinia, prettier, regexp, resolveSubOptions, sort, specials, stylistic, svgo, test, toArray, toml, typescript, unicorn, unocss, unusedImports, vitest, vue, yml };