@ntnyq/eslint-config 4.0.0-beta.8 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,15 +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 pluginFormat } from 'eslint-plugin-format';
27
+ export { default as pluginPinia } from 'eslint-plugin-pinia';
28
28
  export { default as pluginUnoCSS } from '@unocss/eslint-plugin';
29
29
  export { default as pluginVitest } from '@vitest/eslint-plugin';
30
30
  export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
@@ -33,9 +33,7 @@ export { default as pluginPrettier } from 'eslint-plugin-prettier';
33
33
  export { default as pluginDeMorgan } from 'eslint-plugin-de-morgan';
34
34
  export { default as pluginNoOnlyTests } from 'eslint-plugin-no-only-tests';
35
35
  export { default as pluginPerfectionist } from 'eslint-plugin-perfectionist';
36
- export { default as pluginUnusedImports } from 'eslint-plugin-unused-imports';
37
36
  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
37
  export { mergeProcessors, processorPassThrough } from 'eslint-merge-processors';
40
38
  import * as vueEslintParser from 'vue-eslint-parser';
41
39
  export { vueEslintParser as parserVue };
@@ -45,7 +43,6 @@ import * as yamlEslintParser from 'yaml-eslint-parser';
45
43
  export { yamlEslintParser as parserYaml };
46
44
  import * as jsoncEslintParser from 'jsonc-eslint-parser';
47
45
  export { jsoncEslintParser as parserJsonc };
48
- export { createTypeScriptImportResolver } from 'eslint-import-resolver-typescript';
49
46
 
50
47
  /**
51
48
  * @file Type Utils
@@ -72,7 +69,7 @@ type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
72
69
  /**
73
70
  * Options type of {@link configVue}
74
71
  */
75
- interface ConfigVueOptions extends OptionsFeatures, OptionsFiles, OptionsOverrides {
72
+ type ConfigVueOptions = OptionsFiles & OptionsOverrides & OptionsShareable & {
76
73
  /**
77
74
  * Create virtual files for Vue SFC blocks to enable linting.
78
75
  *
@@ -81,7 +78,7 @@ interface ConfigVueOptions extends OptionsFeatures, OptionsFiles, OptionsOverrid
81
78
  * @default true
82
79
  */
83
80
  sfcBlocks?: boolean | Options;
84
- }
81
+ };
85
82
  /**
86
83
  * Config for vue files
87
84
  *
@@ -120,6 +117,20 @@ type ConfigNodeOptions = OptionsOverrides;
120
117
  */
121
118
  declare const configNode: (options?: ConfigNodeOptions) => TypedConfigItem[];
122
119
 
120
+ /**
121
+ * Options type of {@link configPnpm}
122
+ */
123
+ type ConfigPnpmOptions = OptionsFiles & OptionsOverrides;
124
+ /**
125
+ * Config for optimize logic
126
+ *
127
+ * @see {@link https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm}
128
+ *
129
+ * @param options - {@link ConfigPnpmOptions}
130
+ * @returns ESLint configs
131
+ */
132
+ declare const configPnpm: (options?: ConfigPnpmOptions) => TypedConfigItem[];
133
+
123
134
  /**
124
135
  * Options type of {@link configSort}
125
136
  */
@@ -227,7 +238,7 @@ declare const configAntfu: (options?: ConfigAntfuOptions) => TypedConfigItem[];
227
238
  /**
228
239
  * Options type of {@link configJsdoc}
229
240
  */
230
- type ConfigJsdocOptions = OptionsFeatures & OptionsOverrides;
241
+ type ConfigJsdocOptions = Pick<OptionsShareable, 'typescript'> & OptionsOverrides;
231
242
  /**
232
243
  * Config for jsdoc
233
244
  *
@@ -331,7 +342,7 @@ interface ConfigFormatOptions {
331
342
  * @param options - {@link ConfigFormatOptions}
332
343
  * @returns ESLint configs
333
344
  */
334
- declare const configFormat: (options?: ConfigFormatOptions) => TypedConfigItem[];
345
+ declare const configFormat: (options?: ConfigFormatOptions) => Promise<TypedConfigItem[]>;
335
346
 
336
347
  /**
337
348
  * @file config for plugin regexp
@@ -411,7 +422,7 @@ declare const configIgnores: (customIgnores?: ConfigIgnoresOptions) => TypedConf
411
422
  /**
412
423
  * Options type of {@link configImportX}
413
424
  */
