@ntnyq/eslint-config 4.0.0-beta.10 → 4.0.0-beta.12

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.
@@ -16,14 +16,15 @@ export { eslintPluginRegexp as pluginRegexp };
16
16
  export { default as pluginNode } from 'eslint-plugin-n';
17
17
  export { default as pluginVue } from 'eslint-plugin-vue';
18
18
  export { default as pluginYml } from 'eslint-plugin-yml';
19
+ export { default as pluginPnpm } from 'eslint-plugin-pnpm';
19
20
  export { default as pluginSvgo } from 'eslint-plugin-svgo';
20
21
  export { default as pluginToml } from 'eslint-plugin-toml';
21
22
  export { default as pluginMarkdown } from '@eslint/markdown';
22
23
  export { default as pluginAntfu } from 'eslint-plugin-antfu';
23
24
  export { default as pluginJsdoc } from 'eslint-plugin-jsdoc';
24
25
  export { default as pluginJsonc } from 'eslint-plugin-jsonc';
25
- export { default as pluginPinia } from 'eslint-plugin-pinia';
26
26
  export { default as pluginNtnyq } from 'eslint-plugin-ntnyq';
27
+ export { default as pluginPinia } from 'eslint-plugin-pinia';
27
28
  export { default as pluginFormat } from 'eslint-plugin-format';
28
29
  export { default as pluginUnoCSS } from '@unocss/eslint-plugin';
29
30
  export { default as pluginVitest } from '@vitest/eslint-plugin';
@@ -35,7 +36,6 @@ export { default as pluginNoOnlyTests } from 'eslint-plugin-no-only-tests';
35
36
  export { default as pluginPerfectionist } from 'eslint-plugin-perfectionist';
36
37
  export { default as pluginUnusedImports } from 'eslint-plugin-unused-imports';
37
38
  export { default as pluginComments } from '@eslint-community/eslint-plugin-eslint-comments';
38
- import * as eslint_plugin_import_x_node_resolver_js from 'eslint-plugin-import-x/node-resolver.js';
39
39
  export { mergeProcessors, processorPassThrough } from 'eslint-merge-processors';
40
40
  import * as vueEslintParser from 'vue-eslint-parser';
41
41
  export { vueEslintParser as parserVue };
@@ -45,7 +45,6 @@ import * as yamlEslintParser from 'yaml-eslint-parser';
45
45
  export { yamlEslintParser as parserYaml };
46
46
  import * as jsoncEslintParser from 'jsonc-eslint-parser';
47
47
  export { jsoncEslintParser as parserJsonc };
48
- export { createTypeScriptImportResolver } from 'eslint-import-resolver-typescript';
49
48
 
50
49
  /**
51
50
  * @file Type Utils
@@ -72,7 +71,7 @@ type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
72
71
  /**
73
72
  * Options type of {@link configVue}
74
73
  */
75
- interface ConfigVueOptions extends OptionsFeatures, OptionsFiles, OptionsOverrides {
74
+ type ConfigVueOptions = OptionsFiles & OptionsOverrides & OptionsShareable & {
76
75
  /**
77
76
  * Create virtual files for Vue SFC blocks to enable linting.
78
77
  *
@@ -81,7 +80,7 @@ interface ConfigVueOptions extends OptionsFeatures, OptionsFiles, OptionsOverrid
81
80
  * @default true
82
81
  */
83
82
  sfcBlocks?: boolean | Options;
84
- }
83
+ };
85
84
  /**
86
85
  * Config for vue files
87
86
  *
@@ -120,6 +119,20 @@ type ConfigNodeOptions = OptionsOverrides;
120
119
  */
121
120
  declare const configNode: (options?: ConfigNodeOptions) => TypedConfigItem[];
122
121
 
122
+ /**
123
+ * Options type of {@link configPnpm}
124
+ */
125
+ type ConfigPnpmOptions = OptionsFiles & OptionsOverrides;
126
+ /**
127
+ * Config for optimize logic
128
+ *
129
+ * @see {@link https://github.com/azat-io/eslint-plugin-de-morgan}
130
+ *
131
+ * @param options - {@link ConfigPnpmOptions}
132
+ * @returns ESLint configs
133
+ */
134
+ declare const configPnpm: (options?: ConfigPnpmOptions) => TypedConfigItem[];
135
+
123
136
  /**
124
137
  * Options type of {@link configSort}
125
138
  */
@@ -227,7 +240,7 @@ declare const configAntfu: (options?: ConfigAntfuOptions) => TypedConfigItem[];
227
240
  /**
228
241
  * Options type of {@link configJsdoc}
229
242
  */
230
- type ConfigJsdocOptions = OptionsFeatures & OptionsOverrides;
243
+ type ConfigJsdocOptions = Pick<OptionsShareable, 'typescript'> & OptionsOverrides;
231
244
  /**
232
245
  * Config for jsdoc
233
246
  *
@@ -411,7 +424,7 @@ declare const configIgnores: (customIgnores?: ConfigIgnoresOptions) => TypedConf
411
424
  /**
412
425
  * Options type of {@link configImportX}
413
426
  */
