@ntnyq/eslint-config 4.0.0-beta.9 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
  *
@@ -594,7 +605,7 @@ declare const configJSX: () => TypedConfigItem[];
594
605
  /**
595
606
  * Options type of {@link configTypeScript}
596
607
  */
597
- type ConfigTypeScriptOptions = OptionsExtensions & OptionsFiles & OptionsOverrides & {
608
+ type ConfigTypeScriptOptions = OptionsFiles & OptionsOverrides & Pick<OptionsShareable, 'extraFileExtensions'> & {
598
609
  /**
599
610
  * Glob patterns for files that should be type aware.
600
611
  * @default ['**\/*.{ts,tsx}']
@@ -617,6 +628,10 @@ type ConfigTypeScriptOptions = OptionsExtensions & OptionsFiles & OptionsOverrid
617
628
  * Enable type aware check for TypeScript files
618
629
  */
619
630
  tsconfigPath?: string;
631
+ /**
632
+ * Globs of files to run with default project compiler
633
+ */
634
+ allowDefaultProject?: string[];
620
635
  };
621
636
  /**
622
637
  * Config for TypeScript files
@@ -736,7 +751,7 @@ type ConfigUnusedImportsOptions = OptionsOverrides;
736
751
  * @param options - {@link ConfigUnusedImportsOptions}
737
752
  * @returns ESLint configs
738
753
  */
739
- declare const configUnusedImports: (options?: ConfigUnusedImportsOptions) => TypedConfigItem[];
754
+ declare const configUnusedImports: (options?: ConfigUnusedImportsOptions) => Promise<TypedConfigItem[]>;
740
755
 
741
756
  /**
742
757
  * Options type of {@link configESLintComments}
@@ -4172,6 +4187,21 @@ interface RuleOptions {
4172
4187
  * @see https://github.com/lisilinhart/eslint-plugin-pinia/blob/main/docs/rules/require-setup-store-properties-export.md
4173
4188
  */
4174
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>
4175
4205
  /**
4176
4206
  * Require using arrow functions for callbacks
4177
4207
  * @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
@@ -6024,12 +6054,6 @@ interface RuleOptions {
6024
6054
  * @see https://eslint.vuejs.org/rules/component-options-name-casing.html
6025
6055
  */
6026
6056
  'vue/component-options-name-casing'?: Linter.RuleEntry<VueComponentOptionsNameCasing>
6027
- /**
6028
- * enforce order of component top-level elements
6029
- * @see https://eslint.vuejs.org/rules/component-tags-order.html
6030
- * @deprecated
6031
- */
6032
- 'vue/component-tags-order'?: Linter.RuleEntry<VueComponentTagsOrder>
6033
6057
  /**
6034
6058
  * enforce specific casing for custom event name
6035
6059
  * @see https://eslint.vuejs.org/rules/custom-event-name-casing.html
@@ -6096,7 +6120,7 @@ interface RuleOptions {
6096
6120
  */
6097
6121
  'vue/html-closing-bracket-spacing'?: Linter.RuleEntry<VueHtmlClosingBracketSpacing>
6098
6122
  /**
6099
- * enforce unified line brake in HTML comments
6123
+ * enforce unified line break in HTML comments
6100
6124
  * @see https://eslint.vuejs.org/rules/html-comment-content-newline.html
6101
6125
  */
6102
6126
  'vue/html-comment-content-newline'?: Linter.RuleEntry<VueHtmlCommentContentNewline>
@@ -6406,11 +6430,15 @@ interface RuleOptions {
6406
6430
  */
6407
6431
  'vue/no-extra-parens'?: Linter.RuleEntry<VueNoExtraParens>
6408
6432
  /**
6409
- * require valid keys in model option
6410
- * @see https://eslint.vuejs.org/rules/no-invalid-model-keys.html
6411
- * @deprecated
6433
+ * Disallow shorthand type conversions in `<template>`
6434
+ * @see https://eslint.vuejs.org/rules/no-implicit-coercion.html
6412
6435
  */
6413
- 'vue/no-invalid-model-keys'?: Linter.RuleEntry<[]>
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
6440
+ */
6441
+ 'vue/no-import-compiler-macros'?: Linter.RuleEntry<[]>
6414
6442
  /**
6415
6443
  * disallow irregular whitespace in `.vue` files
6416
6444
  * @see https://eslint.vuejs.org/rules/no-irregular-whitespace.html
@@ -6437,12 +6465,12 @@ interface RuleOptions {
6437
6465
  */
6438
6466
  'vue/no-multi-spaces'?: Linter.RuleEntry<VueNoMultiSpaces>
6439
6467
  /**
6440
- * disallow to pass multiple objects into array to class
6468
+ * disallow passing multiple objects in an array to class
6441
6469
  * @see https://eslint.vuejs.org/rules/no-multiple-objects-in-class.html
6442
6470
  */
6443
6471
  'vue/no-multiple-objects-in-class'?: Linter.RuleEntry<[]>
6444
6472
  /**
6445
- * disallow to pass multiple arguments to scoped slots
6473
+ * disallow passing multiple arguments to scoped slots
6446
6474
  * @see https://eslint.vuejs.org/rules/no-multiple-slot-args.html
6447
6475
  */
6448
6476
  'vue/no-multiple-slot-args'?: Linter.RuleEntry<[]>
@@ -6471,12 +6499,6 @@ interface RuleOptions {
6471
6499
  * @see https://eslint.vuejs.org/rules/no-ref-as-operand.html
6472
6500
  */
6473
6501
  'vue/no-ref-as-operand'?: Linter.RuleEntry<[]>
6474
- /**
6475
- * disallow usages of ref objects that can lead to loss of reactivity
6476
- * @see https://eslint.vuejs.org/rules/no-ref-object-destructure.html
6477
- * @deprecated
6478
- */
6479
- 'vue/no-ref-object-destructure'?: Linter.RuleEntry<[]>
6480
6502
  /**
6481
6503
  * disallow usages of ref objects that can lead to loss of reactivity
6482
6504
  * @see https://eslint.vuejs.org/rules/no-ref-object-reactivity-loss.html
@@ -6567,12 +6589,6 @@ interface RuleOptions {
6567
6589
  * @see https://eslint.vuejs.org/rules/no-root-v-if.html
6568
6590
  */
6569
6591
  'vue/no-root-v-if'?: Linter.RuleEntry<[]>
6570
- /**
6571
- * disallow usages that lose the reactivity of `props` passed to `setup`
6572
- * @see https://eslint.vuejs.org/rules/no-setup-props-destructure.html
6573
- * @deprecated
6574
- */
6575
- 'vue/no-setup-props-destructure'?: Linter.RuleEntry<[]>
6576
6592
  /**
6577
6593
  * disallow usages that lose the reactivity of `props` passed to `setup`
6578
6594
  * @see https://eslint.vuejs.org/rules/no-setup-props-reactivity-loss.html
@@ -6706,6 +6722,7 @@ interface RuleOptions {
6706
6722
  /**
6707
6723
  * disallow `key` attribute on `<template v-for>`
6708
6724
  * @see https://eslint.vuejs.org/rules/no-v-for-template-key.html
6725
+ * @deprecated
6709
6726
  */
6710
6727
  'vue/no-v-for-template-key'?: Linter.RuleEntry<[]>
6711
6728
  /**
@@ -6721,6 +6738,7 @@ interface RuleOptions {
6721
6738
  /**
6722
6739
  * disallow adding an argument to `v-model` used in custom component
6723
6740
  * @see https://eslint.vuejs.org/rules/no-v-model-argument.html
6741
+ * @deprecated
6724
6742
  */
6725
6743
  'vue/no-v-model-argument'?: Linter.RuleEntry<[]>
6726
6744
  /**
@@ -6953,12 +6971,6 @@ interface RuleOptions {
6953
6971
  * @see https://eslint.vuejs.org/rules/script-indent.html
6954
6972
  */
6955
6973
  'vue/script-indent'?: Linter.RuleEntry<VueScriptIndent>
6956
- /**
6957
- * prevent `<script setup>` variables used in `<template>` to be marked as unused
6958
- * @see https://eslint.vuejs.org/rules/script-setup-uses-vars.html
6959
- * @deprecated
6960
- */
6961
- 'vue/script-setup-uses-vars'?: Linter.RuleEntry<[]>
6962
6974
  /**
6963
6975
  * require a line break before and after the contents of a singleline element
6964
6976
  * @see https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html
@@ -7029,12 +7041,6 @@ interface RuleOptions {
7029
7041
  * @see https://eslint.vuejs.org/rules/v-on-event-hyphenation.html
7030
7042
  */
7031
7043
  'vue/v-on-event-hyphenation'?: Linter.RuleEntry<VueVOnEventHyphenation>
7032
- /**
7033
- * enforce or forbid parentheses after method calls without arguments in `v-on` directives
7034
- * @see https://eslint.vuejs.org/rules/v-on-function-call.html
7035
- * @deprecated
7036
- */
7037
- 'vue/v-on-function-call'?: Linter.RuleEntry<VueVOnFunctionCall>
7038
7044
  /**
7039
7045
  * enforce writing style for handlers in `v-on` directives
7040
7046
  * @see https://eslint.vuejs.org/rules/v-on-handler-style.html
@@ -7073,6 +7079,7 @@ interface RuleOptions {
7073
7079
  /**
7074
7080
  * require valid keys in model option
7075
7081
  * @see https://eslint.vuejs.org/rules/valid-model-definition.html
7082
+ * @deprecated
7076
7083
  */
7077
7084
  'vue/valid-model-definition'?: Linter.RuleEntry<[]>
7078
7085
  /**
@@ -7093,6 +7100,7 @@ interface RuleOptions {
7093
7100
  /**
7094
7101
  * enforce valid `.sync` modifier on `v-bind` directives
7095
7102
  * @see https://eslint.vuejs.org/rules/valid-v-bind-sync.html
7103
+ * @deprecated
7096
7104
  */
7097
7105
  'vue/valid-v-bind-sync'?: Linter.RuleEntry<[]>
7098
7106
  /**
@@ -10918,18 +10926,7 @@ type NodeNoRestrictedRequire = []|[(string | {
10918
10926
  // ----- node/no-sync -----
10919
10927
  type NodeNoSync = []|[{
10920
10928
  allowAtRootLevel?: boolean
10921
- ignores?: (string | {
10922
- from?: "file"
10923
- path?: string
10924
- name?: string[]
10925
- } | {
10926
- from?: "lib"
10927
- name?: string[]
10928
- } | {
10929
- from?: "package"
10930
- package?: string
10931
- name?: string[]
10932
- })[]
10929
+ ignores?: string[]
10933
10930
  }]
10934
10931
  // ----- node/no-unpublished-bin -----
10935
10932
  type NodeNoUnpublishedBin = []|[{
@@ -11170,8 +11167,6 @@ type PaddingLineBetweenStatements = {
11170
11167
  // ----- perfectionist/sort-array-includes -----
11171
11168
  type PerfectionistSortArrayIncludes = {
11172
11169
 
11173
- specialCharacters?: ("remove" | "trim" | "keep")
11174
-
11175
11170
  fallbackSort?: {
11176
11171
 
11177
11172
  order?: ("asc" | "desc")
@@ -11180,6 +11175,8 @@ type PerfectionistSortArrayIncludes = {
11180
11175
  [k: string]: unknown | undefined
11181
11176
  }
11182
11177
 
11178
+ specialCharacters?: ("remove" | "trim" | "keep")
11179
+
11183
11180
  ignoreCase?: boolean
11184
11181
 
11185
11182
  alphabet?: string
@@ -11194,13 +11191,21 @@ type PerfectionistSortArrayIncludes = {
11194
11191
 
11195
11192
  customGroups?: ({
11196
11193
 
11197
- groupName?: string
11194
+ newlinesInside?: ("always" | "never")
11195
+
11196
+ fallbackSort?: {
11197
+
11198
+ order?: ("asc" | "desc")
11199
+
11200
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11201
+ [k: string]: unknown | undefined
11202
+ }
11198
11203
 
11199
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11204
+ groupName?: string
11200
11205
 
11201
- order?: ("desc" | "asc")
11206
+ order?: ("asc" | "desc")
11202
11207
 
11203
- newlinesInside?: ("always" | "never")
11208
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11204
11209
  anyOf?: {
11205
11210
 
11206
11211
  selector?: ("literal" | "spread")
@@ -11215,13 +11220,21 @@ type PerfectionistSortArrayIncludes = {
11215
11220
  }[]
11216
11221
  } | {
11217
11222
 
11218
- groupName?: string
11223
+ newlinesInside?: ("always" | "never")
11219
11224
 
11220
- 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
+ }
11221
11232
 
11222
- order?: ("desc" | "asc")
11233
+ groupName?: string
11223
11234
 
11224
- newlinesInside?: ("always" | "never")
11235
+ order?: ("asc" | "desc")
11236
+
11237
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11225
11238
 
11226
11239
  selector?: ("literal" | "spread")
11227
11240
 
@@ -11279,8 +11292,6 @@ type PerfectionistSortArrayIncludes = {
11279
11292
  // ----- perfectionist/sort-classes -----
11280
11293
  type PerfectionistSortClasses = []|[{
11281
11294
 
11282
- specialCharacters?: ("remove" | "trim" | "keep")
11283
-
11284
11295
  fallbackSort?: {
11285
11296
 
11286
11297
  order?: ("asc" | "desc")
@@ -11289,6 +11300,8 @@ type PerfectionistSortClasses = []|[{
11289
11300
  [k: string]: unknown | undefined
11290
11301
  }
11291
11302
 
11303
+ specialCharacters?: ("remove" | "trim" | "keep")
11304
+
11292
11305
  ignoreCase?: boolean
11293
11306
 
11294
11307
  alphabet?: string
@@ -11301,13 +11314,21 @@ type PerfectionistSortClasses = []|[{
11301
11314
 
11302
11315
  customGroups?: ({
11303
11316
 
11304
- groupName?: string
11317
+ newlinesInside?: ("always" | "never")
11305
11318
 
11306
- 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
+ }
11307
11326
 
11308
- order?: ("desc" | "asc")
11327
+ groupName?: string
11309
11328
 
11310
- newlinesInside?: ("always" | "never")
11329
+ order?: ("asc" | "desc")
11330
+
11331
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11311
11332
  anyOf?: {
11312
11333
 
11313
11334
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
@@ -11340,13 +11361,21 @@ type PerfectionistSortClasses = []|[{
11340
11361
  }[]
11341
11362
  } | {
11342
11363
 
11343
- groupName?: string
11364
+ newlinesInside?: ("always" | "never")
11344
11365
 
11345
- 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
+ }
11346
11373
 
11347
- order?: ("desc" | "asc")
11374
+ groupName?: string
11348
11375
 
11349
- newlinesInside?: ("always" | "never")
11376
+ order?: ("asc" | "desc")
11377
+
11378
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11350
11379
 
11351
11380
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
11352
11381
 
@@ -11420,8 +11449,6 @@ type PerfectionistSortClasses = []|[{
11420
11449
  // ----- perfectionist/sort-decorators -----
11421
11450
  type PerfectionistSortDecorators = []|[{
11422
11451
 
11423
- specialCharacters?: ("remove" | "trim" | "keep")
11424
-
11425
11452
  fallbackSort?: {
11426
11453
 
11427
11454
  order?: ("asc" | "desc")
@@ -11430,6 +11457,8 @@ type PerfectionistSortDecorators = []|[{
11430
11457
  [k: string]: unknown | undefined
11431
11458
  }
11432
11459
 
11460
+ specialCharacters?: ("remove" | "trim" | "keep")
11461
+
11433
11462
  ignoreCase?: boolean
11434
11463
 
11435
11464
  alphabet?: string
@@ -11485,8 +11514,6 @@ type PerfectionistSortDecorators = []|[{
11485
11514
  // ----- perfectionist/sort-enums -----
11486
11515
  type PerfectionistSortEnums = []|[{
11487
11516
 
11488
- specialCharacters?: ("remove" | "trim" | "keep")
11489
-
11490
11517
  fallbackSort?: {
11491
11518
 
11492
11519
  order?: ("asc" | "desc")
@@ -11495,6 +11522,8 @@ type PerfectionistSortEnums = []|[{
11495
11522
  [k: string]: unknown | undefined
11496
11523
  }
11497
11524
 
11525
+ specialCharacters?: ("remove" | "trim" | "keep")
11526
+
11498
11527
  ignoreCase?: boolean
11499
11528
 
11500
11529
  alphabet?: string
@@ -11510,13 +11539,21 @@ type PerfectionistSortEnums = []|[{
11510
11539
  [k: string]: (string | string[]) | undefined
11511
11540
  } | ({
11512
11541
 
11513
- groupName?: string
11542
+ newlinesInside?: ("always" | "never")
11514
11543
 
11515
- 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
+ }
11516
11551
 
11517
- order?: ("desc" | "asc")
11552
+ groupName?: string
11518
11553
 
11519
- newlinesInside?: ("always" | "never")
11554
+ order?: ("asc" | "desc")
11555
+
11556
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11520
11557
  anyOf?: {
11521
11558
 
11522
11559
  elementValuePattern?: (({
@@ -11537,13 +11574,21 @@ type PerfectionistSortEnums = []|[{
11537
11574
  }[]
11538
11575
  } | {
11539
11576
 
11540
- groupName?: string
11577
+ newlinesInside?: ("always" | "never")
11541
11578
 
11542
- 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
+ }
11543
11586
 
11544
- order?: ("desc" | "asc")
11587
+ groupName?: string
11545
11588
 
11546
- newlinesInside?: ("always" | "never")
11589
+ order?: ("asc" | "desc")
11590
+
11591
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11547
11592
 
11548
11593
  elementValuePattern?: (({
11549
11594
  pattern?: string
@@ -11599,8 +11644,6 @@ type PerfectionistSortEnums = []|[{
11599
11644
  // ----- perfectionist/sort-exports -----
11600
11645
  type PerfectionistSortExports = []|[{
11601
11646
 
11602
- specialCharacters?: ("remove" | "trim" | "keep")
11603
-
11604
11647
  fallbackSort?: {
11605
11648
 
11606
11649
  order?: ("asc" | "desc")
@@ -11609,6 +11652,8 @@ type PerfectionistSortExports = []|[{
11609
11652
  [k: string]: unknown | undefined
11610
11653
  }
11611
11654
 
11655
+ specialCharacters?: ("remove" | "trim" | "keep")
11656
+
11612
11657
  ignoreCase?: boolean
11613
11658
 
11614
11659
  alphabet?: string
@@ -11649,8 +11694,6 @@ type PerfectionistSortExports = []|[{
11649
11694
  // ----- perfectionist/sort-heritage-clauses -----
11650
11695
  type PerfectionistSortHeritageClauses = []|[{
11651
11696
 
11652
- specialCharacters?: ("remove" | "trim" | "keep")
11653
-
11654
11697
  fallbackSort?: {
11655
11698
 
11656
11699
  order?: ("asc" | "desc")
@@ -11659,6 +11702,8 @@ type PerfectionistSortHeritageClauses = []|[{
11659
11702
  [k: string]: unknown | undefined
11660
11703
  }
11661
11704
 
11705
+ specialCharacters?: ("remove" | "trim" | "keep")
11706
+
11662
11707
  ignoreCase?: boolean
11663
11708
 
11664
11709
  alphabet?: string
@@ -11682,8 +11727,6 @@ type PerfectionistSortHeritageClauses = []|[{
11682
11727
  type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
11683
11728
  type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
11684
11729
 
11685
- specialCharacters?: ("remove" | "trim" | "keep")
11686
-
11687
11730
  fallbackSort?: {
11688
11731
 
11689
11732
  order?: ("asc" | "desc")
@@ -11692,6 +11735,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
11692
11735
  [k: string]: unknown | undefined
11693
11736
  }
11694
11737
 
11738
+ specialCharacters?: ("remove" | "trim" | "keep")
11739
+
11695
11740
  ignoreCase?: boolean
11696
11741
 
11697
11742
  alphabet?: string
@@ -11771,8 +11816,6 @@ interface _PerfectionistSortImports_IsLineLength {
11771
11816
  // ----- perfectionist/sort-interfaces -----
11772
11817
  type PerfectionistSortInterfaces = {
11773
11818
 
11774
- specialCharacters?: ("remove" | "trim" | "keep")
11775
-
11776
11819
  fallbackSort?: {
11777
11820
 
11778
11821
  order?: ("asc" | "desc")
@@ -11781,6 +11824,8 @@ type PerfectionistSortInterfaces = {
11781
11824
  [k: string]: unknown | undefined
11782
11825
  }
11783
11826
 
11827
+ specialCharacters?: ("remove" | "trim" | "keep")
11828
+
11784
11829
  ignoreCase?: boolean
11785
11830
 
11786
11831
  alphabet?: string
@@ -11794,19 +11839,36 @@ type PerfectionistSortInterfaces = {
11794
11839
  [k: string]: (string | string[]) | undefined
11795
11840
  } | ({
11796
11841
 
11797
- groupName?: string
11842
+ newlinesInside?: ("always" | "never")
11798
11843
 
11799
- 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
+ }
11800
11852
 
11801
- order?: ("desc" | "asc")
11853
+ groupName?: string
11802
11854
 
11803
- newlinesInside?: ("always" | "never")
11855
+ order?: ("asc" | "desc")
11856
+
11857
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11804
11858
  anyOf?: {
11805
11859
 
11806
11860
  modifiers?: ("optional" | "required" | "multiline")[]
11807
11861
 
11808
11862
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
11809
11863
 
11864
+ elementValuePattern?: (({
11865
+ pattern?: string
11866
+ flags?: string
11867
+ } | string)[] | ({
11868
+ pattern?: string
11869
+ flags?: string
11870
+ } | string))
11871
+
11810
11872
  elementNamePattern?: (({
11811
11873
  pattern?: string
11812
11874
  flags?: string
@@ -11814,21 +11876,39 @@ type PerfectionistSortInterfaces = {
11814
11876
  pattern?: string
11815
11877
  flags?: string
11816
11878
  } | string))
11879
+ sortBy?: ("name" | "value")
11817
11880
  }[]
11818
11881
  } | {
11819
11882
 
11820
- 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
+ }
11821
11893
 
11822
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11894
+ groupName?: string
11823
11895
 
11824
- order?: ("desc" | "asc")
11896
+ order?: ("asc" | "desc")
11825
11897
 
11826
- newlinesInside?: ("always" | "never")
11898
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11827
11899
 
11828
11900
  modifiers?: ("optional" | "required" | "multiline")[]
11829
11901
 
11830
11902
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
11831
11903
 
11904
+ elementValuePattern?: (({
11905
+ pattern?: string
11906
+ flags?: string
11907
+ } | string)[] | ({
11908
+ pattern?: string
11909
+ flags?: string
11910
+ } | string))
11911
+
11832
11912
  elementNamePattern?: (({
11833
11913
  pattern?: string
11834
11914
  flags?: string
@@ -11836,6 +11916,7 @@ type PerfectionistSortInterfaces = {
11836
11916
  pattern?: string
11837
11917
  flags?: string
11838
11918
  } | string))
11919
+ sortBy?: ("name" | "value")
11839
11920
  })[])
11840
11921
  useConfigurationIf?: {
11841
11922
 
@@ -11892,6 +11973,7 @@ type PerfectionistSortInterfaces = {
11892
11973
  pattern?: string
11893
11974
  flags?: string
11894
11975
  } | string))
11976
+ sortBy?: ("name" | "value")
11895
11977
 
11896
11978
  groups?: (string | string[] | {
11897
11979
 
@@ -11901,8 +11983,6 @@ type PerfectionistSortInterfaces = {
11901
11983
  // ----- perfectionist/sort-intersection-types -----
11902
11984
  type PerfectionistSortIntersectionTypes = []|[{
11903
11985
 
11904
- specialCharacters?: ("remove" | "trim" | "keep")
11905
-
11906
11986
  fallbackSort?: {
11907
11987
 
11908
11988
  order?: ("asc" | "desc")
@@ -11911,6 +11991,8 @@ type PerfectionistSortIntersectionTypes = []|[{
11911
11991
  [k: string]: unknown | undefined
11912
11992
  }
11913
11993
 
11994
+ specialCharacters?: ("remove" | "trim" | "keep")
11995
+
11914
11996
  ignoreCase?: boolean
11915
11997
 
11916
11998
  alphabet?: string
@@ -11956,8 +12038,6 @@ type PerfectionistSortIntersectionTypes = []|[{
11956
12038
  // ----- perfectionist/sort-jsx-props -----
11957
12039
  type PerfectionistSortJsxProps = {
11958
12040
 
11959
- specialCharacters?: ("remove" | "trim" | "keep")
11960
-
11961
12041
  fallbackSort?: {
11962
12042
 
11963
12043
  order?: ("asc" | "desc")
@@ -11966,6 +12046,8 @@ type PerfectionistSortJsxProps = {
11966
12046
  [k: string]: unknown | undefined
11967
12047
  }
11968
12048
 
12049
+ specialCharacters?: ("remove" | "trim" | "keep")
12050
+
11969
12051
  ignoreCase?: boolean
11970
12052
 
11971
12053
  alphabet?: string
@@ -12018,8 +12100,6 @@ type PerfectionistSortJsxProps = {
12018
12100
  // ----- perfectionist/sort-maps -----
12019
12101
  type PerfectionistSortMaps = {
12020
12102
 
12021
- specialCharacters?: ("remove" | "trim" | "keep")
12022
-
12023
12103
  fallbackSort?: {
12024
12104
 
12025
12105
  order?: ("asc" | "desc")
@@ -12028,6 +12108,8 @@ type PerfectionistSortMaps = {
12028
12108
  [k: string]: unknown | undefined
12029
12109
  }
12030
12110
 
12111
+ specialCharacters?: ("remove" | "trim" | "keep")
12112
+
12031
12113
  ignoreCase?: boolean
12032
12114
 
12033
12115
  alphabet?: string
@@ -12040,13 +12122,21 @@ type PerfectionistSortMaps = {
12040
12122
 
12041
12123
  customGroups?: ({
12042
12124
 
12043
- groupName?: string
12125
+ newlinesInside?: ("always" | "never")
12044
12126
 
12045
- 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
+ }
12046
12134
 
12047
- order?: ("desc" | "asc")
12135
+ groupName?: string
12048
12136
 
12049
- newlinesInside?: ("always" | "never")
12137
+ order?: ("asc" | "desc")
12138
+
12139
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12050
12140
  anyOf?: {
12051
12141
 
12052
12142
  elementNamePattern?: (({
@@ -12059,13 +12149,21 @@ type PerfectionistSortMaps = {
12059
12149
  }[]
12060
12150
  } | {
12061
12151
 
12062
- 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
+ }
12063
12161
 
12064
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12162
+ groupName?: string
12065
12163
 
12066
- order?: ("desc" | "asc")
12164
+ order?: ("asc" | "desc")
12067
12165
 
12068
- newlinesInside?: ("always" | "never")
12166
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12069
12167
 
12070
12168
  elementNamePattern?: (({
12071
12169
  pattern?: string
@@ -12121,8 +12219,6 @@ type PerfectionistSortMaps = {
12121
12219
  // ----- perfectionist/sort-modules -----
12122
12220
  type PerfectionistSortModules = []|[{
12123
12221
 
12124
- specialCharacters?: ("remove" | "trim" | "keep")
12125
-
12126
12222
  fallbackSort?: {
12127
12223
 
12128
12224
  order?: ("asc" | "desc")
@@ -12131,6 +12227,8 @@ type PerfectionistSortModules = []|[{
12131
12227
  [k: string]: unknown | undefined
12132
12228
  }
12133
12229
 
12230
+ specialCharacters?: ("remove" | "trim" | "keep")
12231
+
12134
12232
  ignoreCase?: boolean
12135
12233
 
12136
12234
  alphabet?: string
@@ -12143,13 +12241,21 @@ type PerfectionistSortModules = []|[{
12143
12241
 
12144
12242
  customGroups?: ({
12145
12243
 
12146
- groupName?: string
12244
+ newlinesInside?: ("always" | "never")
12147
12245
 
12148
- 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
+ }
12149
12253
 
12150
- order?: ("desc" | "asc")
12254
+ groupName?: string
12151
12255
 
12152
- newlinesInside?: ("always" | "never")
12256
+ order?: ("asc" | "desc")
12257
+
12258
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12153
12259
  anyOf?: {
12154
12260
 
12155
12261
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
@@ -12174,13 +12280,21 @@ type PerfectionistSortModules = []|[{
12174
12280
  }[]
12175
12281
  } | {
12176
12282
 
12177
- groupName?: string
12283
+ newlinesInside?: ("always" | "never")
12178
12284
 
12179
- 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
+ }
12180
12292
 
12181
- order?: ("desc" | "asc")
12293
+ groupName?: string
12182
12294
 
12183
- newlinesInside?: ("always" | "never")
12295
+ order?: ("asc" | "desc")
12296
+
12297
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12184
12298
 
12185
12299
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
12186
12300
 
@@ -12238,8 +12352,6 @@ type PerfectionistSortModules = []|[{
12238
12352
  // ----- perfectionist/sort-named-exports -----
12239
12353
  type PerfectionistSortNamedExports = []|[{
12240
12354
 
12241
- specialCharacters?: ("remove" | "trim" | "keep")
12242
-
12243
12355
  fallbackSort?: {
12244
12356
 
12245
12357
  order?: ("asc" | "desc")
@@ -12248,6 +12360,8 @@ type PerfectionistSortNamedExports = []|[{
12248
12360
  [k: string]: unknown | undefined
12249
12361
  }
12250
12362
 
12363
+ specialCharacters?: ("remove" | "trim" | "keep")
12364
+
12251
12365
  ignoreCase?: boolean
12252
12366
 
12253
12367
  alphabet?: string
@@ -12290,8 +12404,6 @@ type PerfectionistSortNamedExports = []|[{
12290
12404
  // ----- perfectionist/sort-named-imports -----
12291
12405
  type PerfectionistSortNamedImports = []|[{
12292
12406
 
12293
- specialCharacters?: ("remove" | "trim" | "keep")
12294
-
12295
12407
  fallbackSort?: {
12296
12408
 
12297
12409
  order?: ("asc" | "desc")
@@ -12300,6 +12412,8 @@ type PerfectionistSortNamedImports = []|[{
12300
12412
  [k: string]: unknown | undefined
12301
12413
  }
12302
12414
 
12415
+ specialCharacters?: ("remove" | "trim" | "keep")
12416
+
12303
12417
  ignoreCase?: boolean
12304
12418
 
12305
12419
  alphabet?: string
@@ -12342,8 +12456,6 @@ type PerfectionistSortNamedImports = []|[{
12342
12456
  // ----- perfectionist/sort-object-types -----
12343
12457
  type PerfectionistSortObjectTypes = {
12344
12458
 
12345
- specialCharacters?: ("remove" | "trim" | "keep")
12346
-
12347
12459
  fallbackSort?: {
12348
12460
 
12349
12461
  order?: ("asc" | "desc")
@@ -12352,6 +12464,8 @@ type PerfectionistSortObjectTypes = {
12352
12464
  [k: string]: unknown | undefined
12353
12465
  }
12354
12466
 
12467
+ specialCharacters?: ("remove" | "trim" | "keep")
12468
+
12355
12469
  ignoreCase?: boolean
12356
12470
 
12357
12471
  alphabet?: string
@@ -12365,19 +12479,36 @@ type PerfectionistSortObjectTypes = {
12365
12479
  [k: string]: (string | string[]) | undefined
12366
12480
  } | ({
12367
12481
 
12368
- groupName?: string
12482
+ newlinesInside?: ("always" | "never")
12369
12483
 
12370
- 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
+ }
12371
12492
 
12372
- order?: ("desc" | "asc")
12493
+ groupName?: string
12373
12494
 
12374
- newlinesInside?: ("always" | "never")
12495
+ order?: ("asc" | "desc")
12496
+
12497
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12375
12498
  anyOf?: {
12376
12499
 
12377
12500
  modifiers?: ("optional" | "required" | "multiline")[]
12378
12501
 
12379
12502
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
12380
12503
 
12504
+ elementValuePattern?: (({
12505
+ pattern?: string
12506
+ flags?: string
12507
+ } | string)[] | ({
12508
+ pattern?: string
12509
+ flags?: string
12510
+ } | string))
12511
+
12381
12512
  elementNamePattern?: (({
12382
12513
  pattern?: string
12383
12514
  flags?: string
@@ -12385,21 +12516,39 @@ type PerfectionistSortObjectTypes = {
12385
12516
  pattern?: string
12386
12517
  flags?: string
12387
12518
  } | string))
12519
+ sortBy?: ("name" | "value")
12388
12520
  }[]
12389
12521
  } | {
12390
12522
 
12391
- groupName?: string
12523
+ newlinesInside?: ("always" | "never")
12392
12524
 
12393
- 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
+ }
12394
12533
 
12395
- order?: ("desc" | "asc")
12534
+ groupName?: string
12396
12535
 
12397
- newlinesInside?: ("always" | "never")
12536
+ order?: ("asc" | "desc")
12537
+
12538
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12398
12539
 
12399
12540
  modifiers?: ("optional" | "required" | "multiline")[]
12400
12541
 
12401
12542
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
12402
12543
 
12544
+ elementValuePattern?: (({
12545
+ pattern?: string
12546
+ flags?: string
12547
+ } | string)[] | ({
12548
+ pattern?: string
12549
+ flags?: string
12550
+ } | string))
12551
+
12403
12552
  elementNamePattern?: (({
12404
12553
  pattern?: string
12405
12554
  flags?: string
@@ -12407,6 +12556,7 @@ type PerfectionistSortObjectTypes = {
12407
12556
  pattern?: string
12408
12557
  flags?: string
12409
12558
  } | string))
12559
+ sortBy?: ("name" | "value")
12410
12560
  })[])
12411
12561
  useConfigurationIf?: {
12412
12562
 
@@ -12463,6 +12613,7 @@ type PerfectionistSortObjectTypes = {
12463
12613
  pattern?: string
12464
12614
  flags?: string
12465
12615
  } | string))
12616
+ sortBy?: ("name" | "value")
12466
12617
 
12467
12618
  groups?: (string | string[] | {
12468
12619
 
@@ -12472,8 +12623,6 @@ type PerfectionistSortObjectTypes = {
12472
12623
  // ----- perfectionist/sort-objects -----
12473
12624
  type PerfectionistSortObjects = {
12474
12625
 
12475
- specialCharacters?: ("remove" | "trim" | "keep")
12476
-
12477
12626
  fallbackSort?: {
12478
12627
 
12479
12628
  order?: ("asc" | "desc")
@@ -12482,6 +12631,8 @@ type PerfectionistSortObjects = {
12482
12631
  [k: string]: unknown | undefined
12483
12632
  }
12484
12633
 
12634
+ specialCharacters?: ("remove" | "trim" | "keep")
12635
+
12485
12636
  ignoreCase?: boolean
12486
12637
 
12487
12638
  alphabet?: string
@@ -12500,13 +12651,21 @@ type PerfectionistSortObjects = {
12500
12651
  [k: string]: (string | string[]) | undefined
12501
12652
  } | ({
12502
12653
 
12503
- groupName?: string
12654
+ newlinesInside?: ("always" | "never")
12504
12655
 
12505
- 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
+ }
12506
12663
 
12507
- order?: ("desc" | "asc")
12664
+ groupName?: string
12508
12665
 
12509
- newlinesInside?: ("always" | "never")
12666
+ order?: ("asc" | "desc")
12667
+
12668
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12510
12669
  anyOf?: {
12511
12670
 
12512
12671
  modifiers?: ("optional" | "required" | "multiline")[]
@@ -12531,13 +12690,21 @@ type PerfectionistSortObjects = {
12531
12690
  }[]
12532
12691
  } | {
12533
12692
 
12534
- 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
+ }
12535
12702
 
12536
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
12703
+ groupName?: string
12537
12704
 
12538
- order?: ("desc" | "asc")
12705
+ order?: ("asc" | "desc")
12539
12706
 
12540
- newlinesInside?: ("always" | "never")
12707
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12541
12708
 
12542
12709
  modifiers?: ("optional" | "required" | "multiline")[]
12543
12710
 
@@ -12627,8 +12794,6 @@ type PerfectionistSortObjects = {
12627
12794
  // ----- perfectionist/sort-sets -----
12628
12795
  type PerfectionistSortSets = {
12629
12796
 
12630
- specialCharacters?: ("remove" | "trim" | "keep")
12631
-
12632
12797
  fallbackSort?: {
12633
12798
 
12634
12799
  order?: ("asc" | "desc")
@@ -12637,6 +12802,8 @@ type PerfectionistSortSets = {
12637
12802
  [k: string]: unknown | undefined
12638
12803
  }
12639
12804
 
12805
+ specialCharacters?: ("remove" | "trim" | "keep")
12806
+
12640
12807
  ignoreCase?: boolean
12641
12808
 
12642
12809
  alphabet?: string
@@ -12651,13 +12818,21 @@ type PerfectionistSortSets = {
12651
12818
 
12652
12819
  customGroups?: ({
12653
12820
 
12654
- groupName?: string
12821
+ newlinesInside?: ("always" | "never")
12655
12822
 
12656
- 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
+ }
12657
12830
 
12658
- order?: ("desc" | "asc")
12831
+ groupName?: string
12659
12832
 
12660
- newlinesInside?: ("always" | "never")
12833
+ order?: ("asc" | "desc")
12834
+
12835
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12661
12836
  anyOf?: {
12662
12837
 
12663
12838
  selector?: ("literal" | "spread")
@@ -12672,13 +12847,21 @@ type PerfectionistSortSets = {
12672
12847
  }[]
12673
12848
  } | {
12674
12849
 
12675
- groupName?: string
12850
+ newlinesInside?: ("always" | "never")
12676
12851
 
12677
- 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
+ }
12678
12859
 
12679
- order?: ("desc" | "asc")
12860
+ groupName?: string
12680
12861
 
12681
- newlinesInside?: ("always" | "never")
12862
+ order?: ("asc" | "desc")
12863
+
12864
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12682
12865
 
12683
12866
  selector?: ("literal" | "spread")
12684
12867
 
@@ -12736,8 +12919,6 @@ type PerfectionistSortSets = {
12736
12919
  // ----- perfectionist/sort-switch-case -----
12737
12920
  type PerfectionistSortSwitchCase = []|[{
12738
12921
 
12739
- specialCharacters?: ("remove" | "trim" | "keep")
12740
-
12741
12922
  fallbackSort?: {
12742
12923
 
12743
12924
  order?: ("asc" | "desc")
@@ -12746,6 +12927,8 @@ type PerfectionistSortSwitchCase = []|[{
12746
12927
  [k: string]: unknown | undefined
12747
12928
  }
12748
12929
 
12930
+ specialCharacters?: ("remove" | "trim" | "keep")
12931
+
12749
12932
  ignoreCase?: boolean
12750
12933
 
12751
12934
  alphabet?: string
@@ -12759,8 +12942,6 @@ type PerfectionistSortSwitchCase = []|[{
12759
12942
  // ----- perfectionist/sort-union-types -----
12760
12943
  type PerfectionistSortUnionTypes = []|[{
12761
12944
 
12762
- specialCharacters?: ("remove" | "trim" | "keep")
12763
-
12764
12945
  fallbackSort?: {
12765
12946
 
12766
12947
  order?: ("asc" | "desc")
@@ -12769,6 +12950,8 @@ type PerfectionistSortUnionTypes = []|[{
12769
12950
  [k: string]: unknown | undefined
12770
12951
  }
12771
12952
 
12953
+ specialCharacters?: ("remove" | "trim" | "keep")
12954
+
12772
12955
  ignoreCase?: boolean
12773
12956
 
12774
12957
  alphabet?: string
@@ -12814,8 +12997,6 @@ type PerfectionistSortUnionTypes = []|[{
12814
12997
  // ----- perfectionist/sort-variable-declarations -----
12815
12998
  type PerfectionistSortVariableDeclarations = []|[{
12816
12999
 
12817
- specialCharacters?: ("remove" | "trim" | "keep")
12818
-
12819
13000
  fallbackSort?: {
12820
13001
 
12821
13002
  order?: ("asc" | "desc")
@@ -12824,6 +13005,8 @@ type PerfectionistSortVariableDeclarations = []|[{
12824
13005
  [k: string]: unknown | undefined
12825
13006
  }
12826
13007
 
13008
+ specialCharacters?: ("remove" | "trim" | "keep")
13009
+
12827
13010
  ignoreCase?: boolean
12828
13011
 
12829
13012
  alphabet?: string
@@ -12865,6 +13048,30 @@ type PiniaPreferUseStoreNamingConvention = []|[{
12865
13048
  storeSuffix?: string
12866
13049
  [k: string]: unknown | undefined
12867
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
+ }]
12868
13075
  // ----- prefer-arrow-callback -----
12869
13076
  type PreferArrowCallback = []|[{
12870
13077
  allowNamedFunctions?: boolean
@@ -14243,16 +14450,10 @@ type VueComponentNameInTemplateCasing = []|[("PascalCase" | "kebab-case")]|[("Pa
14243
14450
  }]
14244
14451
  // ----- vue/component-options-name-casing -----
14245
14452
  type VueComponentOptionsNameCasing = []|[("camelCase" | "kebab-case" | "PascalCase")]
14246
- // ----- vue/component-tags-order -----
14247
- type VueComponentTagsOrder = []|[{
14248
- order?: (string | string[])[]
14249
- }]
14250
14453
  // ----- vue/custom-event-name-casing -----
14251
- type VueCustomEventNameCasing = ([]|[("kebab-case" | "camelCase")]|[("kebab-case" | "camelCase"), {
14252
- ignores?: string[]
14253
- }] | []|[{
14454
+ type VueCustomEventNameCasing = []|[("kebab-case" | "camelCase")]|[("kebab-case" | "camelCase"), {
14254
14455
  ignores?: string[]
14255
- }])
14456
+ }]
14256
14457
  // ----- vue/define-emits-declaration -----
14257
14458
  type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
14258
14459
  // ----- vue/define-macros-order -----
@@ -14883,6 +15084,14 @@ type VueNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
14883
15084
  enforceForFunctionPrototypeMethods?: boolean
14884
15085
  allowParensAfterCommentPattern?: string
14885
15086
  }])
15087
+ // ----- vue/no-implicit-coercion -----
15088
+ type VueNoImplicitCoercion = []|[{
15089
+ boolean?: boolean
15090
+ number?: boolean
15091
+ string?: boolean
15092
+ disallowTemplateShorthand?: boolean
15093
+ allow?: ("~" | "!!" | "+" | "- -" | "-" | "*")[]
15094
+ }]
14886
15095
  // ----- vue/no-irregular-whitespace -----
14887
15096
  type VueNoIrregularWhitespace = []|[{
14888
15097
  skipComments?: boolean
@@ -15174,9 +15383,13 @@ type VuePaddingLinesInComponentDefinition = []|[(("always" | "never") | {
15174
15383
  groupSingleLineProperties?: boolean
15175
15384
  })]
15176
15385
  // ----- vue/prefer-true-attribute-shorthand -----
15177
- type VuePreferTrueAttributeShorthand = []|[("always" | "never")]
15386
+ type VuePreferTrueAttributeShorthand = []|[("always" | "never")]|[("always" | "never"), {
15387
+ except?: string[]
15388
+ }]
15178
15389
  // ----- vue/prop-name-casing -----
15179
- type VuePropNameCasing = []|[("camelCase" | "snake_case")]
15390
+ type VuePropNameCasing = []|[("camelCase" | "snake_case")]|[("camelCase" | "snake_case"), {
15391
+ ignoreProps?: string[]
15392
+ }]
15180
15393
  // ----- vue/quote-props -----
15181
15394
  type VueQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
15182
15395
  keywords?: boolean
@@ -15241,7 +15454,6 @@ type VueSortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
15241
15454
  ignoreGrandchildrenOf?: unknown[]
15242
15455
  minKeys?: number
15243
15456
  natural?: boolean
15244
- runOutsideVue?: boolean
15245
15457
  }]
15246
15458
  // ----- vue/space-in-parens -----
15247
15459
  type VueSpaceInParens = []|[("always" | "never")]|[("always" | "never"), {
@@ -15279,10 +15491,6 @@ type VueVOnEventHyphenation = []|[("always" | "never")]|[("always" | "never"), {
15279
15491
  })[]
15280
15492
  ignoreTags?: string[]
15281
15493
  }]
15282
- // ----- vue/v-on-function-call -----
15283
- type VueVOnFunctionCall = []|[("always" | "never")]|[("always" | "never"), {
15284
- ignoreIncludesComment?: boolean
15285
- }]
15286
15494
  // ----- vue/v-on-handler-style -----
15287
15495
  type VueVOnHandlerStyle = []|[(("inline" | "inline-function") | ["method", ("inline" | "inline-function")])]|[(("inline" | "inline-function") | ["method", ("inline" | "inline-function")]), {
15288
15496
  ignoreIncludesComment?: boolean
@@ -15525,7 +15733,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
15525
15733
  onlyEquality?: boolean
15526
15734
  }]
15527
15735
  // Names of all the configs
15528
- 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'
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'
15529
15737
 
15530
15738
  /**
15531
15739
  * ESLint config
@@ -15567,21 +15775,6 @@ type TypedConfigItem = Omit<Linter.Config<ESLintRulesRecord & RuleOptions>, 'plu
15567
15775
  plugins?: Record<string, any>;
15568
15776
  };
15569
15777
 
15570
- /**
15571
- * Options for add `extensions` support
15572
- */
15573
- interface OptionsExtensions {
15574
- extensions?: string[];
15575
- }
15576
- /**
15577
- * Options for add `features` support
15578
- */
15579
- type OptionsFeatures = {
15580
- /**
15581
- * Enable typescript support
15582
- */
15583
- typescript?: boolean;
15584
- };
15585
15778
  /**
15586
15779
  * Options for overrides `files`
15587
15780
  */
@@ -15600,6 +15793,20 @@ interface OptionsIgnores {
15600
15793
  interface OptionsOverrides<Rules extends TypedConfigItem['rules'] = TypedConfigItem['rules']> {
15601
15794
  overrides?: Rules;
15602
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
+ }
15603
15810
 
15604
15811
  /**
15605
15812
  * @file Config options
@@ -15608,7 +15815,15 @@ interface OptionsOverrides<Rules extends TypedConfigItem['rules'] = TypedConfigI
15608
15815
  /**
15609
15816
  * Config factory options
15610
15817
  */
15611
- interface ConfigOptions extends OptionsExtensions {
15818
+ interface ConfigOptions {
15819
+ /**
15820
+ * Shareable options
15821
+ */
15822
+ shareable?: OptionsShareable;
15823
+ /**
15824
+ * Configs enabled by default
15825
+ * @pg
15826
+ */
15612
15827
  command?: ConfigCommandOptions;
15613
15828
  eslintComments?: ConfigESLintCommentsOptions;
15614
15829
  ignores?: ConfigIgnoresOptions;
@@ -15632,6 +15847,7 @@ interface ConfigOptions extends OptionsExtensions {
15632
15847
  ntnyq?: boolean | ConfigNtnyqOptions;
15633
15848
  perfectionist?: boolean | ConfigPerfectionistOptions;
15634
15849
  pinia?: boolean | ConfigPiniaOptions;
15850
+ pnpm?: boolean | ConfigPnpmOptions;
15635
15851
  prettier?: boolean | ConfigPrettierOptions;
15636
15852
  regexp?: boolean | ConfigRegexpOptions;
15637
15853
  sort?: boolean | ConfigSortOptions;
@@ -15671,55 +15887,54 @@ declare function defineESLintConfig(options?: ConfigOptions, ...userConfigs: Awa
15671
15887
  /**
15672
15888
  * @file globs constants
15673
15889
  */
15674
- declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
15675
- declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
15676
- declare const GLOB_JS = "**/*.?([cm])js";
15677
- declare const GLOB_JSX = "**/*.?([cm])jsx";
15678
- declare const GLOB_JSX_ONLY = "**/*.jsx";
15679
- declare const GLOB_TS = "**/*.?([cm])ts";
15680
- declare const GLOB_TSX = "**/*.?([cm])tsx";
15681
- declare const GLOB_TSX_ONLY = "**/*.tsx";
15682
- 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;
15683
15899
  declare const GLOB_TYPES: string[];
15684
15900
  declare const GLOB_TYPE_TEST: string[];
15685
15901
  declare const GLOB_TEST: string[];
15686
- declare const GLOB_STYLE = "**/*.{c,le,sc}ss";
15687
- declare const GLOB_CSS = "**/*.css";
15688
- declare const GLOB_LESS = "**/*.less";
15689
- declare const GLOB_SCSS = "**/*.scss";
15690
- declare const GLOB_POSTCSS = "**/*.{p,post}css";
15691
- declare const GLOB_JSON = "**/*.json";
15692
- declare const GLOB_JSON5 = "**/*.json5";
15693
- declare const GLOB_JSONC = "**/*.jsonc";
15694
- 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;
15695
15911
  declare const GLOB_TSCONFIG_JSON: string[];
15696
- declare const GLOB_SVG = "**/*.svg";
15697
- declare const GLOB_VUE = "**/*.vue";
15698
- declare const GLOB_YAML = "**/*.y?(a)ml";
15699
- declare const GLOB_TOML = "**/*.toml";
15700
- declare const GLOB_HTML = "**/*.htm?(l)";
15701
- declare const GLOB_ASTRO = "**/*.astro";
15702
- declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
15703
- declare const GLOB_SVELTE = "**/*.svelte";
15704
- declare const GLOB_MARKDOWN = "**/*.md";
15705
- declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
15706
- 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;
15707
15923
  declare const GLOB_ALL_SRC: string[];
15708
- declare const GLOB_PINIA_STORE = "**/store?(s)/*.?([cm])[jt]s?(x)";
15709
- declare const GLOB_GITHUB_ACTION = "**/.github/workflows/*.y?(a)ml";
15710
- declare const GLOB_NODE_MODULES = "**/node_modules/**";
15711
- 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;
15712
15928
  declare const GLOB_LOCKFILE: string[];
15713
15929
  declare const GLOB_EXCLUDE: string[];
15714
15930
 
15715
- declare const hasPinia: () => boolean;
15716
- declare const hasVitest: () => boolean;
15717
- declare const hasTypeScript: () => boolean;
15718
- declare const hasShadcnVue: () => boolean;
15719
- declare const hasUnoCSS: () => boolean;
15720
- declare const hasVue: () => boolean;
15721
-
15722
- 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;
15723
15938
 
15724
15939
  declare function getOverrides<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): Partial<TypedConfigItem['rules'] & RuleOptions>;
15725
15940
 
@@ -15749,7 +15964,7 @@ declare function resolveSubOptions<T extends Record<string, any>, K extends keyo
15749
15964
 
15750
15965
  declare function mergePrettierOptions(options?: PrettierOptions, overrides?: PrettierOptions): PrettierOptions;
15751
15966
 
15752
- declare function isInGitHooksOrRunByNanoStagedOrRunByTSX(): boolean;
15967
+ declare function isInGitHooksOrRunBySpecifyPackages(): boolean;
15753
15968
 
15754
15969
  /**
15755
15970
  * @file ESLint parsers
@@ -15760,11 +15975,6 @@ declare function isInGitHooksOrRunByNanoStagedOrRunByTSX(): boolean;
15760
15975
  */
15761
15976
  declare const parserPlain: ESLintParser;
15762
15977
 
15763
- /**
15764
- * Built-in resolver of `import-x`
15765
- */
15766
- declare const createNodeResolver: typeof eslint_plugin_import_x_node_resolver_js.createNodeResolver;
15767
-
15768
15978
  /**
15769
15979
  * Options from `@ntnyq/prettier-config`
15770
15980
  *
@@ -15776,6 +15986,10 @@ declare const PRETTIER_DEFAULT_OPTIONS: PrettierOptions;
15776
15986
  * Shared perfectionist rule options for all rules
15777
15987
  */
15778
15988
  declare const PERFECTIONIST_COMMON_RULE_OPTIONS: {
15989
+ readonly fallbackSort: {
15990
+ readonly order: "asc";
15991
+ readonly type: "alphabetical";
15992
+ };
15779
15993
  readonly ignoreCase: true;
15780
15994
  readonly order: "asc";
15781
15995
  readonly type: "alphabetical";
@@ -15822,10 +16036,10 @@ declare const PERFECTIONIST_SORT_IMPORTS_GROUPS: string[];
15822
16036
  /**
15823
16037
  * Shared option `groups` for rule `sort-classes`
15824
16038
  *
15825
- * // TODO: make this
16039
+ * // TODO: implement this
15826
16040
  *
15827
16041
  * @see {@link https://perfectionist.dev/rules/sort-classes}
15828
16042
  */
15829
16043
  declare const PERFECTIONIST_SORT_CLASSES_GROUPS: string[];
15830
16044
 
15831
- 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 };