414
- type ConfigImportXOptions = OptionsFeatures & OptionsOverrides & {
425
+ type ConfigImportXOptions = Pick<OptionsShareable, 'typescript'> & OptionsOverrides & {
415
426
  /**
416
427
  * Use [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) if `typescript` is installed
417
428
  *
@@ -460,7 +471,7 @@ declare const configDeMorgan: (options?: ConfigDeMorganOptions) => TypedConfigIt
460
471
  /**
461
472
  * Options type of {@link configMarkdown}
462
473
  */
463
- type ConfigMarkdownOptions = OptionsExtensions & OptionsFiles & OptionsOverrides;
474
+ type ConfigMarkdownOptions = OptionsFiles & OptionsOverrides & Pick<OptionsShareable, 'extraFileExtensions'>;
464
475
  /**
465
476
  * Config for markdown files
466
477
  *
@@ -512,6 +523,10 @@ interface ConfigSpecialsOptions {
512
523
  * Overrides cli rules
513
524
  */
514
525
  overridesCliRules?: TypedConfigItem['rules'];
526
+ /**
527
+ * Overrides bin rules
528
+ */
529
+ overridesBinRules?: TypedConfigItem['rules'];
515
530
  /**
516
531
  * Overrides config files rules
517
532
  */
@@ -590,7 +605,7 @@ declare const configJSX: () => TypedConfigItem[];
590
605
  /**
591
606
  * Options type of {@link configTypeScript}
592
607
  */
593
- type ConfigTypeScriptOptions = OptionsExtensions & OptionsFiles & OptionsOverrides & {
608
+ type ConfigTypeScriptOptions = OptionsFiles & OptionsOverrides & Pick<OptionsShareable, 'extraFileExtensions'> & {
594
609
  /**
595
610
  * Glob patterns for files that should be type aware.
596
611
  * @default ['**\/*.{ts,tsx}']
@@ -613,6 +628,10 @@ type ConfigTypeScriptOptions = OptionsExtensions & OptionsFiles & OptionsOverrid
613
628
  * Enable type aware check for TypeScript files
614
629
  */
615
630
  tsconfigPath?: string;
631
+ /**
632
+ * Globs of files to run with default project compiler
633
+ */
634
+ allowDefaultProject?: string[];
616
635
  };
617
636
  /**
618
637
  * Config for TypeScript files
@@ -732,7 +751,7 @@ type ConfigUnusedImportsOptions = OptionsOverrides;
732
751
  * @param options - {@link ConfigUnusedImportsOptions}
733
752
  * @returns ESLint configs
734
753
  */
735
- declare const configUnusedImports: (options?: ConfigUnusedImportsOptions) => TypedConfigItem[];
754
+ declare const configUnusedImports: (options?: ConfigUnusedImportsOptions) => Promise<TypedConfigItem[]>;
736
755
 
737
756
  /**
738
757
  * Options type of {@link configESLintComments}
@@ -4168,6 +4187,21 @@ interface RuleOptions {
4168
4187
  * @see https://github.com/lisilinhart/eslint-plugin-pinia/blob/main/docs/rules/require-setup-store-properties-export.md
4169
4188
  */
4170
4189
  'pinia/require-setup-store-properties-export'?: Linter.RuleEntry<[]>
4190
+ /**
4191
+ * Enforce using "catalog:" in `package.json`
4192
+ * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/enforce-catalog.test.ts
4193
+ */
4194
+ 'pnpm/enforce-catalog'?: Linter.RuleEntry<PnpmEnforceCatalog>
4195
+ /**
4196
+ * 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.
4197
+ * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/prefer-workspace-settings.test.ts
4198
+ */
4199
+ 'pnpm/prefer-workspace-settings'?: Linter.RuleEntry<PnpmPreferWorkspaceSettings>
4200
+ /**
4201
+ * Enforce using valid catalog in `package.json`
4202
+ * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/valid-catalog.test.ts
4203
+ */
4204
+ 'pnpm/valid-catalog'?: Linter.RuleEntry<PnpmValidCatalog>
4171
4205
  /**
4172
4206
  * Require using arrow functions for callbacks
4173
4207
  * @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
@@ -6020,12 +6054,6 @@ interface RuleOptions {
6020
6054
  * @see https://eslint.vuejs.org/rules/component-options-name-casing.html
6021
6055
  */
6022
6056
  'vue/component-options-name-casing'?: Linter.RuleEntry<VueComponentOptionsNameCasing>
6023
- /**
6024
- * enforce order of component top-level elements
6025
- * @see https://eslint.vuejs.org/rules/component-tags-order.html
6026
- * @deprecated
6027
- */
6028
- 'vue/component-tags-order'?: Linter.RuleEntry<VueComponentTagsOrder>
6029
6057
  /**
6030
6058
  * enforce specific casing for custom event name
6031
6059
  * @see https://eslint.vuejs.org/rules/custom-event-name-casing.html
@@ -6092,7 +6120,7 @@ interface RuleOptions {
6092
6120
  */
6093
6121
  'vue/html-closing-bracket-spacing'?: Linter.RuleEntry<VueHtmlClosingBracketSpacing>
6094
6122
  /**
6095
- * enforce unified line brake in HTML comments
6123
+ * enforce unified line break in HTML comments
6096
6124
  * @see https://eslint.vuejs.org/rules/html-comment-content-newline.html
6097
6125
  */
6098
6126
  'vue/html-comment-content-newline'?: Linter.RuleEntry<VueHtmlCommentContentNewline>
@@ -6402,11 +6430,15 @@ interface RuleOptions {
6402
6430
  */
6403
6431
  'vue/no-extra-parens'?: Linter.RuleEntry<VueNoExtraParens>
6404
6432
  /**
6405
- * require valid keys in model option
6406
- * @see https://eslint.vuejs.org/rules/no-invalid-model-keys.html
6407
- * @deprecated
6433
+ * Disallow shorthand type conversions in `<template>`
6434
+ * @see https://eslint.vuejs.org/rules/no-implicit-coercion.html
6435
+ */
6436
+ 'vue/no-implicit-coercion'?: Linter.RuleEntry<VueNoImplicitCoercion>
6437
+ /**
6438
+ * disallow importing Vue compiler macros
6439
+ * @see https://eslint.vuejs.org/rules/no-import-compiler-macros.html
6408
6440
  */
6409
- 'vue/no-invalid-model-keys'?: Linter.RuleEntry<[]>
6441
+ 'vue/no-import-compiler-macros'?: Linter.RuleEntry<[]>
6410
6442
  /**
6411
6443
  * disallow irregular whitespace in `.vue` files
6412
6444
  * @see https://eslint.vuejs.org/rules/no-irregular-whitespace.html
@@ -6433,12 +6465,12 @@ interface RuleOptions {
6433
6465
  */
6434
6466
  'vue/no-multi-spaces'?: Linter.RuleEntry<VueNoMultiSpaces>
6435
6467
  /**
6436
- * disallow to pass multiple objects into array to class
6468
+ * disallow passing multiple objects in an array to class
6437
6469
  * @see https://eslint.vuejs.org/rules/no-multiple-objects-in-class.html
6438
6470
  */
6439
6471
  'vue/no-multiple-objects-in-class'?: Linter.RuleEntry<[]>
6440
6472
  /**
6441
- * disallow to pass multiple arguments to scoped slots
6473
+ * disallow passing multiple arguments to scoped slots
6442
6474
  * @see https://eslint.vuejs.org/rules/no-multiple-slot-args.html
6443
6475
  */
6444
6476
  'vue/no-multiple-slot-args'?: Linter.RuleEntry<[]>
@@ -6467,12 +6499,6 @@ interface RuleOptions {
6467
6499
  * @see https://eslint.vuejs.org/rules/no-ref-as-operand.html
6468
6500
  */
6469
6501
  'vue/no-ref-as-operand'?: Linter.RuleEntry<[]>
6470
- /**
6471
- * disallow usages of ref objects that can lead to loss of reactivity
6472
- * @see https://eslint.vuejs.org/rules/no-ref-object-destructure.html
6473
- * @deprecated
6474
- */
6475
- 'vue/no-ref-object-destructure'?: Linter.RuleEntry<[]>
6476
6502
  /**
6477
6503
  * disallow usages of ref objects that can lead to loss of reactivity
6478
6504
  * @see https://eslint.vuejs.org/rules/no-ref-object-reactivity-loss.html
@@ -6563,12 +6589,6 @@ interface RuleOptions {
6563
6589
  * @see https://eslint.vuejs.org/rules/no-root-v-if.html
6564
6590
  */
6565
6591
  'vue/no-root-v-if'?: Linter.RuleEntry<[]>
6566
- /**
6567
- * disallow usages that lose the reactivity of `props` passed to `setup`
6568
- * @see https://eslint.vuejs.org/rules/no-setup-props-destructure.html
6569
- * @deprecated
6570
- */
6571
- 'vue/no-setup-props-destructure'?: Linter.RuleEntry<[]>
6572
6592
  /**
6573
6593
  * disallow usages that lose the reactivity of `props` passed to `setup`
6574
6594
  * @see https://eslint.vuejs.org/rules/no-setup-props-reactivity-loss.html
@@ -6702,6 +6722,7 @@ interface RuleOptions {
6702
6722
  /**
6703
6723
  * disallow `key` attribute on `<template v-for>`
6704
6724
  * @see https://eslint.vuejs.org/rules/no-v-for-template-key.html
6725
+ * @deprecated
6705
6726
  */
6706
6727
  'vue/no-v-for-template-key'?: Linter.RuleEntry<[]>
6707
6728
  /**
@@ -6717,6 +6738,7 @@ interface RuleOptions {
6717
6738
  /**
6718
6739
  * disallow adding an argument to `v-model` used in custom component
6719
6740
  * @see https://eslint.vuejs.org/rules/no-v-model-argument.html
6741
+ * @deprecated
6720
6742
  */
6721
6743
  'vue/no-v-model-argument'?: Linter.RuleEntry<[]>
6722
6744
  /**
@@ -6949,12 +6971,6 @@ interface RuleOptions {
6949
6971
  * @see https://eslint.vuejs.org/rules/script-indent.html
6950
6972
  */
6951
6973
  'vue/script-indent'?: Linter.RuleEntry<VueScriptIndent>
6952
- /**
6953
- * prevent `<script setup>` variables used in `<template>` to be marked as unused
6954
- * @see https://eslint.vuejs.org/rules/script-setup-uses-vars.html
6955
- * @deprecated
6956
- */
6957
- 'vue/script-setup-uses-vars'?: Linter.RuleEntry<[]>
6958
6974
  /**
6959
6975
  * require a line break before and after the contents of a singleline element
6960
6976
  * @see https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html
@@ -7025,12 +7041,6 @@ interface RuleOptions {
7025
7041
  * @see https://eslint.vuejs.org/rules/v-on-event-hyphenation.html
7026
7042
  */
7027
7043
  'vue/v-on-event-hyphenation'?: Linter.RuleEntry<VueVOnEventHyphenation>
7028
- /**
7029
- * enforce or forbid parentheses after method calls without arguments in `v-on` directives
7030
- * @see https://eslint.vuejs.org/rules/v-on-function-call.html
7031
- * @deprecated
7032
- */
7033
- 'vue/v-on-function-call'?: Linter.RuleEntry<VueVOnFunctionCall>
7034
7044
  /**
7035
7045
  * enforce writing style for handlers in `v-on` directives
7036
7046
  * @see https://eslint.vuejs.org/rules/v-on-handler-style.html
@@ -7069,6 +7079,7 @@ interface RuleOptions {
7069
7079
  /**
7070
7080
  * require valid keys in model option
7071
7081
  * @see https://eslint.vuejs.org/rules/valid-model-definition.html
7082
+ * @deprecated
7072
7083
  */
7073
7084
  'vue/valid-model-definition'?: Linter.RuleEntry<[]>
7074
7085
  /**
@@ -7089,6 +7100,7 @@ interface RuleOptions {
7089
7100
  /**
7090
7101
  * enforce valid `.sync` modifier on `v-bind` directives
7091
7102
  * @see https://eslint.vuejs.org/rules/valid-v-bind-sync.html
7103
+ * @deprecated
7092
7104
  */
7093
7105
  'vue/valid-v-bind-sync'?: Linter.RuleEntry<[]>
7094
7106
  /**
@@ -7477,6 +7489,8 @@ type TypescriptEslintExplicitModuleBoundaryTypes = []|[{
7477
7489
 
7478
7490
  allowHigherOrderFunctions?: boolean
7479
7491
 
7492
+ allowOverloadFunctions?: boolean
7493
+
7480
7494
  allowTypedFunctionExpressions?: boolean
7481
7495
  }]
7482
7496
  // ----- @typescript-eslint/init-declarations -----
@@ -8508,6 +8522,8 @@ type TypescriptEslintUnboundMethod = []|[{
8508
8522
  type TypescriptEslintUnifiedSignatures = []|[{
8509
8523
 
8510
8524
  ignoreDifferentlyNamedParameters?: boolean
8525
+
8526
+ ignoreOverloadsWithDifferentJSDoc?: boolean
8511
8527
  }]
8512
8528
  // ----- accessor-pairs -----
8513
8529
  type AccessorPairs = []|[{
@@ -11151,8 +11167,6 @@ type PaddingLineBetweenStatements = {
11151
11167
  // ----- perfectionist/sort-array-includes -----
11152
11168
  type PerfectionistSortArrayIncludes = {
11153
11169
 
11154
- specialCharacters?: ("remove" | "trim" | "keep")
11155
-
11156
11170
  fallbackSort?: {
11157
11171
 
11158
11172
  order?: ("asc" | "desc")
@@ -11161,6 +11175,8 @@ type PerfectionistSortArrayIncludes = {
11161
11175
  [k: string]: unknown | undefined
11162
11176
  }
11163
11177
 
11178
+ specialCharacters?: ("remove" | "trim" | "keep")
11179
+
11164
11180
  ignoreCase?: boolean
11165
11181
 
11166
11182
  alphabet?: string
@@ -11175,13 +11191,21 @@ type PerfectionistSortArrayIncludes = {
11175
11191
 
11176
11192
  customGroups?: ({
11177
11193
 
11178
- groupName?: string
11194
+ newlinesInside?: ("always" | "never")
11179
11195
 
11180
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11196
+ fallbackSort?: {
11197
+
11198
+ order?: ("asc" | "desc")
11199
+
11200
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11201
+ [k: string]: unknown | undefined
11202
+ }
11181
11203
 
11182
- order?: ("desc" | "asc")
11204
+ groupName?: string
11183
11205
 
11184
- newlinesInside?: ("always" | "never")
11206
+ order?: ("asc" | "desc")
11207
+
11208
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11185
11209
  anyOf?: {
11186
11210
 
11187
11211
  selector?: ("literal" | "spread")
@@ -11196,13 +11220,21 @@ type PerfectionistSortArrayIncludes = {
11196
11220
  }[]
11197
11221
  } | {
11198
11222
 
11199
- groupName?: string
11223
+ newlinesInside?: ("always" | "never")
11200
11224
 
11201
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11225
+ fallbackSort?: {
11226
+
11227
+ order?: ("asc" | "desc")
11228
+
11229
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11230
+ [k: string]: unknown | undefined
11231
+ }
11202
11232
 
11203
- order?: ("desc" | "asc")
11233
+ groupName?: string
11204
11234
 
11205
- newlinesInside?: ("always" | "never")
11235
+ order?: ("asc" | "desc")
11236
+
11237
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11206
11238
 
11207
11239
  selector?: ("literal" | "spread")
11208
11240
 
@@ -11260,8 +11292,6 @@ type PerfectionistSortArrayIncludes = {
11260
11292
  // ----- perfectionist/sort-classes -----
11261
11293
  type PerfectionistSortClasses = []|[{
11262
11294
 
11263
- specialCharacters?: ("remove" | "trim" | "keep")
11264
-
11265
11295
  fallbackSort?: {
11266
11296
 
11267
11297
  order?: ("asc" | "desc")
@@ -11270,6 +11300,8 @@ type PerfectionistSortClasses = []|[{
11270
11300
  [k: string]: unknown | undefined
11271
11301
  }
11272
11302
 
11303
+ specialCharacters?: ("remove" | "trim" | "keep")
11304
+
11273
11305
  ignoreCase?: boolean
11274
11306
 
11275
11307
  alphabet?: string
@@ -11282,13 +11314,21 @@ type PerfectionistSortClasses = []|[{
11282
11314
 
11283
11315
  customGroups?: ({
11284
11316
 
11285
- groupName?: string
11317
+ newlinesInside?: ("always" | "never")
11286
11318
 
11287
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11319
+ fallbackSort?: {
11320
+
11321
+ order?: ("asc" | "desc")
11322
+
11323
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11324
+ [k: string]: unknown | undefined
11325
+ }
11288
11326
 
11289
- order?: ("desc" | "asc")
11327
+ groupName?: string
11290
11328
 
11291
- newlinesInside?: ("always" | "never")
11329
+ order?: ("asc" | "desc")
11330
+
11331
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11292
11332
  anyOf?: {
11293
11333
 
11294
11334
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
@@ -11321,13 +11361,21 @@ type PerfectionistSortClasses = []|[{
11321
11361
  }[]
11322
11362
  } | {
11323
11363
 
11324
- groupName?: string
11364
+ newlinesInside?: ("always" | "never")
11325
11365
 
11326
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11366
+ fallbackSort?: {
11367
+
11368
+ order?: ("asc" | "desc")
11369
+
11370
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11371
+ [k: string]: unknown | undefined
11372
+ }
11327
11373
 
11328
- order?: ("desc" | "asc")
11374
+ groupName?: string
11329
11375
 
11330
- newlinesInside?: ("always" | "never")
11376
+ order?: ("asc" | "desc")
11377
+
11378
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11331
11379
 
11332
11380
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
11333
11381
 
@@ -11401,8 +11449,6 @@ type PerfectionistSortClasses = []|[{
11401
11449
  // ----- perfectionist/sort-decorators -----
11402
11450
  type PerfectionistSortDecorators = []|[{
11403
11451
 
11404
- specialCharacters?: ("remove" | "trim" | "keep")
11405
-
11406
11452
  fallbackSort?: {
11407
11453
 
11408
11454
  order?: ("asc" | "desc")
@@ -11411,6 +11457,8 @@ type PerfectionistSortDecorators = []|[{
11411
11457
  [k: string]: unknown | undefined
11412
11458
  }
11413
11459
 
11460
+ specialCharacters?: ("remove" | "trim" | "keep")
11461
+
11414
11462
  ignoreCase?: boolean
11415
11463
 
11416
11464
  alphabet?: string
@@ -11466,8 +11514,6 @@ type PerfectionistSortDecorators = []|[{
11466
11514
  // ----- perfectionist/sort-enums -----
11467
11515
  type PerfectionistSortEnums = []|[{
11468
11516
 
11469
- specialCharacters?: ("remove" | "trim" | "keep")
11470
-
11471
11517
  fallbackSort?: {
11472
11518
 
11473
11519
  order?: ("asc" | "desc")
@@ -11476,6 +11522,8 @@ type PerfectionistSortEnums = []|[{
11476
11522
  [k: string]: unknown | undefined
11477
11523
  }
11478
11524
 
11525
+ specialCharacters?: ("remove" | "trim" | "keep")
11526
+
11479
11527
  ignoreCase?: boolean
11480
11528
 
11481
11529
  alphabet?: string
@@ -11491,13 +11539,21 @@ type PerfectionistSortEnums = []|[{
11491
11539
  [k: string]: (string | string[]) | undefined
11492
11540
  } | ({
11493
11541
 
11494
- groupName?: string
11542
+ newlinesInside?: ("always" | "never")
11495
11543
 
11496
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11544
+ fallbackSort?: {
11545
+
11546
+ order?: ("asc" | "desc")
11547
+
11548
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11549
+ [k: string]: unknown | undefined
11550
+ }
11497
11551
 
11498
- order?: ("desc" | "asc")
11552
+ groupName?: string
11499
11553
 
11500
- newlinesInside?: ("always" | "never")
11554
+ order?: ("asc" | "desc")
11555
+
11556
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11501
11557
  anyOf?: {
11502
11558
 
11503
11559
  elementValuePattern?: (({
@@ -11518,13 +11574,21 @@ type PerfectionistSortEnums = []|[{
11518
11574
  }[]
11519
11575
  } | {
11520
11576
 
11521
- groupName?: string
11577
+ newlinesInside?: ("always" | "never")
11522
11578
 
11523
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11579
+ fallbackSort?: {
11580
+
11581
+ order?: ("asc" | "desc")
11582
+
11583
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11584
+ [k: string]: unknown | undefined
11585
+ }
11524
11586
 
11525
- order?: ("desc" | "asc")
11587
+ groupName?: string
11526
11588
 
11527
- newlinesInside?: ("always" | "never")
11589
+ order?: ("asc" | "desc")
11590
+
11591
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11528
11592
 
11529
11593
  elementValuePattern?: (({
11530
11594
  pattern?: string
@@ -11580,8 +11644,6 @@ type PerfectionistSortEnums = []|[{
11580
11644
  // ----- perfectionist/sort-exports -----
11581
11645
  type PerfectionistSortExports = []|[{
11582
11646
 
11583
- specialCharacters?: ("remove" | "trim" | "keep")
11584
-
11585
11647
  fallbackSort?: {
11586
11648
 
11587
11649
  order?: ("asc" | "desc")
@@ -11590,6 +11652,8 @@ type PerfectionistSortExports = []|[{
11590
11652
  [k: string]: unknown | undefined
11591
11653
  }
11592
11654
 
11655
+ specialCharacters?: ("remove" | "trim" | "keep")
11656
+
11593
11657
  ignoreCase?: boolean
11594
11658
 
11595
11659
  alphabet?: string
@@ -11630,8 +11694,6 @@ type PerfectionistSortExports = []|[{
11630
11694
  // ----- perfectionist/sort-heritage-clauses -----
11631
11695
  type PerfectionistSortHeritageClauses = []|[{
11632
11696
 
11633
- specialCharacters?: ("remove" | "trim" | "keep")
11634
-
11635
11697
  fallbackSort?: {
11636
11698
 
11637
11699
  order?: ("asc" | "desc")
@@ -11640,6 +11702,8 @@ type PerfectionistSortHeritageClauses = []|[{
11640
11702
  [k: string]: unknown | undefined
11641
11703
  }
11642
11704
 
11705
+ specialCharacters?: ("remove" | "trim" | "keep")
11706
+
11643
11707
  ignoreCase?: boolean
11644
11708
 
11645
11709
  alphabet?: string
@@ -11663,8 +11727,6 @@ type PerfectionistSortHeritageClauses = []|[{
11663
11727
  type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
11664
11728
  type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
11665
11729
 
11666
- specialCharacters?: ("remove" | "trim" | "keep")
11667
-
11668
11730
  fallbackSort?: {
11669
11731
 
11670
11732
  order?: ("asc" | "desc")
@@ -11673,6 +11735,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
11673
11735
  [k: string]: unknown | undefined
11674
11736
  }
11675
11737
 
11738
+ specialCharacters?: ("remove" | "trim" | "keep")
11739
+
11676
11740
  ignoreCase?: boolean
11677
11741
 
11678
11742
  alphabet?: string
@@ -11752,8 +11816,6 @@ interface _PerfectionistSortImports_IsLineLength {
11752
11816
  // ----- perfectionist/sort-interfaces -----
11753
11817
  type PerfectionistSortInterfaces = {
11754
11818
 
11755
- specialCharacters?: ("remove" | "trim" | "keep")
11756
-
11757
11819
  fallbackSort?: {
11758
11820
 
11759
11821
  order?: ("asc" | "desc")
@@ -11762,6 +11824,8 @@ type PerfectionistSortInterfaces = {
11762
11824
  [k: string]: unknown | undefined
11763
11825
  }
11764
11826
 
11827
+ specialCharacters?: ("remove" | "trim" | "keep")
11828
+
11765
11829
  ignoreCase?: boolean
11766
11830
 
11767
11831
  alphabet?: string
@@ -11775,19 +11839,36 @@ type PerfectionistSortInterfaces = {
11775
11839
  [k: string]: (string | string[]) | undefined
11776
11840
  } | ({
11777
11841
 
11778
- groupName?: string
11842
+ newlinesInside?: ("always" | "never")
11779
11843
 
11780
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11844
+ fallbackSort?: {
11845
+
11846
+ order?: ("asc" | "desc")
11847
+
11848
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11849
+ sortBy?: ("name" | "value")
11850
+ [k: string]: unknown | undefined
11851
+ }
11781
11852
 
11782
- order?: ("desc" | "asc")
11853
+ groupName?: string
11783
11854
 
11784
- newlinesInside?: ("always" | "never")
11855
+ order?: ("asc" | "desc")
11856
+
11857
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11785
11858
  anyOf?: {
11786
11859
 
11787
11860
  modifiers?: ("optional" | "required" | "multiline")[]
11788
11861
 
11789
11862
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
11790
11863
 
11864
+ elementValuePattern?: (({
11865
+ pattern?: string
11866
+ flags?: string
11867
+ } | string)[] | ({
11868
+ pattern?: string
11869
+ flags?: string
11870
+ } | string))
11871
+
11791
11872
  elementNamePattern?: (({
11792
11873
  pattern?: string
11793
11874
  flags?: string
@@ -11795,21 +11876,39 @@ type PerfectionistSortInterfaces = {
11795
11876
  pattern?: string
11796
11877
  flags?: string
11797
11878
  } | string))
11879
+ sortBy?: ("name" | "value")
11798
11880
  }[]
11799
11881
  } | {
11800
11882
 
11801
- groupName?: string
11883
+ newlinesInside?: ("always" | "never")
11884
+
11885
+ fallbackSort?: {
11886
+
11887
+ order?: ("asc" | "desc")
11888
+
11889
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11890
+ sortBy?: ("name" | "value")
11891
+ [k: string]: unknown | undefined
11892
+ }
11802
11893
 
11803
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11894
+ groupName?: string
11804
11895
 
11805
- order?: ("desc" | "asc")
11896
+ order?: ("asc" | "desc")
11806
11897
 
11807
- newlinesInside?: ("always" | "never")
11898
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11808
11899
 
11809
11900
  modifiers?: ("optional" | "required" | "multiline")[]
11810
11901
 
11811
11902
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
11812
11903
 
11904
+ elementValuePattern?: (({
11905
+ pattern?: string
11906
+ flags?: string
11907
+ } | string)[] | ({
11908
+ pattern?: string
11909
+ flags?: string
11910
+ } | string))
11911
+
11813
11912
  elementNamePattern?: (({
11814
11913
  pattern?: string
11815
11914
  flags?: string
@@ -11817,6 +11916,7 @@ type PerfectionistSortInterfaces = {
11817
11916
  pattern?: string
11818
11917
  flags?: string
11819
11918
  } | string))
11919
+ sortBy?: ("name" | "value")
11820
11920
  })[])
11821
11921
  useConfigurationIf?: {
11822
11922
 
@@ -11873,6 +11973,7 @@ type PerfectionistSortInterfaces = {
11873
11973
  pattern?: string
11874
11974
  flags?: string
11875
11975
  } | string))
11976
+ sortBy?: ("name" | "value")
11876
11977
 
11877
11978
  groups?: (string | string[] | {
11878
11979
 
@@ -11882,8 +11983,6 @@ type PerfectionistSortInterfaces = {
11882
11983
  // ----- perfectionist/sort-intersection-types -----
11883
11984
  type PerfectionistSortIntersectionTypes = []|[{
11884
11985
 
11885
- specialCharacters?: ("remove" | "trim" | "keep")
11886
-
11887
11986
  fallbackSort?: {
11888
11987
 
11889
11988
  order?: ("asc" | "desc")
@@ -11892,6 +11991,8 @@ type PerfectionistSortIntersectionTypes = []|[{
11892
11991
  [k: string]: unknown | undefined
11893
11992
  }
11894
11993
 
11994
+ specialCharacters?: ("remove" | "trim" | "keep")
11995
+
11895
11996
  ignoreCase?: boolean
11896
11997
 
11897
11998
  alphabet?: string
@@ -11937,8 +12038,6 @@ type PerfectionistSortIntersectionTypes = []|[{
11937
12038
  // ----- perfectionist/sort-jsx-props -----
11938
12039
  type PerfectionistSortJsxProps = {
11939
12040
 
11940
- specialCharacters?: ("remove" | "trim" | "keep")
11941
-
11942
12041
  fallbackSort?: {
11943
12042
 
11944
12043
  order?: ("asc" | "desc")
@@ -11947,6 +12046,8 @@ type PerfectionistSortJsxProps = {
11947
12046
  [k: string]: unknown | undefined
11948
12047
  }
11949
12048
 
12049
+ specialCharacters?: ("remove" | "trim" | "keep")
12050
+
11950
12051
  ignoreCase?: boolean
11951
12052
 
11952
12053
  alphabet?: string
@@ -11999,8 +12100,6 @@ type PerfectionistSortJsxProps = {
11999
12100
  // ----- perfectionist/sort-maps -----
12000
12101
  type PerfectionistSortMaps = {
12001
12102
 
12002
- specialCharacters?: ("remove" | "trim" | "keep")
12003
-
12004
12103
  fallbackSort?: {
12005
12104
 
12006
12105
  order?: ("asc" | "desc")
@@ -12009,6 +12108,8 @@ type PerfectionistSortMaps = {
12009
12108
  [k: string]: unknown | undefined
12010
12109
  }
12011
12110
 
12111
+ specialCharacters?: ("remove" | "trim" | "keep")
12112
+
12012
12113
  ignoreCase?: boolean
12013
12114
 
12014
12115
  alphabet?: string
@@ -12021,13 +12122,21 @@ type PerfectionistSortMaps = {
12021
12122
 
12022
12123
  customGroups?: ({
12023
12124
 
12024
- groupName?: string
12125
+ newlinesInside?: ("always" | "never")
12025
12126
 
12026
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12127
+ fallbackSort?: {
12128
+
12129
+ order?: ("asc" | "desc")
12130
+
12131
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12132
+ [k: string]: unknown | undefined
12133
+ }
12027
12134
 
12028
- order?: ("desc" | "asc")
12135
+ groupName?: string
12029
12136
 
12030
- newlinesInside?: ("always" | "never")
12137
+ order?: ("asc" | "desc")
12138
+
12139
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12031
12140
  anyOf?: {
12032
12141
 
12033
12142
  elementNamePattern?: (({
@@ -12040,13 +12149,21 @@ type PerfectionistSortMaps = {
12040
12149
  }[]
12041
12150
  } | {
12042
12151
 
12043
- groupName?: string
12152
+ newlinesInside?: ("always" | "never")
12153
+
12154
+ fallbackSort?: {
12155
+
12156
+ order?: ("asc" | "desc")
12157
+
12158
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12159
+ [k: string]: unknown | undefined
12160
+ }
12044
12161
 
12045
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12162
+ groupName?: string
12046
12163
 
12047
- order?: ("desc" | "asc")
12164
+ order?: ("asc" | "desc")
12048
12165
 
12049
- newlinesInside?: ("always" | "never")
12166
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12050
12167
 
12051
12168
  elementNamePattern?: (({
12052
12169
  pattern?: string
@@ -12102,8 +12219,6 @@ type PerfectionistSortMaps = {
12102
12219
  // ----- perfectionist/sort-modules -----
12103
12220
  type PerfectionistSortModules = []|[{
12104
12221
 
12105
- specialCharacters?: ("remove" | "trim" | "keep")
12106
-
12107
12222
  fallbackSort?: {
12108
12223
 
12109
12224
  order?: ("asc" | "desc")
@@ -12112,6 +12227,8 @@ type PerfectionistSortModules = []|[{
12112
12227
  [k: string]: unknown | undefined
12113
12228
  }
12114
12229
 
12230
+ specialCharacters?: ("remove" | "trim" | "keep")
12231
+
12115
12232
  ignoreCase?: boolean
12116
12233
 
12117
12234
  alphabet?: string
@@ -12124,13 +12241,21 @@ type PerfectionistSortModules = []|[{
12124
12241
 
12125
12242
  customGroups?: ({
12126
12243
 
12127
- groupName?: string
12244
+ newlinesInside?: ("always" | "never")
12128
12245
 
12129
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12246
+ fallbackSort?: {
12247
+
12248
+ order?: ("asc" | "desc")
12249
+
12250
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12251
+ [k: string]: unknown | undefined
12252
+ }
12130
12253
 
12131
- order?: ("desc" | "asc")
12254
+ groupName?: string
12132
12255
 
12133
- newlinesInside?: ("always" | "never")
12256
+ order?: ("asc" | "desc")
12257
+
12258
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12134
12259
  anyOf?: {
12135
12260
 
12136
12261
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
@@ -12155,13 +12280,21 @@ type PerfectionistSortModules = []|[{
12155
12280
  }[]
12156
12281
  } | {
12157
12282
 
12158
- groupName?: string
12283
+ newlinesInside?: ("always" | "never")
12159
12284
 
12160
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12285
+ fallbackSort?: {
12286
+
12287
+ order?: ("asc" | "desc")
12288
+
12289
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12290
+ [k: string]: unknown | undefined
12291
+ }
12161
12292
 
12162
- order?: ("desc" | "asc")
12293
+ groupName?: string
12163
12294
 
12164
- newlinesInside?: ("always" | "never")
12295
+ order?: ("asc" | "desc")
12296
+
12297
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12165
12298
 
12166
12299
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
12167
12300
 
@@ -12219,8 +12352,6 @@ type PerfectionistSortModules = []|[{
12219
12352
  // ----- perfectionist/sort-named-exports -----
12220
12353
  type PerfectionistSortNamedExports = []|[{
12221
12354
 
12222
- specialCharacters?: ("remove" | "trim" | "keep")
12223
-
12224
12355
  fallbackSort?: {
12225
12356
 
12226
12357
  order?: ("asc" | "desc")
@@ -12229,6 +12360,8 @@ type PerfectionistSortNamedExports = []|[{
12229
12360
  [k: string]: unknown | undefined
12230
12361
  }
12231
12362
 
12363
+ specialCharacters?: ("remove" | "trim" | "keep")
12364
+
12232
12365
  ignoreCase?: boolean
12233
12366
 
12234
12367
  alphabet?: string
@@ -12271,8 +12404,6 @@ type PerfectionistSortNamedExports = []|[{
12271
12404
  // ----- perfectionist/sort-named-imports -----
12272
12405
  type PerfectionistSortNamedImports = []|[{
12273
12406
 
12274
- specialCharacters?: ("remove" | "trim" | "keep")
12275
-
12276
12407
  fallbackSort?: {
12277
12408
 
12278
12409
  order?: ("asc" | "desc")
@@ -12281,6 +12412,8 @@ type PerfectionistSortNamedImports = []|[{
12281
12412
  [k: string]: unknown | undefined
12282
12413
  }
12283
12414
 
12415
+ specialCharacters?: ("remove" | "trim" | "keep")
12416
+
12284
12417
  ignoreCase?: boolean
12285
12418
 
12286
12419
  alphabet?: string
@@ -12323,8 +12456,6 @@ type PerfectionistSortNamedImports = []|[{
12323
12456
  // ----- perfectionist/sort-object-types -----
12324
12457
  type PerfectionistSortObjectTypes = {
12325
12458
 
12326
- specialCharacters?: ("remove" | "trim" | "keep")
12327
-
12328
12459
  fallbackSort?: {
12329
12460
 
12330
12461
  order?: ("asc" | "desc")
@@ -12333,6 +12464,8 @@ type PerfectionistSortObjectTypes = {
12333
12464
  [k: string]: unknown | undefined
12334
12465
  }
12335
12466
 
12467
+ specialCharacters?: ("remove" | "trim" | "keep")
12468
+
12336
12469
  ignoreCase?: boolean
12337
12470
 
12338
12471
  alphabet?: string
@@ -12346,19 +12479,36 @@ type PerfectionistSortObjectTypes = {
12346
12479
  [k: string]: (string | string[]) | undefined
12347
12480
  } | ({
12348
12481
 
12349
- groupName?: string
12482
+ newlinesInside?: ("always" | "never")
12350
12483
 
12351
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12484
+ fallbackSort?: {
12485
+
12486
+ order?: ("asc" | "desc")
12487
+
12488
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12489
+ sortBy?: ("name" | "value")
12490
+ [k: string]: unknown | undefined
12491
+ }
12352
12492
 
12353
- order?: ("desc" | "asc")
12493
+ groupName?: string
12354
12494
 
12355
- newlinesInside?: ("always" | "never")
12495
+ order?: ("asc" | "desc")
12496
+
12497
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12356
12498
  anyOf?: {
12357
12499
 
12358
12500
  modifiers?: ("optional" | "required" | "multiline")[]
12359
12501
 
12360
12502
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
12361
12503
 
12504
+ elementValuePattern?: (({
12505
+ pattern?: string
12506
+ flags?: string
12507
+ } | string)[] | ({
12508
+ pattern?: string
12509
+ flags?: string
12510
+ } | string))
12511
+
12362
12512
  elementNamePattern?: (({
12363
12513
  pattern?: string
12364
12514
  flags?: string
@@ -12366,21 +12516,39 @@ type PerfectionistSortObjectTypes = {
12366
12516
  pattern?: string
12367
12517
  flags?: string
12368
12518
  } | string))
12519
+ sortBy?: ("name" | "value")
12369
12520
  }[]
12370
12521
  } | {
12371
12522
 
12372
- groupName?: string
12523
+ newlinesInside?: ("always" | "never")
12373
12524
 
12374
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12525
+ fallbackSort?: {
12526
+
12527
+ order?: ("asc" | "desc")
12528
+
12529
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12530
+ sortBy?: ("name" | "value")
12531
+ [k: string]: unknown | undefined
12532
+ }
12375
12533
 
12376
- order?: ("desc" | "asc")
12534
+ groupName?: string
12377
12535
 
12378
- newlinesInside?: ("always" | "never")
12536
+ order?: ("asc" | "desc")
12537
+
12538
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12379
12539
 
12380
12540
  modifiers?: ("optional" | "required" | "multiline")[]
12381
12541
 
12382
12542
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
12383
12543
 
12544
+ elementValuePattern?: (({
12545
+ pattern?: string
12546
+ flags?: string
12547
+ } | string)[] | ({
12548
+ pattern?: string
12549
+ flags?: string
12550
+ } | string))
12551
+
12384
12552
  elementNamePattern?: (({
12385
12553
  pattern?: string
12386
12554
  flags?: string
@@ -12388,6 +12556,7 @@ type PerfectionistSortObjectTypes = {
12388
12556
  pattern?: string
12389
12557
  flags?: string
12390
12558
  } | string))
12559
+ sortBy?: ("name" | "value")
12391
12560
  })[])
12392
12561
  useConfigurationIf?: {
12393
12562
 
@@ -12444,6 +12613,7 @@ type PerfectionistSortObjectTypes = {
12444
12613
  pattern?: string
12445
12614
  flags?: string
12446
12615
  } | string))
12616
+ sortBy?: ("name" | "value")
12447
12617
 
12448
12618
  groups?: (string | string[] | {
12449
12619
 
@@ -12453,8 +12623,6 @@ type PerfectionistSortObjectTypes = {
12453
12623
  // ----- perfectionist/sort-objects -----
12454
12624
  type PerfectionistSortObjects = {
12455
12625
 
12456
- specialCharacters?: ("remove" | "trim" | "keep")
12457
-
12458
12626
  fallbackSort?: {
12459
12627
 
12460
12628
  order?: ("asc" | "desc")
@@ -12463,6 +12631,8 @@ type PerfectionistSortObjects = {
12463
12631
  [k: string]: unknown | undefined
12464
12632
  }
12465
12633
 
12634
+ specialCharacters?: ("remove" | "trim" | "keep")
12635
+
12466
12636
  ignoreCase?: boolean
12467
12637
 
12468
12638
  alphabet?: string
@@ -12481,13 +12651,21 @@ type PerfectionistSortObjects = {
12481
12651
  [k: string]: (string | string[]) | undefined
12482
12652
  } | ({
12483
12653
 
12484
- groupName?: string
12654
+ newlinesInside?: ("always" | "never")
12485
12655
 
12486
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12656
+ fallbackSort?: {
12657
+
12658
+ order?: ("asc" | "desc")
12659
+
12660
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12661
+ [k: string]: unknown | undefined
12662
+ }
12487
12663
 
12488
- order?: ("desc" | "asc")
12664
+ groupName?: string
12489
12665
 
12490
- newlinesInside?: ("always" | "never")
12666
+ order?: ("asc" | "desc")
12667
+
12668
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12491
12669
  anyOf?: {
12492
12670
 
12493
12671
  modifiers?: ("optional" | "required" | "multiline")[]
@@ -12512,13 +12690,21 @@ type PerfectionistSortObjects = {
12512
12690
  }[]
12513
12691
  } | {
12514
12692
 
12515
- groupName?: string
12693
+ newlinesInside?: ("always" | "never")
12694
+
12695
+ fallbackSort?: {
12696
+
12697
+ order?: ("asc" | "desc")
12698
+
12699
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12700
+ [k: string]: unknown | undefined
12701
+ }
12516
12702
 
12517
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12703
+ groupName?: string
12518
12704
 
12519
- order?: ("desc" | "asc")
12705
+ order?: ("asc" | "desc")
12520
12706
 
12521
- newlinesInside?: ("always" | "never")
12707
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12522
12708
 
12523
12709
  modifiers?: ("optional" | "required" | "multiline")[]
12524
12710
 
@@ -12608,8 +12794,6 @@ type PerfectionistSortObjects = {
12608
12794
  // ----- perfectionist/sort-sets -----
12609
12795
  type PerfectionistSortSets = {
12610
12796
 
12611
- specialCharacters?: ("remove" | "trim" | "keep")
12612
-
12613
12797
  fallbackSort?: {
12614
12798
 
12615
12799
  order?: ("asc" | "desc")
@@ -12618,6 +12802,8 @@ type PerfectionistSortSets = {
12618
12802
  [k: string]: unknown | undefined
12619
12803
  }
12620
12804
 
12805
+ specialCharacters?: ("remove" | "trim" | "keep")
12806
+
12621
12807
  ignoreCase?: boolean
12622
12808
 
12623
12809
  alphabet?: string
@@ -12632,13 +12818,21 @@ type PerfectionistSortSets = {
12632
12818
 
12633
12819
  customGroups?: ({
12634
12820
 
12635
- groupName?: string
12821
+ newlinesInside?: ("always" | "never")
12636
12822
 
12637
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12823
+ fallbackSort?: {
12824
+
12825
+ order?: ("asc" | "desc")
12826
+
12827
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12828
+ [k: string]: unknown | undefined
12829
+ }
12638
12830
 
12639
- order?: ("desc" | "asc")
12831
+ groupName?: string
12640
12832
 
12641
- newlinesInside?: ("always" | "never")
12833
+ order?: ("asc" | "desc")
12834
+
12835
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12642
12836
  anyOf?: {
12643
12837
 
12644
12838
  selector?: ("literal" | "spread")
@@ -12653,13 +12847,21 @@ type PerfectionistSortSets = {
12653
12847
  }[]
12654
12848
  } | {
12655
12849
 
12656
- groupName?: string
12850
+ newlinesInside?: ("always" | "never")
12657
12851
 
12658
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12852
+ fallbackSort?: {
12853
+
12854
+ order?: ("asc" | "desc")
12855
+
12856
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12857
+ [k: string]: unknown | undefined
12858
+ }
12659
12859
 
12660
- order?: ("desc" | "asc")
12860
+ groupName?: string
12661
12861
 
12662
- newlinesInside?: ("always" | "never")
12862
+ order?: ("asc" | "desc")
12863
+
12864
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12663
12865
 
12664
12866
  selector?: ("literal" | "spread")
12665
12867
 
@@ -12717,8 +12919,6 @@ type PerfectionistSortSets = {
12717
12919
  // ----- perfectionist/sort-switch-case -----
12718
12920
  type PerfectionistSortSwitchCase = []|[{
12719
12921
 
12720
- specialCharacters?: ("remove" | "trim" | "keep")
12721
-
12722
12922
  fallbackSort?: {
12723
12923
 
12724
12924
  order?: ("asc" | "desc")
@@ -12727,6 +12927,8 @@ type PerfectionistSortSwitchCase = []|[{
12727
12927
  [k: string]: unknown | undefined
12728
12928
  }
12729
12929
 
12930
+ specialCharacters?: ("remove" | "trim" | "keep")
12931
+
12730
12932
  ignoreCase?: boolean
12731
12933
 
12732
12934
  alphabet?: string
@@ -12740,8 +12942,6 @@ type PerfectionistSortSwitchCase = []|[{
12740
12942
  // ----- perfectionist/sort-union-types -----
12741
12943
  type PerfectionistSortUnionTypes = []|[{
12742
12944
 
12743
- specialCharacters?: ("remove" | "trim" | "keep")
12744
-
12745
12945
  fallbackSort?: {
12746
12946
 
12747
12947
  order?: ("asc" | "desc")
@@ -12750,6 +12950,8 @@ type PerfectionistSortUnionTypes = []|[{
12750
12950
  [k: string]: unknown | undefined
12751
12951
  }
12752
12952
 
12953
+ specialCharacters?: ("remove" | "trim" | "keep")
12954
+
12753
12955
  ignoreCase?: boolean
12754
12956
 
12755
12957
  alphabet?: string
@@ -12795,8 +12997,6 @@ type PerfectionistSortUnionTypes = []|[{
12795
12997
  // ----- perfectionist/sort-variable-declarations -----
12796
12998
  type PerfectionistSortVariableDeclarations = []|[{
12797
12999
 
12798
- specialCharacters?: ("remove" | "trim" | "keep")
12799
-
12800
13000
  fallbackSort?: {
12801
13001
 
12802
13002
  order?: ("asc" | "desc")
@@ -12805,6 +13005,8 @@ type PerfectionistSortVariableDeclarations = []|[{
12805
13005
  [k: string]: unknown | undefined
12806
13006
  }
12807
13007
 
13008
+ specialCharacters?: ("remove" | "trim" | "keep")
13009
+
12808
13010
  ignoreCase?: boolean
12809
13011
 
12810
13012
  alphabet?: string
@@ -12846,6 +13048,30 @@ type PiniaPreferUseStoreNamingConvention = []|[{
12846
13048
  storeSuffix?: string
12847
13049
  [k: string]: unknown | undefined
12848
13050
  }]
13051
+ // ----- pnpm/enforce-catalog -----
13052
+ type PnpmEnforceCatalog = []|[{
13053
+
13054
+ allowedProtocols?: string[]
13055
+
13056
+ autofix?: boolean
13057
+
13058
+ defaultCatalog?: string
13059
+
13060
+ reuseExistingCatalog?: boolean
13061
+ }]
13062
+ // ----- pnpm/prefer-workspace-settings -----
13063
+ type PnpmPreferWorkspaceSettings = []|[{
13064
+ autofix?: boolean
13065
+ }]
13066
+ // ----- pnpm/valid-catalog -----
13067
+ type PnpmValidCatalog = []|[{
13068
+
13069
+ autoInsert?: boolean
13070
+
13071
+ autoInsertDefaultSpecifier?: string
13072
+
13073
+ autofix?: boolean
13074
+ }]
12849
13075
  // ----- prefer-arrow-callback -----
12850
13076
  type PreferArrowCallback = []|[{
12851
13077
  allowNamedFunctions?: boolean
@@ -14224,16 +14450,10 @@ type VueComponentNameInTemplateCasing = []|[("PascalCase" | "kebab-case")]|[("Pa
14224
14450
  }]
14225
14451
  // ----- vue/component-options-name-casing -----
14226
14452
  type VueComponentOptionsNameCasing = []|[("camelCase" | "kebab-case" | "PascalCase")]
14227
- // ----- vue/component-tags-order -----
14228
- type VueComponentTagsOrder = []|[{
14229
- order?: (string | string[])[]
14230
- }]
14231
14453
  // ----- vue/custom-event-name-casing -----
14232
- type VueCustomEventNameCasing = ([]|[("kebab-case" | "camelCase")]|[("kebab-case" | "camelCase"), {
14233
- ignores?: string[]
14234
- }] | []|[{
14454
+ type VueCustomEventNameCasing = []|[("kebab-case" | "camelCase")]|[("kebab-case" | "camelCase"), {
14235
14455
  ignores?: string[]
14236
- }])
14456
+ }]
14237
14457
  // ----- vue/define-emits-declaration -----
14238
14458
  type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
14239
14459
  // ----- vue/define-macros-order -----
@@ -14864,6 +15084,14 @@ type VueNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
14864
15084
  enforceForFunctionPrototypeMethods?: boolean
14865
15085
  allowParensAfterCommentPattern?: string
14866
15086
  }])
15087
+ // ----- vue/no-implicit-coercion -----
15088
+ type VueNoImplicitCoercion = []|[{
15089
+ boolean?: boolean
15090
+ number?: boolean
15091
+ string?: boolean
15092
+ disallowTemplateShorthand?: boolean
15093
+ allow?: ("~" | "!!" | "+" | "- -" | "-" | "*")[]
15094
+ }]
14867
15095
  // ----- vue/no-irregular-whitespace -----
14868
15096
  type VueNoIrregularWhitespace = []|[{
14869
15097
  skipComments?: boolean
@@ -15155,9 +15383,13 @@ type VuePaddingLinesInComponentDefinition = []|[(("always" | "never") | {
15155
15383
  groupSingleLineProperties?: boolean
15156
15384
  })]
15157
15385
  // ----- vue/prefer-true-attribute-shorthand -----
15158
- type VuePreferTrueAttributeShorthand = []|[("always" | "never")]
15386
+ type VuePreferTrueAttributeShorthand = []|[("always" | "never")]|[("always" | "never"), {
15387
+ except?: string[]
15388
+ }]
15159
15389
  // ----- vue/prop-name-casing -----
15160
- type VuePropNameCasing = []|[("camelCase" | "snake_case")]
15390
+ type VuePropNameCasing = []|[("camelCase" | "snake_case")]|[("camelCase" | "snake_case"), {
15391
+ ignoreProps?: string[]
15392
+ }]
15161
15393
  // ----- vue/quote-props -----
15162
15394
  type VueQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
15163
15395
  keywords?: boolean
@@ -15222,7 +15454,6 @@ type VueSortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
15222
15454
  ignoreGrandchildrenOf?: unknown[]
15223
15455
  minKeys?: number
15224
15456
  natural?: boolean
15225
- runOutsideVue?: boolean
15226
15457
  }]
15227
15458
  // ----- vue/space-in-parens -----
15228
15459
  type VueSpaceInParens = []|[("always" | "never")]|[("always" | "never"), {
@@ -15260,10 +15491,6 @@ type VueVOnEventHyphenation = []|[("always" | "never")]|[("always" | "never"), {
15260
15491
  })[]
15261
15492
  ignoreTags?: string[]
15262
15493
  }]
15263
- // ----- vue/v-on-function-call -----
15264
- type VueVOnFunctionCall = []|[("always" | "never")]|[("always" | "never"), {
15265
- ignoreIncludesComment?: boolean
15266
- }]
15267
15494
  // ----- vue/v-on-handler-style -----
15268
15495
  type VueVOnHandlerStyle = []|[(("inline" | "inline-function") | ["method", ("inline" | "inline-function")])]|[(("inline" | "inline-function") | ["method", ("inline" | "inline-function")]), {
15269
15496
  ignoreIncludesComment?: boolean
@@ -15506,7 +15733,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
15506
15733
  onlyEquality?: boolean
15507
15734
  }]
15508
15735
  // Names of all the configs
15509
- 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/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'
15736
+ 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'
15510
15737
 
15511
15738
  /**
15512
15739
  * ESLint config
@@ -15548,21 +15775,6 @@ type TypedConfigItem = Omit<Linter.Config<ESLintRulesRecord & RuleOptions>, 'plu
15548
15775
  plugins?: Record<string, any>;
15549
15776
  };
15550
15777
 
15551
- /**
15552
- * Options for add `extensions` support
15553
- */
15554
- interface OptionsExtensions {
15555
- extensions?: string[];
15556
- }
15557
- /**
15558
- * Options for add `features` support
15559
- */
15560
- type OptionsFeatures = {
15561
- /**
15562
- * Enable typescript support
15563
- */
15564
- typescript?: boolean;
15565
- };
15566
15778
  /**
15567
15779
  * Options for overrides `files`
15568
15780
  */
@@ -15581,6 +15793,20 @@ interface OptionsIgnores {
15581
15793
  interface OptionsOverrides<Rules extends TypedConfigItem['rules'] = TypedConfigItem['rules']> {
15582
15794
  overrides?: Rules;
15583
15795
  }
15796
+ /**
15797
+ * Options for shareable cross plugins
15798
+ */
15799
+ interface OptionsShareable {
15800
+ /**
15801
+ * @see {@link https://typescript-eslint.io/packages/parser/#extrafileextensions}
15802
+ */
15803
+ extraFileExtensions?: string[];
15804
+ /**
15805
+ * Enable typescript support
15806
+ * @default false
15807
+ */
15808
+ typescript?: boolean;
15809
+ }
15584
15810
 
15585
15811
  /**
15586
15812
  * @file Config options
@@ -15589,7 +15815,15 @@ interface OptionsOverrides<Rules extends TypedConfigItem['rules'] = TypedConfigI
15589
15815
  /**
15590
15816
  * Config factory options
15591
15817
  */
15592
- interface ConfigOptions extends OptionsExtensions {
15818
+ interface ConfigOptions {
15819
+ /**
15820
+ * Shareable options
15821
+ */
15822
+ shareable?: OptionsShareable;
15823
+ /**
15824
+ * Configs enabled by default
15825
+ * @pg
15826
+ */
15593
15827
  command?: ConfigCommandOptions;
15594
15828
  eslintComments?: ConfigESLintCommentsOptions;
15595
15829
  ignores?: ConfigIgnoresOptions;
@@ -15613,6 +15847,7 @@ interface ConfigOptions extends OptionsExtensions {
15613
15847
  ntnyq?: boolean | ConfigNtnyqOptions;
15614
15848
  perfectionist?: boolean | ConfigPerfectionistOptions;
15615
15849
  pinia?: boolean | ConfigPiniaOptions;
15850
+ pnpm?: boolean | ConfigPnpmOptions;
15616
15851
  prettier?: boolean | ConfigPrettierOptions;
15617
15852
  regexp?: boolean | ConfigRegexpOptions;
15618
15853
  sort?: boolean | ConfigSortOptions;
@@ -15652,55 +15887,54 @@ declare function defineESLintConfig(options?: ConfigOptions, ...userConfigs: Awa
15652
15887
  /**
15653
15888
  * @file globs constants
15654
15889
  */
15655
- declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
15656
- declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
15657
- declare const GLOB_JS = "**/*.?([cm])js";
15658
- declare const GLOB_JSX = "**/*.?([cm])jsx";
15659
- declare const GLOB_JSX_ONLY = "**/*.jsx";
15660
- declare const GLOB_TS = "**/*.?([cm])ts";
15661
- declare const GLOB_TSX = "**/*.?([cm])tsx";
15662
- declare const GLOB_TSX_ONLY = "**/*.tsx";
15663
- declare const GLOB_DTS = "**/*.d.?([cm])ts";
15890
+ declare const GLOB_SRC_EXT: string;
15891
+ declare const GLOB_SRC: string;
15892
+ declare const GLOB_JS: string;
15893
+ declare const GLOB_JSX: string;
15894
+ declare const GLOB_JSX_ONLY: string;
15895
+ declare const GLOB_TS: string;
15896
+ declare const GLOB_TSX: string;
15897
+ declare const GLOB_TSX_ONLY: string;
15898
+ declare const GLOB_DTS: string;
15664
15899
  declare const GLOB_TYPES: string[];
15665
15900
  declare const GLOB_TYPE_TEST: string[];
15666
15901
  declare const GLOB_TEST: string[];
15667
- declare const GLOB_STYLE = "**/*.{c,le,sc}ss";
15668
- declare const GLOB_CSS = "**/*.css";
15669
- declare const GLOB_LESS = "**/*.less";
15670
- declare const GLOB_SCSS = "**/*.scss";
15671
- declare const GLOB_POSTCSS = "**/*.{p,post}css";
15672
- declare const GLOB_JSON = "**/*.json";
15673
- declare const GLOB_JSON5 = "**/*.json5";
15674
- declare const GLOB_JSONC = "**/*.jsonc";
15675
- declare const GLOB_PACKAGE_JSON = "**/package.json";
15902
+ declare const GLOB_STYLE: string;
15903
+ declare const GLOB_CSS: string;
15904
+ declare const GLOB_LESS: string;
15905
+ declare const GLOB_SCSS: string;
15906
+ declare const GLOB_POSTCSS: string;
15907
+ declare const GLOB_JSON: string;
15908
+ declare const GLOB_JSON5: string;
15909
+ declare const GLOB_JSONC: string;
15910
+ declare const GLOB_PACKAGE_JSON: string;
15676
15911
  declare const GLOB_TSCONFIG_JSON: string[];
15677
- declare const GLOB_SVG = "**/*.svg";
15678
- declare const GLOB_VUE = "**/*.vue";
15679
- declare const GLOB_YAML = "**/*.y?(a)ml";
15680
- declare const GLOB_TOML = "**/*.toml";
15681
- declare const GLOB_HTML = "**/*.htm?(l)";
15682
- declare const GLOB_ASTRO = "**/*.astro";
15683
- declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
15684
- declare const GLOB_SVELTE = "**/*.svelte";
15685
- declare const GLOB_MARKDOWN = "**/*.md";
15686
- declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
15687
- declare const GLOB_MARKDOWN_NESTED = "**/*.md/*.md";
15912
+ declare const GLOB_SVG: string;
15913
+ declare const GLOB_VUE: string;
15914
+ declare const GLOB_YAML: string;
15915
+ declare const GLOB_TOML: string;
15916
+ declare const GLOB_HTML: string;
15917
+ declare const GLOB_ASTRO: string;
15918
+ declare const GLOB_ASTRO_TS: string;
15919
+ declare const GLOB_SVELTE: string;
15920
+ declare const GLOB_MARKDOWN: string;
15921
+ declare const GLOB_MARKDOWN_CODE: string;
15922
+ declare const GLOB_MARKDOWN_NESTED: string;
15688
15923
  declare const GLOB_ALL_SRC: string[];
15689
- declare const GLOB_PINIA_STORE = "**/store?(s)/*.?([cm])[jt]s?(x)";
15690
- declare const GLOB_GITHUB_ACTION = "**/.github/workflows/*.y?(a)ml";
15691
- declare const GLOB_NODE_MODULES = "**/node_modules/**";
15692
- declare const GLOB_DIST = "**/dist/**";
15924
+ declare const GLOB_PINIA_STORE: string;
15925
+ declare const GLOB_GITHUB_ACTION: string;
15926
+ declare const GLOB_NODE_MODULES: string;
15927
+ declare const GLOB_DIST: string;
15693
15928
  declare const GLOB_LOCKFILE: string[];
15694
15929
  declare const GLOB_EXCLUDE: string[];
15695
15930
 
15696
- declare const hasPinia: () => boolean;
15697
- declare const hasVitest: () => boolean;
15698
- declare const hasTypeScript: () => boolean;
15699
- declare const hasShadcnVue: () => boolean;
15700
- declare const hasUnoCSS: () => boolean;
15701
- declare const hasVue: () => boolean;
15702
-
15703
- declare function toArray<T>(val?: Arrayable<T>): T[];
15931
+ type ExistChecker = () => boolean;
15932
+ declare const hasPinia: ExistChecker;
15933
+ declare const hasVitest: ExistChecker;
15934
+ declare const hasTypeScript: ExistChecker;
15935
+ declare const hasShadcnVue: ExistChecker;
15936
+ declare const hasUnoCSS: ExistChecker;
15937
+ declare const hasVue: ExistChecker;
15704
15938
 
15705
15939
  declare function getOverrides<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): Partial<TypedConfigItem['rules'] & RuleOptions>;
15706
15940
 
@@ -15730,7 +15964,7 @@ declare function resolveSubOptions<T extends Record<string, any>, K extends keyo
15730
15964
 
15731
15965
  declare function mergePrettierOptions(options?: PrettierOptions, overrides?: PrettierOptions): PrettierOptions;
15732
15966
 
15733
- declare function isInGitHooksOrRunByNanoStagedOrRunByTSX(): boolean;
15967
+ declare function isInGitHooksOrRunBySpecifyPackages(): boolean;
15734
15968
 
15735
15969
  /**
15736
15970
  * @file ESLint parsers
@@ -15741,11 +15975,6 @@ declare function isInGitHooksOrRunByNanoStagedOrRunByTSX(): boolean;
15741
15975
  */
15742
15976
  declare const parserPlain: ESLintParser;
15743
15977
 
15744
- /**
15745
- * Built-in resolver of `import-x`
15746
- */
15747
- declare const createNodeResolver: typeof eslint_plugin_import_x_node_resolver_js.createNodeResolver;
15748
-
15749
15978
  /**
15750
15979
  * Options from `@ntnyq/prettier-config`
15751
15980
  *
@@ -15757,6 +15986,10 @@ declare const PRETTIER_DEFAULT_OPTIONS: PrettierOptions;
15757
15986
  * Shared perfectionist rule options for all rules
15758
15987
  */
15759
15988
  declare const PERFECTIONIST_COMMON_RULE_OPTIONS: {
15989
+ readonly fallbackSort: {
15990
+ readonly order: "asc";
15991
+ readonly type: "alphabetical";
15992
+ };
15760
15993
  readonly ignoreCase: true;
15761
15994
  readonly order: "asc";
15762
15995
  readonly type: "alphabetical";
@@ -15803,10 +16036,10 @@ declare const PERFECTIONIST_SORT_IMPORTS_GROUPS: string[];
15803
16036
  /**
15804
16037
  * Shared option `groups` for rule `sort-classes`
15805
16038
  *
15806
- * // TODO: make this
16039
+ * // TODO: implement this
15807
16040
  *
15808
16041
  * @see {@link https://perfectionist.dev/rules/sort-classes}
15809
16042
  */
15810
16043
  declare const PERFECTIONIST_SORT_CLASSES_GROUPS: string[];
15811
16044
 
15812
- 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 };
16045
+ 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, isInGitHooksOrRunBySpecifyPackages, mergePrettierOptions, parserPlain, resolveSubOptions };