414
- type ConfigImportXOptions = OptionsFeatures & OptionsOverrides & {
427
+ type ConfigImportXOptions = Pick<OptionsShareable, 'typescript'> & OptionsOverrides & {
415
428
  /**
416
429
  * Use [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) if `typescript` is installed
417
430
  *
@@ -460,7 +473,7 @@ declare const configDeMorgan: (options?: ConfigDeMorganOptions) => TypedConfigIt
460
473
  /**
461
474
  * Options type of {@link configMarkdown}
462
475
  */
463
- type ConfigMarkdownOptions = OptionsExtensions & OptionsFiles & OptionsOverrides;
476
+ type ConfigMarkdownOptions = OptionsFiles & OptionsOverrides & Pick<OptionsShareable, 'extraFileExtensions'>;
464
477
  /**
465
478
  * Config for markdown files
466
479
  *
@@ -594,7 +607,7 @@ declare const configJSX: () => TypedConfigItem[];
594
607
  /**
595
608
  * Options type of {@link configTypeScript}
596
609
  */
597
- type ConfigTypeScriptOptions = OptionsExtensions & OptionsFiles & OptionsOverrides & {
610
+ type ConfigTypeScriptOptions = OptionsFiles & OptionsOverrides & Pick<OptionsShareable, 'extraFileExtensions'> & {
598
611
  /**
599
612
  * Glob patterns for files that should be type aware.
600
613
  * @default ['**\/*.{ts,tsx}']
@@ -617,6 +630,10 @@ type ConfigTypeScriptOptions = OptionsExtensions & OptionsFiles & OptionsOverrid
617
630
  * Enable type aware check for TypeScript files
618
631
  */
619
632
  tsconfigPath?: string;
633
+ /**
634
+ * Globs of files to run with default project compiler
635
+ */
636
+ allowDefaultProject?: string[];
620
637
  };
621
638
  /**
622
639
  * Config for TypeScript files
@@ -4172,6 +4189,21 @@ interface RuleOptions {
4172
4189
  * @see https://github.com/lisilinhart/eslint-plugin-pinia/blob/main/docs/rules/require-setup-store-properties-export.md
4173
4190
  */
4174
4191
  'pinia/require-setup-store-properties-export'?: Linter.RuleEntry<[]>
4192
+ /**
4193
+ * Enforce using "catalog:" in `package.json`
4194
+ * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/enforce-catalog.test.ts
4195
+ */
4196
+ 'pnpm/enforce-catalog'?: Linter.RuleEntry<PnpmEnforceCatalog>
4197
+ /**
4198
+ * Prefer having pnpm settings in `pnpm-workspace.yaml` instead of `package.json`. This would requires pnpm v10.6+, see https://github.com/orgs/pnpm/discussions/9037.
4199
+ * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/prefer-workspace-settings.test.ts
4200
+ */
4201
+ 'pnpm/prefer-workspace-settings'?: Linter.RuleEntry<PnpmPreferWorkspaceSettings>
4202
+ /**
4203
+ * Enforce using valid catalog in `package.json`
4204
+ * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/valid-catalog.test.ts
4205
+ */
4206
+ 'pnpm/valid-catalog'?: Linter.RuleEntry<PnpmValidCatalog>
4175
4207
  /**
4176
4208
  * Require using arrow functions for callbacks
4177
4209
  * @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
@@ -11137,8 +11169,6 @@ type PaddingLineBetweenStatements = {
11137
11169
  // ----- perfectionist/sort-array-includes -----
11138
11170
  type PerfectionistSortArrayIncludes = {
11139
11171
 
11140
- specialCharacters?: ("remove" | "trim" | "keep")
11141
-
11142
11172
  fallbackSort?: {
11143
11173
 
11144
11174
  order?: ("asc" | "desc")
@@ -11147,6 +11177,8 @@ type PerfectionistSortArrayIncludes = {
11147
11177
  [k: string]: unknown | undefined
11148
11178
  }
11149
11179
 
11180
+ specialCharacters?: ("remove" | "trim" | "keep")
11181
+
11150
11182
  ignoreCase?: boolean
11151
11183
 
11152
11184
  alphabet?: string
@@ -11161,13 +11193,21 @@ type PerfectionistSortArrayIncludes = {
11161
11193
 
11162
11194
  customGroups?: ({
11163
11195
 
11164
- groupName?: string
11196
+ newlinesInside?: ("always" | "never")
11197
+
11198
+ fallbackSort?: {
11199
+
11200
+ order?: ("asc" | "desc")
11201
+
11202
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11203
+ [k: string]: unknown | undefined
11204
+ }
11165
11205
 
11166
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11206
+ groupName?: string
11167
11207
 
11168
- order?: ("desc" | "asc")
11208
+ order?: ("asc" | "desc")
11169
11209
 
11170
- newlinesInside?: ("always" | "never")
11210
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11171
11211
  anyOf?: {
11172
11212
 
11173
11213
  selector?: ("literal" | "spread")
@@ -11182,13 +11222,21 @@ type PerfectionistSortArrayIncludes = {
11182
11222
  }[]
11183
11223
  } | {
11184
11224
 
11185
- groupName?: string
11225
+ newlinesInside?: ("always" | "never")
11186
11226
 
11187
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11227
+ fallbackSort?: {
11228
+
11229
+ order?: ("asc" | "desc")
11230
+
11231
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11232
+ [k: string]: unknown | undefined
11233
+ }
11188
11234
 
11189
- order?: ("desc" | "asc")
11235
+ groupName?: string
11190
11236
 
11191
- newlinesInside?: ("always" | "never")
11237
+ order?: ("asc" | "desc")
11238
+
11239
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11192
11240
 
11193
11241
  selector?: ("literal" | "spread")
11194
11242
 
@@ -11246,8 +11294,6 @@ type PerfectionistSortArrayIncludes = {
11246
11294
  // ----- perfectionist/sort-classes -----
11247
11295
  type PerfectionistSortClasses = []|[{
11248
11296
 
11249
- specialCharacters?: ("remove" | "trim" | "keep")
11250
-
11251
11297
  fallbackSort?: {
11252
11298
 
11253
11299
  order?: ("asc" | "desc")
@@ -11256,6 +11302,8 @@ type PerfectionistSortClasses = []|[{
11256
11302
  [k: string]: unknown | undefined
11257
11303
  }
11258
11304
 
11305
+ specialCharacters?: ("remove" | "trim" | "keep")
11306
+
11259
11307
  ignoreCase?: boolean
11260
11308
 
11261
11309
  alphabet?: string
@@ -11268,13 +11316,21 @@ type PerfectionistSortClasses = []|[{
11268
11316
 
11269
11317
  customGroups?: ({
11270
11318
 
11271
- groupName?: string
11319
+ newlinesInside?: ("always" | "never")
11320
+
11321
+ fallbackSort?: {
11322
+
11323
+ order?: ("asc" | "desc")
11324
+
11325
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11326
+ [k: string]: unknown | undefined
11327
+ }
11272
11328
 
11273
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11329
+ groupName?: string
11274
11330
 
11275
- order?: ("desc" | "asc")
11331
+ order?: ("asc" | "desc")
11276
11332
 
11277
- newlinesInside?: ("always" | "never")
11333
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11278
11334
  anyOf?: {
11279
11335
 
11280
11336
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
@@ -11307,13 +11363,21 @@ type PerfectionistSortClasses = []|[{
11307
11363
  }[]
11308
11364
  } | {
11309
11365
 
11310
- groupName?: string
11366
+ newlinesInside?: ("always" | "never")
11311
11367
 
11312
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11368
+ fallbackSort?: {
11369
+
11370
+ order?: ("asc" | "desc")
11371
+
11372
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11373
+ [k: string]: unknown | undefined
11374
+ }
11313
11375
 
11314
- order?: ("desc" | "asc")
11376
+ groupName?: string
11315
11377
 
11316
- newlinesInside?: ("always" | "never")
11378
+ order?: ("asc" | "desc")
11379
+
11380
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11317
11381
 
11318
11382
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
11319
11383
 
@@ -11387,8 +11451,6 @@ type PerfectionistSortClasses = []|[{
11387
11451
  // ----- perfectionist/sort-decorators -----
11388
11452
  type PerfectionistSortDecorators = []|[{
11389
11453
 
11390
- specialCharacters?: ("remove" | "trim" | "keep")
11391
-
11392
11454
  fallbackSort?: {
11393
11455
 
11394
11456
  order?: ("asc" | "desc")
@@ -11397,6 +11459,8 @@ type PerfectionistSortDecorators = []|[{
11397
11459
  [k: string]: unknown | undefined
11398
11460
  }
11399
11461
 
11462
+ specialCharacters?: ("remove" | "trim" | "keep")
11463
+
11400
11464
  ignoreCase?: boolean
11401
11465
 
11402
11466
  alphabet?: string
@@ -11452,8 +11516,6 @@ type PerfectionistSortDecorators = []|[{
11452
11516
  // ----- perfectionist/sort-enums -----
11453
11517
  type PerfectionistSortEnums = []|[{
11454
11518
 
11455
- specialCharacters?: ("remove" | "trim" | "keep")
11456
-
11457
11519
  fallbackSort?: {
11458
11520
 
11459
11521
  order?: ("asc" | "desc")
@@ -11462,6 +11524,8 @@ type PerfectionistSortEnums = []|[{
11462
11524
  [k: string]: unknown | undefined
11463
11525
  }
11464
11526
 
11527
+ specialCharacters?: ("remove" | "trim" | "keep")
11528
+
11465
11529
  ignoreCase?: boolean
11466
11530
 
11467
11531
  alphabet?: string
@@ -11477,13 +11541,21 @@ type PerfectionistSortEnums = []|[{
11477
11541
  [k: string]: (string | string[]) | undefined
11478
11542
  } | ({
11479
11543
 
11480
- groupName?: string
11544
+ newlinesInside?: ("always" | "never")
11481
11545
 
11482
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11546
+ fallbackSort?: {
11547
+
11548
+ order?: ("asc" | "desc")
11549
+
11550
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11551
+ [k: string]: unknown | undefined
11552
+ }
11483
11553
 
11484
- order?: ("desc" | "asc")
11554
+ groupName?: string
11485
11555
 
11486
- newlinesInside?: ("always" | "never")
11556
+ order?: ("asc" | "desc")
11557
+
11558
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11487
11559
  anyOf?: {
11488
11560
 
11489
11561
  elementValuePattern?: (({
@@ -11504,13 +11576,21 @@ type PerfectionistSortEnums = []|[{
11504
11576
  }[]
11505
11577
  } | {
11506
11578
 
11507
- groupName?: string
11579
+ newlinesInside?: ("always" | "never")
11580
+
11581
+ fallbackSort?: {
11582
+
11583
+ order?: ("asc" | "desc")
11584
+
11585
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11586
+ [k: string]: unknown | undefined
11587
+ }
11508
11588
 
11509
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11589
+ groupName?: string
11510
11590
 
11511
- order?: ("desc" | "asc")
11591
+ order?: ("asc" | "desc")
11512
11592
 
11513
- newlinesInside?: ("always" | "never")
11593
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11514
11594
 
11515
11595
  elementValuePattern?: (({
11516
11596
  pattern?: string
@@ -11566,8 +11646,6 @@ type PerfectionistSortEnums = []|[{
11566
11646
  // ----- perfectionist/sort-exports -----
11567
11647
  type PerfectionistSortExports = []|[{
11568
11648
 
11569
- specialCharacters?: ("remove" | "trim" | "keep")
11570
-
11571
11649
  fallbackSort?: {
11572
11650
 
11573
11651
  order?: ("asc" | "desc")
@@ -11576,6 +11654,8 @@ type PerfectionistSortExports = []|[{
11576
11654
  [k: string]: unknown | undefined
11577
11655
  }
11578
11656
 
11657
+ specialCharacters?: ("remove" | "trim" | "keep")
11658
+
11579
11659
  ignoreCase?: boolean
11580
11660
 
11581
11661
  alphabet?: string
@@ -11616,8 +11696,6 @@ type PerfectionistSortExports = []|[{
11616
11696
  // ----- perfectionist/sort-heritage-clauses -----
11617
11697
  type PerfectionistSortHeritageClauses = []|[{
11618
11698
 
11619
- specialCharacters?: ("remove" | "trim" | "keep")
11620
-
11621
11699
  fallbackSort?: {
11622
11700
 
11623
11701
  order?: ("asc" | "desc")
@@ -11626,6 +11704,8 @@ type PerfectionistSortHeritageClauses = []|[{
11626
11704
  [k: string]: unknown | undefined
11627
11705
  }
11628
11706
 
11707
+ specialCharacters?: ("remove" | "trim" | "keep")
11708
+
11629
11709
  ignoreCase?: boolean
11630
11710
 
11631
11711
  alphabet?: string
@@ -11649,8 +11729,6 @@ type PerfectionistSortHeritageClauses = []|[{
11649
11729
  type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
11650
11730
  type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
11651
11731
 
11652
- specialCharacters?: ("remove" | "trim" | "keep")
11653
-
11654
11732
  fallbackSort?: {
11655
11733
 
11656
11734
  order?: ("asc" | "desc")
@@ -11659,6 +11737,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
11659
11737
  [k: string]: unknown | undefined
11660
11738
  }
11661
11739
 
11740
+ specialCharacters?: ("remove" | "trim" | "keep")
11741
+
11662
11742
  ignoreCase?: boolean
11663
11743
 
11664
11744
  alphabet?: string
@@ -11738,8 +11818,6 @@ interface _PerfectionistSortImports_IsLineLength {
11738
11818
  // ----- perfectionist/sort-interfaces -----
11739
11819
  type PerfectionistSortInterfaces = {
11740
11820
 
11741
- specialCharacters?: ("remove" | "trim" | "keep")
11742
-
11743
11821
  fallbackSort?: {
11744
11822
 
11745
11823
  order?: ("asc" | "desc")
@@ -11748,6 +11826,8 @@ type PerfectionistSortInterfaces = {
11748
11826
  [k: string]: unknown | undefined
11749
11827
  }
11750
11828
 
11829
+ specialCharacters?: ("remove" | "trim" | "keep")
11830
+
11751
11831
  ignoreCase?: boolean
11752
11832
 
11753
11833
  alphabet?: string
@@ -11761,19 +11841,36 @@ type PerfectionistSortInterfaces = {
11761
11841
  [k: string]: (string | string[]) | undefined
11762
11842
  } | ({
11763
11843
 
11764
- groupName?: string
11844
+ newlinesInside?: ("always" | "never")
11845
+
11846
+ fallbackSort?: {
11847
+
11848
+ order?: ("asc" | "desc")
11849
+
11850
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11851
+ sortBy?: ("name" | "value")
11852
+ [k: string]: unknown | undefined
11853
+ }
11765
11854
 
11766
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11855
+ groupName?: string
11767
11856
 
11768
- order?: ("desc" | "asc")
11857
+ order?: ("asc" | "desc")
11769
11858
 
11770
- newlinesInside?: ("always" | "never")
11859
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11771
11860
  anyOf?: {
11772
11861
 
11773
11862
  modifiers?: ("optional" | "required" | "multiline")[]
11774
11863
 
11775
11864
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
11776
11865
 
11866
+ elementValuePattern?: (({
11867
+ pattern?: string
11868
+ flags?: string
11869
+ } | string)[] | ({
11870
+ pattern?: string
11871
+ flags?: string
11872
+ } | string))
11873
+
11777
11874
  elementNamePattern?: (({
11778
11875
  pattern?: string
11779
11876
  flags?: string
@@ -11781,21 +11878,39 @@ type PerfectionistSortInterfaces = {
11781
11878
  pattern?: string
11782
11879
  flags?: string
11783
11880
  } | string))
11881
+ sortBy?: ("name" | "value")
11784
11882
  }[]
11785
11883
  } | {
11786
11884
 
11787
- groupName?: string
11885
+ newlinesInside?: ("always" | "never")
11788
11886
 
11789
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11887
+ fallbackSort?: {
11888
+
11889
+ order?: ("asc" | "desc")
11890
+
11891
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11892
+ sortBy?: ("name" | "value")
11893
+ [k: string]: unknown | undefined
11894
+ }
11790
11895
 
11791
- order?: ("desc" | "asc")
11896
+ groupName?: string
11792
11897
 
11793
- newlinesInside?: ("always" | "never")
11898
+ order?: ("asc" | "desc")
11899
+
11900
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11794
11901
 
11795
11902
  modifiers?: ("optional" | "required" | "multiline")[]
11796
11903
 
11797
11904
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
11798
11905
 
11906
+ elementValuePattern?: (({
11907
+ pattern?: string
11908
+ flags?: string
11909
+ } | string)[] | ({
11910
+ pattern?: string
11911
+ flags?: string
11912
+ } | string))
11913
+
11799
11914
  elementNamePattern?: (({
11800
11915
  pattern?: string
11801
11916
  flags?: string
@@ -11803,6 +11918,7 @@ type PerfectionistSortInterfaces = {
11803
11918
  pattern?: string
11804
11919
  flags?: string
11805
11920
  } | string))
11921
+ sortBy?: ("name" | "value")
11806
11922
  })[])
11807
11923
  useConfigurationIf?: {
11808
11924
 
@@ -11859,6 +11975,7 @@ type PerfectionistSortInterfaces = {
11859
11975
  pattern?: string
11860
11976
  flags?: string
11861
11977
  } | string))
11978
+ sortBy?: ("name" | "value")
11862
11979
 
11863
11980
  groups?: (string | string[] | {
11864
11981
 
@@ -11868,8 +11985,6 @@ type PerfectionistSortInterfaces = {
11868
11985
  // ----- perfectionist/sort-intersection-types -----
11869
11986
  type PerfectionistSortIntersectionTypes = []|[{
11870
11987
 
11871
- specialCharacters?: ("remove" | "trim" | "keep")
11872
-
11873
11988
  fallbackSort?: {
11874
11989
 
11875
11990
  order?: ("asc" | "desc")
@@ -11878,6 +11993,8 @@ type PerfectionistSortIntersectionTypes = []|[{
11878
11993
  [k: string]: unknown | undefined
11879
11994
  }
11880
11995
 
11996
+ specialCharacters?: ("remove" | "trim" | "keep")
11997
+
11881
11998
  ignoreCase?: boolean
11882
11999
 
11883
12000
  alphabet?: string
@@ -11923,8 +12040,6 @@ type PerfectionistSortIntersectionTypes = []|[{
11923
12040
  // ----- perfectionist/sort-jsx-props -----
11924
12041
  type PerfectionistSortJsxProps = {
11925
12042
 
11926
- specialCharacters?: ("remove" | "trim" | "keep")
11927
-
11928
12043
  fallbackSort?: {
11929
12044
 
11930
12045
  order?: ("asc" | "desc")
@@ -11933,6 +12048,8 @@ type PerfectionistSortJsxProps = {
11933
12048
  [k: string]: unknown | undefined
11934
12049
  }
11935
12050
 
12051
+ specialCharacters?: ("remove" | "trim" | "keep")
12052
+
11936
12053
  ignoreCase?: boolean
11937
12054
 
11938
12055
  alphabet?: string
@@ -11985,8 +12102,6 @@ type PerfectionistSortJsxProps = {
11985
12102
  // ----- perfectionist/sort-maps -----
11986
12103
  type PerfectionistSortMaps = {
11987
12104
 
11988
- specialCharacters?: ("remove" | "trim" | "keep")
11989
-
11990
12105
  fallbackSort?: {
11991
12106
 
11992
12107
  order?: ("asc" | "desc")
@@ -11995,6 +12110,8 @@ type PerfectionistSortMaps = {
11995
12110
  [k: string]: unknown | undefined
11996
12111
  }
11997
12112
 
12113
+ specialCharacters?: ("remove" | "trim" | "keep")
12114
+
11998
12115
  ignoreCase?: boolean
11999
12116
 
12000
12117
  alphabet?: string
@@ -12007,13 +12124,21 @@ type PerfectionistSortMaps = {
12007
12124
 
12008
12125
  customGroups?: ({
12009
12126
 
12010
- groupName?: string
12127
+ newlinesInside?: ("always" | "never")
12011
12128
 
12012
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12129
+ fallbackSort?: {
12130
+
12131
+ order?: ("asc" | "desc")
12132
+
12133
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12134
+ [k: string]: unknown | undefined
12135
+ }
12013
12136
 
12014
- order?: ("desc" | "asc")
12137
+ groupName?: string
12015
12138
 
12016
- newlinesInside?: ("always" | "never")
12139
+ order?: ("asc" | "desc")
12140
+
12141
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12017
12142
  anyOf?: {
12018
12143
 
12019
12144
  elementNamePattern?: (({
@@ -12026,13 +12151,21 @@ type PerfectionistSortMaps = {
12026
12151
  }[]
12027
12152
  } | {
12028
12153
 
12029
- groupName?: string
12154
+ newlinesInside?: ("always" | "never")
12030
12155
 
12031
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12156
+ fallbackSort?: {
12157
+
12158
+ order?: ("asc" | "desc")
12159
+
12160
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12161
+ [k: string]: unknown | undefined
12162
+ }
12032
12163
 
12033
- order?: ("desc" | "asc")
12164
+ groupName?: string
12034
12165
 
12035
- newlinesInside?: ("always" | "never")
12166
+ order?: ("asc" | "desc")
12167
+
12168
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12036
12169
 
12037
12170
  elementNamePattern?: (({
12038
12171
  pattern?: string
@@ -12088,8 +12221,6 @@ type PerfectionistSortMaps = {
12088
12221
  // ----- perfectionist/sort-modules -----
12089
12222
  type PerfectionistSortModules = []|[{
12090
12223
 
12091
- specialCharacters?: ("remove" | "trim" | "keep")
12092
-
12093
12224
  fallbackSort?: {
12094
12225
 
12095
12226
  order?: ("asc" | "desc")
@@ -12098,6 +12229,8 @@ type PerfectionistSortModules = []|[{
12098
12229
  [k: string]: unknown | undefined
12099
12230
  }
12100
12231
 
12232
+ specialCharacters?: ("remove" | "trim" | "keep")
12233
+
12101
12234
  ignoreCase?: boolean
12102
12235
 
12103
12236
  alphabet?: string
@@ -12110,13 +12243,21 @@ type PerfectionistSortModules = []|[{
12110
12243
 
12111
12244
  customGroups?: ({
12112
12245
 
12113
- groupName?: string
12246
+ newlinesInside?: ("always" | "never")
12247
+
12248
+ fallbackSort?: {
12249
+
12250
+ order?: ("asc" | "desc")
12251
+
12252
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12253
+ [k: string]: unknown | undefined
12254
+ }
12114
12255
 
12115
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12256
+ groupName?: string
12116
12257
 
12117
- order?: ("desc" | "asc")
12258
+ order?: ("asc" | "desc")
12118
12259
 
12119
- newlinesInside?: ("always" | "never")
12260
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12120
12261
  anyOf?: {
12121
12262
 
12122
12263
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
@@ -12141,13 +12282,21 @@ type PerfectionistSortModules = []|[{
12141
12282
  }[]
12142
12283
  } | {
12143
12284
 
12144
- groupName?: string
12285
+ newlinesInside?: ("always" | "never")
12145
12286
 
12146
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12287
+ fallbackSort?: {
12288
+
12289
+ order?: ("asc" | "desc")
12290
+
12291
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12292
+ [k: string]: unknown | undefined
12293
+ }
12147
12294
 
12148
- order?: ("desc" | "asc")
12295
+ groupName?: string
12149
12296
 
12150
- newlinesInside?: ("always" | "never")
12297
+ order?: ("asc" | "desc")
12298
+
12299
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12151
12300
 
12152
12301
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
12153
12302
 
@@ -12205,8 +12354,6 @@ type PerfectionistSortModules = []|[{
12205
12354
  // ----- perfectionist/sort-named-exports -----
12206
12355
  type PerfectionistSortNamedExports = []|[{
12207
12356
 
12208
- specialCharacters?: ("remove" | "trim" | "keep")
12209
-
12210
12357
  fallbackSort?: {
12211
12358
 
12212
12359
  order?: ("asc" | "desc")
@@ -12215,6 +12362,8 @@ type PerfectionistSortNamedExports = []|[{
12215
12362
  [k: string]: unknown | undefined
12216
12363
  }
12217
12364
 
12365
+ specialCharacters?: ("remove" | "trim" | "keep")
12366
+
12218
12367
  ignoreCase?: boolean
12219
12368
 
12220
12369
  alphabet?: string
@@ -12257,8 +12406,6 @@ type PerfectionistSortNamedExports = []|[{
12257
12406
  // ----- perfectionist/sort-named-imports -----
12258
12407
  type PerfectionistSortNamedImports = []|[{
12259
12408
 
12260
- specialCharacters?: ("remove" | "trim" | "keep")
12261
-
12262
12409
  fallbackSort?: {
12263
12410
 
12264
12411
  order?: ("asc" | "desc")
@@ -12267,6 +12414,8 @@ type PerfectionistSortNamedImports = []|[{
12267
12414
  [k: string]: unknown | undefined
12268
12415
  }
12269
12416
 
12417
+ specialCharacters?: ("remove" | "trim" | "keep")
12418
+
12270
12419
  ignoreCase?: boolean
12271
12420
 
12272
12421
  alphabet?: string
@@ -12309,8 +12458,6 @@ type PerfectionistSortNamedImports = []|[{
12309
12458
  // ----- perfectionist/sort-object-types -----
12310
12459
  type PerfectionistSortObjectTypes = {
12311
12460
 
12312
- specialCharacters?: ("remove" | "trim" | "keep")
12313
-
12314
12461
  fallbackSort?: {
12315
12462
 
12316
12463
  order?: ("asc" | "desc")
@@ -12319,6 +12466,8 @@ type PerfectionistSortObjectTypes = {
12319
12466
  [k: string]: unknown | undefined
12320
12467
  }
12321
12468
 
12469
+ specialCharacters?: ("remove" | "trim" | "keep")
12470
+
12322
12471
  ignoreCase?: boolean
12323
12472
 
12324
12473
  alphabet?: string
@@ -12332,19 +12481,36 @@ type PerfectionistSortObjectTypes = {
12332
12481
  [k: string]: (string | string[]) | undefined
12333
12482
  } | ({
12334
12483
 
12335
- groupName?: string
12484
+ newlinesInside?: ("always" | "never")
12485
+
12486
+ fallbackSort?: {
12487
+
12488
+ order?: ("asc" | "desc")
12489
+
12490
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12491
+ sortBy?: ("name" | "value")
12492
+ [k: string]: unknown | undefined
12493
+ }
12336
12494
 
12337
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12495
+ groupName?: string
12338
12496
 
12339
- order?: ("desc" | "asc")
12497
+ order?: ("asc" | "desc")
12340
12498
 
12341
- newlinesInside?: ("always" | "never")
12499
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12342
12500
  anyOf?: {
12343
12501
 
12344
12502
  modifiers?: ("optional" | "required" | "multiline")[]
12345
12503
 
12346
12504
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
12347
12505
 
12506
+ elementValuePattern?: (({
12507
+ pattern?: string
12508
+ flags?: string
12509
+ } | string)[] | ({
12510
+ pattern?: string
12511
+ flags?: string
12512
+ } | string))
12513
+
12348
12514
  elementNamePattern?: (({
12349
12515
  pattern?: string
12350
12516
  flags?: string
@@ -12352,21 +12518,39 @@ type PerfectionistSortObjectTypes = {
12352
12518
  pattern?: string
12353
12519
  flags?: string
12354
12520
  } | string))
12521
+ sortBy?: ("name" | "value")
12355
12522
  }[]
12356
12523
  } | {
12357
12524
 
12358
- groupName?: string
12525
+ newlinesInside?: ("always" | "never")
12359
12526
 
12360
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12527
+ fallbackSort?: {
12528
+
12529
+ order?: ("asc" | "desc")
12530
+
12531
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12532
+ sortBy?: ("name" | "value")
12533
+ [k: string]: unknown | undefined
12534
+ }
12361
12535
 
12362
- order?: ("desc" | "asc")
12536
+ groupName?: string
12363
12537
 
12364
- newlinesInside?: ("always" | "never")
12538
+ order?: ("asc" | "desc")
12539
+
12540
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12365
12541
 
12366
12542
  modifiers?: ("optional" | "required" | "multiline")[]
12367
12543
 
12368
12544
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
12369
12545
 
12546
+ elementValuePattern?: (({
12547
+ pattern?: string
12548
+ flags?: string
12549
+ } | string)[] | ({
12550
+ pattern?: string
12551
+ flags?: string
12552
+ } | string))
12553
+
12370
12554
  elementNamePattern?: (({
12371
12555
  pattern?: string
12372
12556
  flags?: string
@@ -12374,6 +12558,7 @@ type PerfectionistSortObjectTypes = {
12374
12558
  pattern?: string
12375
12559
  flags?: string
12376
12560
  } | string))
12561
+ sortBy?: ("name" | "value")
12377
12562
  })[])
12378
12563
  useConfigurationIf?: {
12379
12564
 
@@ -12430,6 +12615,7 @@ type PerfectionistSortObjectTypes = {
12430
12615
  pattern?: string
12431
12616
  flags?: string
12432
12617
  } | string))
12618
+ sortBy?: ("name" | "value")
12433
12619
 
12434
12620
  groups?: (string | string[] | {
12435
12621
 
@@ -12439,8 +12625,6 @@ type PerfectionistSortObjectTypes = {
12439
12625
  // ----- perfectionist/sort-objects -----
12440
12626
  type PerfectionistSortObjects = {
12441
12627
 
12442
- specialCharacters?: ("remove" | "trim" | "keep")
12443
-
12444
12628
  fallbackSort?: {
12445
12629
 
12446
12630
  order?: ("asc" | "desc")
@@ -12449,6 +12633,8 @@ type PerfectionistSortObjects = {
12449
12633
  [k: string]: unknown | undefined
12450
12634
  }
12451
12635
 
12636
+ specialCharacters?: ("remove" | "trim" | "keep")
12637
+
12452
12638
  ignoreCase?: boolean
12453
12639
 
12454
12640
  alphabet?: string
@@ -12467,13 +12653,21 @@ type PerfectionistSortObjects = {
12467
12653
  [k: string]: (string | string[]) | undefined
12468
12654
  } | ({
12469
12655
 
12470
- groupName?: string
12656
+ newlinesInside?: ("always" | "never")
12471
12657
 
12472
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12658
+ fallbackSort?: {
12659
+
12660
+ order?: ("asc" | "desc")
12661
+
12662
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12663
+ [k: string]: unknown | undefined
12664
+ }
12473
12665
 
12474
- order?: ("desc" | "asc")
12666
+ groupName?: string
12475
12667
 
12476
- newlinesInside?: ("always" | "never")
12668
+ order?: ("asc" | "desc")
12669
+
12670
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12477
12671
  anyOf?: {
12478
12672
 
12479
12673
  modifiers?: ("optional" | "required" | "multiline")[]
@@ -12498,13 +12692,21 @@ type PerfectionistSortObjects = {
12498
12692
  }[]
12499
12693
  } | {
12500
12694
 
12501
- groupName?: string
12695
+ newlinesInside?: ("always" | "never")
12696
+
12697
+ fallbackSort?: {
12698
+
12699
+ order?: ("asc" | "desc")
12700
+
12701
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12702
+ [k: string]: unknown | undefined
12703
+ }
12502
12704
 
12503
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12705
+ groupName?: string
12504
12706
 
12505
- order?: ("desc" | "asc")
12707
+ order?: ("asc" | "desc")
12506
12708
 
12507
- newlinesInside?: ("always" | "never")
12709
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12508
12710
 
12509
12711
  modifiers?: ("optional" | "required" | "multiline")[]
12510
12712
 
@@ -12594,8 +12796,6 @@ type PerfectionistSortObjects = {
12594
12796
  // ----- perfectionist/sort-sets -----
12595
12797
  type PerfectionistSortSets = {
12596
12798
 
12597
- specialCharacters?: ("remove" | "trim" | "keep")
12598
-
12599
12799
  fallbackSort?: {
12600
12800
 
12601
12801
  order?: ("asc" | "desc")
@@ -12604,6 +12804,8 @@ type PerfectionistSortSets = {
12604
12804
  [k: string]: unknown | undefined
12605
12805
  }
12606
12806
 
12807
+ specialCharacters?: ("remove" | "trim" | "keep")
12808
+
12607
12809
  ignoreCase?: boolean
12608
12810
 
12609
12811
  alphabet?: string
@@ -12618,13 +12820,21 @@ type PerfectionistSortSets = {
12618
12820
 
12619
12821
  customGroups?: ({
12620
12822
 
12621
- groupName?: string
12823
+ newlinesInside?: ("always" | "never")
12622
12824
 
12623
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12825
+ fallbackSort?: {
12826
+
12827
+ order?: ("asc" | "desc")
12828
+
12829
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12830
+ [k: string]: unknown | undefined
12831
+ }
12624
12832
 
12625
- order?: ("desc" | "asc")
12833
+ groupName?: string
12626
12834
 
12627
- newlinesInside?: ("always" | "never")
12835
+ order?: ("asc" | "desc")
12836
+
12837
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12628
12838
  anyOf?: {
12629
12839
 
12630
12840
  selector?: ("literal" | "spread")
@@ -12639,13 +12849,21 @@ type PerfectionistSortSets = {
12639
12849
  }[]
12640
12850
  } | {
12641
12851
 
12642
- groupName?: string
12852
+ newlinesInside?: ("always" | "never")
12643
12853
 
12644
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12854
+ fallbackSort?: {
12855
+
12856
+ order?: ("asc" | "desc")
12857
+
12858
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12859
+ [k: string]: unknown | undefined
12860
+ }
12645
12861
 
12646
- order?: ("desc" | "asc")
12862
+ groupName?: string
12647
12863
 
12648
- newlinesInside?: ("always" | "never")
12864
+ order?: ("asc" | "desc")
12865
+
12866
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12649
12867
 
12650
12868
  selector?: ("literal" | "spread")
12651
12869
 
@@ -12703,8 +12921,6 @@ type PerfectionistSortSets = {
12703
12921
  // ----- perfectionist/sort-switch-case -----
12704
12922
  type PerfectionistSortSwitchCase = []|[{
12705
12923
 
12706
- specialCharacters?: ("remove" | "trim" | "keep")
12707
-
12708
12924
  fallbackSort?: {
12709
12925
 
12710
12926
  order?: ("asc" | "desc")
@@ -12713,6 +12929,8 @@ type PerfectionistSortSwitchCase = []|[{
12713
12929
  [k: string]: unknown | undefined
12714
12930
  }
12715
12931
 
12932
+ specialCharacters?: ("remove" | "trim" | "keep")
12933
+
12716
12934
  ignoreCase?: boolean
12717
12935
 
12718
12936
  alphabet?: string
@@ -12726,8 +12944,6 @@ type PerfectionistSortSwitchCase = []|[{
12726
12944
  // ----- perfectionist/sort-union-types -----
12727
12945
  type PerfectionistSortUnionTypes = []|[{
12728
12946
 
12729
- specialCharacters?: ("remove" | "trim" | "keep")
12730
-
12731
12947
  fallbackSort?: {
12732
12948
 
12733
12949
  order?: ("asc" | "desc")
@@ -12736,6 +12952,8 @@ type PerfectionistSortUnionTypes = []|[{
12736
12952
  [k: string]: unknown | undefined
12737
12953
  }
12738
12954
 
12955
+ specialCharacters?: ("remove" | "trim" | "keep")
12956
+
12739
12957
  ignoreCase?: boolean
12740
12958
 
12741
12959
  alphabet?: string
@@ -12781,8 +12999,6 @@ type PerfectionistSortUnionTypes = []|[{
12781
12999
  // ----- perfectionist/sort-variable-declarations -----
12782
13000
  type PerfectionistSortVariableDeclarations = []|[{
12783
13001
 
12784
- specialCharacters?: ("remove" | "trim" | "keep")
12785
-
12786
13002
  fallbackSort?: {
12787
13003
 
12788
13004
  order?: ("asc" | "desc")
@@ -12791,6 +13007,8 @@ type PerfectionistSortVariableDeclarations = []|[{
12791
13007
  [k: string]: unknown | undefined
12792
13008
  }
12793
13009
 
13010
+ specialCharacters?: ("remove" | "trim" | "keep")
13011
+
12794
13012
  ignoreCase?: boolean
12795
13013
 
12796
13014
  alphabet?: string
@@ -12832,6 +13050,30 @@ type PiniaPreferUseStoreNamingConvention = []|[{
12832
13050
  storeSuffix?: string
12833
13051
  [k: string]: unknown | undefined
12834
13052
  }]
13053
+ // ----- pnpm/enforce-catalog -----
13054
+ type PnpmEnforceCatalog = []|[{
13055
+
13056
+ allowedProtocols?: string[]
13057
+
13058
+ autofix?: boolean
13059
+
13060
+ defaultCatalog?: string
13061
+
13062
+ reuseExistingCatalog?: boolean
13063
+ }]
13064
+ // ----- pnpm/prefer-workspace-settings -----
13065
+ type PnpmPreferWorkspaceSettings = []|[{
13066
+ autofix?: boolean
13067
+ }]
13068
+ // ----- pnpm/valid-catalog -----
13069
+ type PnpmValidCatalog = []|[{
13070
+
13071
+ autoInsert?: boolean
13072
+
13073
+ autoInsertDefaultSpecifier?: string
13074
+
13075
+ autofix?: boolean
13076
+ }]
12835
13077
  // ----- prefer-arrow-callback -----
12836
13078
  type PreferArrowCallback = []|[{
12837
13079
  allowNamedFunctions?: boolean
@@ -15493,7 +15735,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
15493
15735
  onlyEquality?: boolean
15494
15736
  }]
15495
15737
  // Names of all the configs
15496
- type ConfigNames = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/de-morgan' | 'ntnyq/eslint-comments' | 'ntnyq/depend' | 'ntnyq/depend/package-json' | 'ntnyq/eslint-plugin' | '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' | '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/bin' | 'ntnyq/specials/userscript' | 'ntnyq/specials/config-file' | 'ntnyq/svgo' | 'ntnyq/test/setup' | 'ntnyq/test/base' | 'ntnyq/test/vitest' | 'ntnyq/toml' | 'ntnyq/ts/setup' | 'ntnyq/ts/parser' | 'ntnyq/ts/rules' | 'ntnyq/ts/types' | 'ntnyq/unused-imports' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'ntnyq/vue/setup' | 'ntnyq/vue/rules' | 'ntnyq/yml'
15738
+ type ConfigNames = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/de-morgan' | 'ntnyq/eslint-comments' | 'ntnyq/depend' | 'ntnyq/depend/package-json' | 'ntnyq/eslint-plugin' | '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' | 'ntnyq/node' | 'ntnyq/ntnyq' | 'ntnyq/pinia' | 'ntnyq/pnpm' | '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/bin' | 'ntnyq/specials/userscript' | 'ntnyq/specials/config-file' | 'ntnyq/svgo' | 'ntnyq/test/setup' | 'ntnyq/test/base' | 'ntnyq/test/vitest' | 'ntnyq/toml' | 'ntnyq/ts/setup' | 'ntnyq/ts/parser' | 'ntnyq/ts/rules' | 'ntnyq/ts/types' | 'ntnyq/unused-imports' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'ntnyq/vue/setup' | 'ntnyq/vue/rules' | 'ntnyq/yml'
15497
15739
 
15498
15740
  /**
15499
15741
  * ESLint config
@@ -15535,21 +15777,6 @@ type TypedConfigItem = Omit<Linter.Config<ESLintRulesRecord & RuleOptions>, 'plu
15535
15777
  plugins?: Record<string, any>;
15536
15778
  };
15537
15779
 
15538
- /**
15539
- * Options for add `extensions` support
15540
- */
15541
- interface OptionsExtensions {
15542
- extensions?: string[];
15543
- }
15544
- /**
15545
- * Options for add `features` support
15546
- */
15547
- type OptionsFeatures = {
15548
- /**
15549
- * Enable typescript support
15550
- */
15551
- typescript?: boolean;
15552
- };
15553
15780
  /**
15554
15781
  * Options for overrides `files`
15555
15782
  */
@@ -15568,6 +15795,20 @@ interface OptionsIgnores {
15568
15795
  interface OptionsOverrides<Rules extends TypedConfigItem['rules'] = TypedConfigItem['rules']> {
15569
15796
  overrides?: Rules;
15570
15797
  }
15798
+ /**
15799
+ * Options for shareable cross plugins
15800
+ */
15801
+ interface OptionsShareable {
15802
+ /**
15803
+ * @see {@link https://typescript-eslint.io/packages/parser/#extrafileextensions}
15804
+ */
15805
+ extraFileExtensions?: string[];
15806
+ /**
15807
+ * Enable typescript support
15808
+ * @default false
15809
+ */
15810
+ typescript?: boolean;
15811
+ }
15571
15812
 
15572
15813
  /**
15573
15814
  * @file Config options
@@ -15576,7 +15817,15 @@ interface OptionsOverrides<Rules extends TypedConfigItem['rules'] = TypedConfigI
15576
15817
  /**
15577
15818
  * Config factory options
15578
15819
  */
15579
- interface ConfigOptions extends OptionsExtensions {
15820
+ interface ConfigOptions {
15821
+ /**
15822
+ * Shareable options
15823
+ */
15824
+ shareable?: OptionsShareable;
15825
+ /**
15826
+ * Configs enabled by default
15827
+ * @pg
15828
+ */
15580
15829
  command?: ConfigCommandOptions;
15581
15830
  eslintComments?: ConfigESLintCommentsOptions;
15582
15831
  ignores?: ConfigIgnoresOptions;
@@ -15600,6 +15849,7 @@ interface ConfigOptions extends OptionsExtensions {
15600
15849
  ntnyq?: boolean | ConfigNtnyqOptions;
15601
15850
  perfectionist?: boolean | ConfigPerfectionistOptions;
15602
15851
  pinia?: boolean | ConfigPiniaOptions;
15852
+ pnpm?: boolean | ConfigPnpmOptions;
15603
15853
  prettier?: boolean | ConfigPrettierOptions;
15604
15854
  regexp?: boolean | ConfigRegexpOptions;
15605
15855
  sort?: boolean | ConfigSortOptions;
@@ -15639,55 +15889,54 @@ declare function defineESLintConfig(options?: ConfigOptions, ...userConfigs: Awa
15639
15889
  /**
15640
15890
  * @file globs constants
15641
15891
  */
15642
- declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
15643
- declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
15644
- declare const GLOB_JS = "**/*.?([cm])js";
15645
- declare const GLOB_JSX = "**/*.?([cm])jsx";
15646
- declare const GLOB_JSX_ONLY = "**/*.jsx";
15647
- declare const GLOB_TS = "**/*.?([cm])ts";
15648
- declare const GLOB_TSX = "**/*.?([cm])tsx";
15649
- declare const GLOB_TSX_ONLY = "**/*.tsx";
15650
- declare const GLOB_DTS = "**/*.d.?([cm])ts";
15892
+ declare const GLOB_SRC_EXT: string;
15893
+ declare const GLOB_SRC: string;
15894
+ declare const GLOB_JS: string;
15895
+ declare const GLOB_JSX: string;
15896
+ declare const GLOB_JSX_ONLY: string;
15897
+ declare const GLOB_TS: string;
15898
+ declare const GLOB_TSX: string;
15899
+ declare const GLOB_TSX_ONLY: string;
15900
+ declare const GLOB_DTS: string;
15651
15901
  declare const GLOB_TYPES: string[];
15652
15902
  declare const GLOB_TYPE_TEST: string[];
15653
15903
  declare const GLOB_TEST: string[];
15654
- declare const GLOB_STYLE = "**/*.{c,le,sc}ss";
15655
- declare const GLOB_CSS = "**/*.css";
15656
- declare const GLOB_LESS = "**/*.less";
15657
- declare const GLOB_SCSS = "**/*.scss";
15658
- declare const GLOB_POSTCSS = "**/*.{p,post}css";
15659
- declare const GLOB_JSON = "**/*.json";
15660
- declare const GLOB_JSON5 = "**/*.json5";
15661
- declare const GLOB_JSONC = "**/*.jsonc";
15662
- declare const GLOB_PACKAGE_JSON = "**/package.json";
15904
+ declare const GLOB_STYLE: string;
15905
+ declare const GLOB_CSS: string;
15906
+ declare const GLOB_LESS: string;
15907
+ declare const GLOB_SCSS: string;
15908
+ declare const GLOB_POSTCSS: string;
15909
+ declare const GLOB_JSON: string;
15910
+ declare const GLOB_JSON5: string;
15911
+ declare const GLOB_JSONC: string;
15912
+ declare const GLOB_PACKAGE_JSON: string;
15663
15913
  declare const GLOB_TSCONFIG_JSON: string[];
15664
- declare const GLOB_SVG = "**/*.svg";
15665
- declare const GLOB_VUE = "**/*.vue";
15666
- declare const GLOB_YAML = "**/*.y?(a)ml";
15667
- declare const GLOB_TOML = "**/*.toml";
15668
- declare const GLOB_HTML = "**/*.htm?(l)";
15669
- declare const GLOB_ASTRO = "**/*.astro";
15670
- declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
15671
- declare const GLOB_SVELTE = "**/*.svelte";
15672
- declare const GLOB_MARKDOWN = "**/*.md";
15673
- declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
15674
- declare const GLOB_MARKDOWN_NESTED = "**/*.md/*.md";
15914
+ declare const GLOB_SVG: string;
15915
+ declare const GLOB_VUE: string;
15916
+ declare const GLOB_YAML: string;
15917
+ declare const GLOB_TOML: string;
15918
+ declare const GLOB_HTML: string;
15919
+ declare const GLOB_ASTRO: string;
15920
+ declare const GLOB_ASTRO_TS: string;
15921
+ declare const GLOB_SVELTE: string;
15922
+ declare const GLOB_MARKDOWN: string;
15923
+ declare const GLOB_MARKDOWN_CODE: string;
15924
+ declare const GLOB_MARKDOWN_NESTED: string;
15675
15925
  declare const GLOB_ALL_SRC: string[];
15676
- declare const GLOB_PINIA_STORE = "**/store?(s)/*.?([cm])[jt]s?(x)";
15677
- declare const GLOB_GITHUB_ACTION = "**/.github/workflows/*.y?(a)ml";
15678
- declare const GLOB_NODE_MODULES = "**/node_modules/**";
15679
- declare const GLOB_DIST = "**/dist/**";
15926
+ declare const GLOB_PINIA_STORE: string;
15927
+ declare const GLOB_GITHUB_ACTION: string;
15928
+ declare const GLOB_NODE_MODULES: string;
15929
+ declare const GLOB_DIST: string;
15680
15930
  declare const GLOB_LOCKFILE: string[];
15681
15931
  declare const GLOB_EXCLUDE: string[];
15682
15932
 
15683
- declare const hasPinia: () => boolean;
15684
- declare const hasVitest: () => boolean;
15685
- declare const hasTypeScript: () => boolean;
15686
- declare const hasShadcnVue: () => boolean;
15687
- declare const hasUnoCSS: () => boolean;
15688
- declare const hasVue: () => boolean;
15689
-
15690
- declare function toArray<T>(val?: Arrayable<T>): T[];
15933
+ type ExistChecker = () => boolean;
15934
+ declare const hasPinia: ExistChecker;
15935
+ declare const hasVitest: ExistChecker;
15936
+ declare const hasTypeScript: ExistChecker;
15937
+ declare const hasShadcnVue: ExistChecker;
15938
+ declare const hasUnoCSS: ExistChecker;
15939
+ declare const hasVue: ExistChecker;
15691
15940
 
15692
15941
  declare function getOverrides<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): Partial<TypedConfigItem['rules'] & RuleOptions>;
15693
15942
 
@@ -15728,11 +15977,6 @@ declare function isInGitHooksOrRunByNanoStagedOrRunByTSX(): boolean;
15728
15977
  */
15729
15978
  declare const parserPlain: ESLintParser;
15730
15979
 
15731
- /**
15732
- * Built-in resolver of `import-x`
15733
- */
15734
- declare const createNodeResolver: typeof eslint_plugin_import_x_node_resolver_js.createNodeResolver;
15735
-
15736
15980
  /**
15737
15981
  * Options from `@ntnyq/prettier-config`
15738
15982
  *
@@ -15744,6 +15988,10 @@ declare const PRETTIER_DEFAULT_OPTIONS: PrettierOptions;
15744
15988
  * Shared perfectionist rule options for all rules
15745
15989
  */
15746
15990
  declare const PERFECTIONIST_COMMON_RULE_OPTIONS: {
15991
+ readonly fallbackSort: {
15992
+ readonly order: "asc";
15993
+ readonly type: "alphabetical";
15994
+ };
15747
15995
  readonly ignoreCase: true;
15748
15996
  readonly order: "asc";
15749
15997
  readonly type: "alphabetical";
@@ -15790,10 +16038,10 @@ declare const PERFECTIONIST_SORT_IMPORTS_GROUPS: string[];
15790
16038
  /**
15791
16039
  * Shared option `groups` for rule `sort-classes`
15792
16040
  *
15793
- * // TODO: make this
16041
+ * // TODO: implement this
15794
16042
  *
15795
16043
  * @see {@link https://perfectionist.dev/rules/sort-classes}
15796
16044
  */
15797
16045
  declare const PERFECTIONIST_SORT_CLASSES_GROUPS: string[];
15798
16046
 
15799
- export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigDeMorganOptions, type ConfigDependOptions, type ConfigESLintCommentsOptions, type ConfigESLintPluginOptions, 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 ConfigOptionsInternal, type ConfigPerfectionistOptions, type ConfigPiniaOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigSVGOOptions, type ConfigSortOptions, type ConfigSpecialsOptions, type ConfigTestOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVueOptions, type ConfigYmlOptions, 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_JSX_ONLY, 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_SVG, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG_JSON, GLOB_TSX, GLOB_TSX_ONLY, GLOB_TYPES, GLOB_TYPE_TEST, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type OptionsExtensions, type OptionsFeatures, type OptionsFiles, type OptionsIgnores, type OptionsOverrides, PERFECTIONIST_COMMON_RULE_OPTIONS, PERFECTIONIST_EXTRA_RULE_OPTIONS, PERFECTIONIST_SORT_CLASSES_GROUPS, PERFECTIONIST_SORT_IMPORTS_GROUPS, PERFECTIONIST_SORT_INTERFACES_OR_OBJECT_TYPES_GROUPS, PERFECTIONIST_SORT_INTERSECTION_TYPES_OR_UNION_TYPES_GROUPS, PERFECTIONIST_SORT_OBJECTS_GROUPS, PRETTIER_DEFAULT_OPTIONS, type PerfectionistPartitionByComment, type PrettierOptions, type Pretty, type ResolvedOptions, type RuleOptions, type TSESLintParserOptions, type TypedConfigItem, combineConfigs, configAntfu, configCommand, configDeMorgan, configDepend, configESLintComments, configESLintPlugin, configFormat, configGitHubAction, configGitIgnore, configIgnores, configImportX, configJSX, configJavaScript, configJsdoc, configJsonc, configMarkdown, configNode, configNtnyq, configPerfectionist, configPinia, configPrettier, configRegexp, configSVGO, configSort, configSpecials, configTest, configToml, configTypeScript, configUnicorn, configUnoCSS, configUnusedImports, configVue, configYml, createNodeResolver, defineESLintConfig, ensurePackages, getOverrides, hasPinia, hasShadcnVue, hasTypeScript, hasUnoCSS, hasVitest, hasVue, interopDefault, isInGitHooksOrRunByNanoStagedOrRunByTSX, mergePrettierOptions, parserPlain, resolveSubOptions, toArray };
16047
+ export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigDeMorganOptions, type ConfigDependOptions, type ConfigESLintCommentsOptions, type ConfigESLintPluginOptions, 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 ConfigOptionsInternal, type ConfigPerfectionistOptions, type ConfigPiniaOptions, type ConfigPnpmOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigSVGOOptions, type ConfigSortOptions, type ConfigSpecialsOptions, type ConfigTestOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVueOptions, type ConfigYmlOptions, 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_JSX_ONLY, 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_SVG, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG_JSON, GLOB_TSX, GLOB_TSX_ONLY, GLOB_TYPES, GLOB_TYPE_TEST, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type OptionsFiles, type OptionsIgnores, type OptionsOverrides, type OptionsShareable, PERFECTIONIST_COMMON_RULE_OPTIONS, PERFECTIONIST_EXTRA_RULE_OPTIONS, PERFECTIONIST_SORT_CLASSES_GROUPS, PERFECTIONIST_SORT_IMPORTS_GROUPS, PERFECTIONIST_SORT_INTERFACES_OR_OBJECT_TYPES_GROUPS, PERFECTIONIST_SORT_INTERSECTION_TYPES_OR_UNION_TYPES_GROUPS, PERFECTIONIST_SORT_OBJECTS_GROUPS, PRETTIER_DEFAULT_OPTIONS, type PerfectionistPartitionByComment, type PrettierOptions, type Pretty, type ResolvedOptions, type RuleOptions, type TSESLintParserOptions, type TypedConfigItem, combineConfigs, configAntfu, configCommand, configDeMorgan, configDepend, configESLintComments, configESLintPlugin, configFormat, configGitHubAction, configGitIgnore, configIgnores, configImportX, configJSX, configJavaScript, configJsdoc, configJsonc, configMarkdown, configNode, configNtnyq, configPerfectionist, configPinia, configPnpm, configPrettier, configRegexp, configSVGO, configSort, configSpecials, configTest, configToml, configTypeScript, configUnicorn, configUnoCSS, configUnusedImports, configVue, configYml, defineESLintConfig, ensurePackages, getOverrides, hasPinia, hasShadcnVue, hasTypeScript, hasUnoCSS, hasVitest, hasVue, interopDefault, isInGitHooksOrRunByNanoStagedOrRunByTSX, mergePrettierOptions, parserPlain, resolveSubOptions };