@lincy/eslint-config 5.4.1 → 5.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1192,31 +1192,31 @@ interface RuleOptions {
1192
1192
  */
1193
1193
  'logical-assignment-operators'?: Linter.RuleEntry<LogicalAssignmentOperators>
1194
1194
  /**
1195
- * Require languages for fenced code blocks.
1195
+ * Require languages for fenced code blocks
1196
1196
  */
1197
1197
  'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>
1198
1198
  /**
1199
- * Enforce heading levels increment by one.
1199
+ * Enforce heading levels increment by one
1200
1200
  */
1201
1201
  'markdown/heading-increment'?: Linter.RuleEntry<[]>
1202
1202
  /**
1203
- * Disallow duplicate headings in the same document.
1203
+ * Disallow duplicate headings in the same document
1204
1204
  */
1205
1205
  'markdown/no-duplicate-headings'?: Linter.RuleEntry<[]>
1206
1206
  /**
1207
- * Disallow empty links.
1207
+ * Disallow empty links
1208
1208
  */
1209
1209
  'markdown/no-empty-links'?: Linter.RuleEntry<[]>
1210
1210
  /**
1211
- * Disallow HTML tags.
1211
+ * Disallow HTML tags
1212
1212
  */
1213
1213
  'markdown/no-html'?: Linter.RuleEntry<MarkdownNoHtml>
1214
1214
  /**
1215
- * Disallow invalid label references.
1215
+ * Disallow invalid label references
1216
1216
  */
1217
1217
  'markdown/no-invalid-label-refs'?: Linter.RuleEntry<[]>
1218
1218
  /**
1219
- * Disallow missing label references.
1219
+ * Disallow missing label references
1220
1220
  */
1221
1221
  'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>
1222
1222
  /**
@@ -2581,6 +2581,11 @@ interface RuleOptions {
2581
2581
  * @see https://eslint-react.xyz/docs/rules/dom-no-find-dom-node
2582
2582
  */
2583
2583
  'react-dom/no-find-dom-node'?: Linter.RuleEntry<[]>
2584
+ /**
2585
+ * warns against using `flushSync`
2586
+ * @see https://eslint-react.xyz/docs/rules/dom-no-flush-sync
2587
+ */
2588
+ 'react-dom/no-flush-sync'?: Linter.RuleEntry<[]>
2584
2589
  /**
2585
2590
  * enforce that button component have an explicit 'type' attribute
2586
2591
  * @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
@@ -2687,10 +2692,15 @@ interface RuleOptions {
2687
2692
  */
2688
2693
  'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
2689
2694
  /**
2690
- * enforce component naming convention to 'PascalCase' or 'CONSTANT_CASE'
2695
+ * enforce naming convention for components
2691
2696
  * @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
2692
2697
  */
2693
2698
  'react-naming-convention/component-name'?: Linter.RuleEntry<ReactNamingConventionComponentName>
2699
+ /**
2700
+ * enforce context name to be a valid component name with the suffix 'Context'
2701
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-context-name
2702
+ */
2703
+ 'react-naming-convention/context-name'?: Linter.RuleEntry<[]>
2694
2704
  /**
2695
2705
  * enforce naming convention for JSX filenames
2696
2706
  * @see https://eslint-react.xyz/docs/rules/naming-convention-filename
@@ -2702,7 +2712,7 @@ interface RuleOptions {
2702
2712
  */
2703
2713
  'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>
2704
2714
  /**
2705
- * enforce destructuring and symmetric naming of 'useState' hook value and setter variables
2715
+ * enforce destructuring and symmetric naming of 'useState' hook value and setter
2706
2716
  * @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
2707
2717
  */
2708
2718
  'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
@@ -2748,7 +2758,7 @@ interface RuleOptions {
2748
2758
  */
2749
2759
  'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
2750
2760
  /**
2751
- * helpes `eslint/no-unused-vars` to correctly mark JSX variables as used.
2761
+ * marks variables used in JSX as used
2752
2762
  * @see https://eslint-react.xyz/docs/rules/use-jsx-vars
2753
2763
  */
2754
2764
  'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
@@ -2758,7 +2768,7 @@ interface RuleOptions {
2758
2768
  */
2759
2769
  'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
2760
2770
  /**
2761
- * disallow using Array index as 'key'
2771
+ * disallow using an item's index in the array as its key
2762
2772
  * @see https://eslint-react.xyz/docs/rules/no-array-index-key
2763
2773
  */
2764
2774
  'react/no-array-index-key'?: Linter.RuleEntry<[]>
@@ -2818,22 +2828,22 @@ interface RuleOptions {
2818
2828
  */
2819
2829
  'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
2820
2830
  /**
2821
- * disallow using 'componentWillMount'
2831
+ * replace 'componentWillMount' with 'UNSAFE_componentWillMount'
2822
2832
  * @see https://eslint-react.xyz/docs/rules/no-component-will-mount
2823
2833
  */
2824
2834
  'react/no-component-will-mount'?: Linter.RuleEntry<[]>
2825
2835
  /**
2826
- * disallow using 'componentWillReceiveProps'
2836
+ * replace 'componentWillReceiveProps' with 'UNSAFE_componentWillReceiveProps'
2827
2837
  * @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
2828
2838
  */
2829
2839
  'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
2830
2840
  /**
2831
- * disallow using 'componentWillReceiveProps'
2841
+ * replace 'componentWillUpdate' with 'UNSAFE_componentWillUpdate'
2832
2842
  * @see https://eslint-react.xyz/docs/rules/no-component-will-update
2833
2843
  */
2834
2844
  'react/no-component-will-update'?: Linter.RuleEntry<[]>
2835
2845
  /**
2836
- * disallow the use of '<Context.Provider>'
2846
+ * replace '<Context.Provider>' with '<Context>'
2837
2847
  * @see https://eslint-react.xyz/docs/rules/no-context-provider
2838
2848
  */
2839
2849
  'react/no-context-provider'?: Linter.RuleEntry<[]>
@@ -2863,7 +2873,7 @@ interface RuleOptions {
2863
2873
  */
2864
2874
  'react/no-duplicate-key'?: Linter.RuleEntry<[]>
2865
2875
  /**
2866
- * disallow the use of 'forwardRef'
2876
+ * replace 'forwardRef' with passing 'ref' as a prop
2867
2877
  * @see https://eslint-react.xyz/docs/rules/no-forward-ref
2868
2878
  */
2869
2879
  'react/no-forward-ref'?: Linter.RuleEntry<[]>
@@ -2882,6 +2892,11 @@ interface RuleOptions {
2882
2892
  * @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
2883
2893
  */
2884
2894
  'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
2895
+ /**
2896
+ * require 'displayName' for contexts.
2897
+ * @see https://eslint-react.xyz/docs/rules/no-missing-context-display-name
2898
+ */
2899
+ 'react/no-missing-context-display-name'?: Linter.RuleEntry<[]>
2885
2900
  /**
2886
2901
  * require 'key' when rendering list
2887
2902
  * @see https://eslint-react.xyz/docs/rules/no-missing-key
@@ -2958,7 +2973,12 @@ interface RuleOptions {
2958
2973
  */
2959
2974
  'react/no-unused-state'?: Linter.RuleEntry<[]>
2960
2975
  /**
2961
- * disallow unnecessary fragments
2976
+ * replace 'useContext' with 'use'
2977
+ * @see https://eslint-react.xyz/docs/rules/no-use-context
2978
+ */
2979
+ 'react/no-use-context'?: Linter.RuleEntry<[]>
2980
+ /**
2981
+ * disallow useless fragments
2962
2982
  * @see https://eslint-react.xyz/docs/rules/no-useless-fragment
2963
2983
  */
2964
2984
  'react/no-useless-fragment'?: Linter.RuleEntry<ReactNoUselessFragment>
@@ -2978,17 +2998,17 @@ interface RuleOptions {
2978
2998
  */
2979
2999
  'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
2980
3000
  /**
2981
- * enforce using shorthand boolean attributes
3001
+ * enforce the use of shorthand syntax for boolean attributes
2982
3002
  * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
2983
3003
  */
2984
3004
  'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
2985
3005
  /**
2986
- * enforce using fragment syntax instead of 'Fragment' component
3006
+ * enforce the use of shorthand syntax for fragments
2987
3007
  * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
2988
3008
  */
2989
3009
  'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
2990
3010
  /**
2991
- * helpes `eslint/no-unused-vars` to correctly mark JSX variables as used.
3011
+ * marks variables used in JSX as used
2992
3012
  * @see https://eslint-react.xyz/docs/rules/use-jsx-vars
2993
3013
  */
2994
3014
  'react/use-jsx-vars'?: Linter.RuleEntry<[]>
@@ -4237,6 +4257,11 @@ interface RuleOptions {
4237
4257
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-spy-on.md
4238
4258
  */
4239
4259
  'test/prefer-spy-on'?: Linter.RuleEntry<[]>
4260
+ /**
4261
+ * enforce using `toBe(true)` and `toBe(false)` over matchers that coerce types to boolean
4262
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-boolean-matchers.md
4263
+ */
4264
+ 'test/prefer-strict-boolean-matchers'?: Linter.RuleEntry<[]>
4240
4265
  /**
4241
4266
  * enforce strict equal over equal
4242
4267
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-equal.md
@@ -4292,6 +4317,11 @@ interface RuleOptions {
4292
4317
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
4293
4318
  */
4294
4319
  'test/require-local-test-context-for-concurrent-snapshots'?: Linter.RuleEntry<[]>
4320
+ /**
4321
+ * enforce using type parameters with vitest mock functions
4322
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-mock-type-parameters.md
4323
+ */
4324
+ 'test/require-mock-type-parameters'?: Linter.RuleEntry<TestRequireMockTypeParameters>
4295
4325
  /**
4296
4326
  * require toThrow() to be called with an error message
4297
4327
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
@@ -4645,7 +4675,7 @@ interface RuleOptions {
4645
4675
  */
4646
4676
  'ts/no-for-in-array'?: Linter.RuleEntry<[]>
4647
4677
  /**
4648
- * Disallow the use of `eval()`-like methods
4678
+ * Disallow the use of `eval()`-like functions
4649
4679
  * @see https://typescript-eslint.io/rules/no-implied-eval
4650
4680
  */
4651
4681
  'ts/no-implied-eval'?: Linter.RuleEntry<[]>
@@ -5939,12 +5969,6 @@ interface RuleOptions {
5939
5969
  * @see https://eslint.vuejs.org/rules/component-options-name-casing.html
5940
5970
  */
5941
5971
  'vue/component-options-name-casing'?: Linter.RuleEntry<VueComponentOptionsNameCasing>
5942
- /**
5943
- * enforce order of component top-level elements
5944
- * @see https://eslint.vuejs.org/rules/component-tags-order.html
5945
- * @deprecated
5946
- */
5947
- 'vue/component-tags-order'?: Linter.RuleEntry<VueComponentTagsOrder>
5948
5972
  /**
5949
5973
  * enforce specific casing for custom event name
5950
5974
  * @see https://eslint.vuejs.org/rules/custom-event-name-casing.html
@@ -6011,7 +6035,7 @@ interface RuleOptions {
6011
6035
  */
6012
6036
  'vue/html-closing-bracket-spacing'?: Linter.RuleEntry<VueHtmlClosingBracketSpacing>
6013
6037
  /**
6014
- * enforce unified line brake in HTML comments
6038
+ * enforce unified line break in HTML comments
6015
6039
  * @see https://eslint.vuejs.org/rules/html-comment-content-newline.html
6016
6040
  */
6017
6041
  'vue/html-comment-content-newline'?: Linter.RuleEntry<VueHtmlCommentContentNewline>
@@ -6051,7 +6075,7 @@ interface RuleOptions {
6051
6075
  */
6052
6076
  'vue/jsx-uses-vars'?: Linter.RuleEntry<[]>
6053
6077
  /**
6054
- * Enforce consistent spacing between property names and type annotations in types and interfaces in `<template>`
6078
+ * Enforce consistent spacing between keys and values in object literal properties in `<template>`
6055
6079
  * @see https://eslint.vuejs.org/rules/key-spacing.html
6056
6080
  */
6057
6081
  'vue/key-spacing'?: Linter.RuleEntry<VueKeySpacing>
@@ -6321,11 +6345,15 @@ interface RuleOptions {
6321
6345
  */
6322
6346
  'vue/no-extra-parens'?: Linter.RuleEntry<VueNoExtraParens>
6323
6347
  /**
6324
- * require valid keys in model option
6325
- * @see https://eslint.vuejs.org/rules/no-invalid-model-keys.html
6326
- * @deprecated
6348
+ * Disallow shorthand type conversions in `<template>`
6349
+ * @see https://eslint.vuejs.org/rules/no-implicit-coercion.html
6350
+ */
6351
+ 'vue/no-implicit-coercion'?: Linter.RuleEntry<VueNoImplicitCoercion>
6352
+ /**
6353
+ * disallow importing Vue compiler macros
6354
+ * @see https://eslint.vuejs.org/rules/no-import-compiler-macros.html
6327
6355
  */
6328
- 'vue/no-invalid-model-keys'?: Linter.RuleEntry<[]>
6356
+ 'vue/no-import-compiler-macros'?: Linter.RuleEntry<[]>
6329
6357
  /**
6330
6358
  * disallow irregular whitespace in `.vue` files
6331
6359
  * @see https://eslint.vuejs.org/rules/no-irregular-whitespace.html
@@ -6352,12 +6380,12 @@ interface RuleOptions {
6352
6380
  */
6353
6381
  'vue/no-multi-spaces'?: Linter.RuleEntry<VueNoMultiSpaces>
6354
6382
  /**
6355
- * disallow to pass multiple objects into array to class
6383
+ * disallow passing multiple objects in an array to class
6356
6384
  * @see https://eslint.vuejs.org/rules/no-multiple-objects-in-class.html
6357
6385
  */
6358
6386
  'vue/no-multiple-objects-in-class'?: Linter.RuleEntry<[]>
6359
6387
  /**
6360
- * disallow to pass multiple arguments to scoped slots
6388
+ * disallow passing multiple arguments to scoped slots
6361
6389
  * @see https://eslint.vuejs.org/rules/no-multiple-slot-args.html
6362
6390
  */
6363
6391
  'vue/no-multiple-slot-args'?: Linter.RuleEntry<[]>
@@ -6386,12 +6414,6 @@ interface RuleOptions {
6386
6414
  * @see https://eslint.vuejs.org/rules/no-ref-as-operand.html
6387
6415
  */
6388
6416
  'vue/no-ref-as-operand'?: Linter.RuleEntry<[]>
6389
- /**
6390
- * disallow usages of ref objects that can lead to loss of reactivity
6391
- * @see https://eslint.vuejs.org/rules/no-ref-object-destructure.html
6392
- * @deprecated
6393
- */
6394
- 'vue/no-ref-object-destructure'?: Linter.RuleEntry<[]>
6395
6417
  /**
6396
6418
  * disallow usages of ref objects that can lead to loss of reactivity
6397
6419
  * @see https://eslint.vuejs.org/rules/no-ref-object-reactivity-loss.html
@@ -6482,12 +6504,6 @@ interface RuleOptions {
6482
6504
  * @see https://eslint.vuejs.org/rules/no-root-v-if.html
6483
6505
  */
6484
6506
  'vue/no-root-v-if'?: Linter.RuleEntry<[]>
6485
- /**
6486
- * disallow usages that lose the reactivity of `props` passed to `setup`
6487
- * @see https://eslint.vuejs.org/rules/no-setup-props-destructure.html
6488
- * @deprecated
6489
- */
6490
- 'vue/no-setup-props-destructure'?: Linter.RuleEntry<[]>
6491
6507
  /**
6492
6508
  * disallow usages that lose the reactivity of `props` passed to `setup`
6493
6509
  * @see https://eslint.vuejs.org/rules/no-setup-props-reactivity-loss.html
@@ -6621,6 +6637,7 @@ interface RuleOptions {
6621
6637
  /**
6622
6638
  * disallow `key` attribute on `<template v-for>`
6623
6639
  * @see https://eslint.vuejs.org/rules/no-v-for-template-key.html
6640
+ * @deprecated
6624
6641
  */
6625
6642
  'vue/no-v-for-template-key'?: Linter.RuleEntry<[]>
6626
6643
  /**
@@ -6636,6 +6653,7 @@ interface RuleOptions {
6636
6653
  /**
6637
6654
  * disallow adding an argument to `v-model` used in custom component
6638
6655
  * @see https://eslint.vuejs.org/rules/no-v-model-argument.html
6656
+ * @deprecated
6639
6657
  */
6640
6658
  'vue/no-v-model-argument'?: Linter.RuleEntry<[]>
6641
6659
  /**
@@ -6744,7 +6762,7 @@ interface RuleOptions {
6744
6762
  */
6745
6763
  'vue/prop-name-casing'?: Linter.RuleEntry<VuePropNameCasing>
6746
6764
  /**
6747
- * Require quotes around object literal, type literal, interfaces and enums property names in `<template>`
6765
+ * Require quotes around object literal property names in `<template>`
6748
6766
  * @see https://eslint.vuejs.org/rules/quote-props.html
6749
6767
  */
6750
6768
  'vue/quote-props'?: Linter.RuleEntry<VueQuoteProps>
@@ -6868,12 +6886,6 @@ interface RuleOptions {
6868
6886
  * @see https://eslint.vuejs.org/rules/script-indent.html
6869
6887
  */
6870
6888
  'vue/script-indent'?: Linter.RuleEntry<VueScriptIndent>
6871
- /**
6872
- * prevent `<script setup>` variables used in `<template>` to be marked as unused
6873
- * @see https://eslint.vuejs.org/rules/script-setup-uses-vars.html
6874
- * @deprecated
6875
- */
6876
- 'vue/script-setup-uses-vars'?: Linter.RuleEntry<[]>
6877
6889
  /**
6878
6890
  * require a line break before and after the contents of a singleline element
6879
6891
  * @see https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html
@@ -6944,12 +6956,6 @@ interface RuleOptions {
6944
6956
  * @see https://eslint.vuejs.org/rules/v-on-event-hyphenation.html
6945
6957
  */
6946
6958
  'vue/v-on-event-hyphenation'?: Linter.RuleEntry<VueVOnEventHyphenation>
6947
- /**
6948
- * enforce or forbid parentheses after method calls without arguments in `v-on` directives
6949
- * @see https://eslint.vuejs.org/rules/v-on-function-call.html
6950
- * @deprecated
6951
- */
6952
- 'vue/v-on-function-call'?: Linter.RuleEntry<VueVOnFunctionCall>
6953
6959
  /**
6954
6960
  * enforce writing style for handlers in `v-on` directives
6955
6961
  * @see https://eslint.vuejs.org/rules/v-on-handler-style.html
@@ -6988,6 +6994,7 @@ interface RuleOptions {
6988
6994
  /**
6989
6995
  * require valid keys in model option
6990
6996
  * @see https://eslint.vuejs.org/rules/valid-model-definition.html
6997
+ * @deprecated
6991
6998
  */
6992
6999
  'vue/valid-model-definition'?: Linter.RuleEntry<[]>
6993
7000
  /**
@@ -7008,6 +7015,7 @@ interface RuleOptions {
7008
7015
  /**
7009
7016
  * enforce valid `.sync` modifier on `v-bind` directives
7010
7017
  * @see https://eslint.vuejs.org/rules/valid-v-bind-sync.html
7018
+ * @deprecated
7011
7019
  */
7012
7020
  'vue/valid-v-bind-sync'?: Linter.RuleEntry<[]>
7013
7021
  /**
@@ -9814,6 +9822,14 @@ type PaddingLineBetweenStatements = {
9814
9822
  // ----- perfectionist/sort-array-includes -----
9815
9823
  type PerfectionistSortArrayIncludes = {
9816
9824
 
9825
+ fallbackSort?: {
9826
+
9827
+ order?: ("asc" | "desc")
9828
+
9829
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9830
+ [k: string]: unknown | undefined
9831
+ }
9832
+
9817
9833
  specialCharacters?: ("remove" | "trim" | "keep")
9818
9834
 
9819
9835
  ignoreCase?: boolean
@@ -9824,47 +9840,99 @@ type PerfectionistSortArrayIncludes = {
9824
9840
 
9825
9841
  order?: ("asc" | "desc")
9826
9842
 
9843
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9844
+
9827
9845
  groupKind?: ("mixed" | "literals-first" | "spreads-first")
9828
9846
 
9829
9847
  customGroups?: ({
9830
9848
 
9831
- groupName?: string
9849
+ newlinesInside?: ("always" | "never")
9832
9850
 
9833
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
9851
+ fallbackSort?: {
9852
+
9853
+ order?: ("asc" | "desc")
9854
+
9855
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9856
+ [k: string]: unknown | undefined
9857
+ }
9834
9858
 
9835
- order?: ("desc" | "asc")
9859
+ groupName?: string
9836
9860
 
9837
- newlinesInside?: ("always" | "never")
9861
+ order?: ("asc" | "desc")
9862
+
9863
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9838
9864
  anyOf?: {
9839
9865
 
9840
9866
  selector?: ("literal" | "spread")
9841
9867
 
9842
- elementNamePattern?: string
9868
+ elementNamePattern?: (({
9869
+ pattern?: string
9870
+ flags?: string
9871
+ } | string)[] | ({
9872
+ pattern?: string
9873
+ flags?: string
9874
+ } | string))
9843
9875
  }[]
9844
9876
  } | {
9845
9877
 
9846
- groupName?: string
9878
+ newlinesInside?: ("always" | "never")
9879
+
9880
+ fallbackSort?: {
9881
+
9882
+ order?: ("asc" | "desc")
9883
+
9884
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9885
+ [k: string]: unknown | undefined
9886
+ }
9847
9887
 
9848
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
9888
+ groupName?: string
9849
9889
 
9850
- order?: ("desc" | "asc")
9890
+ order?: ("asc" | "desc")
9851
9891
 
9852
- newlinesInside?: ("always" | "never")
9892
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9853
9893
 
9854
9894
  selector?: ("literal" | "spread")
9855
9895
 
9856
- elementNamePattern?: string
9896
+ elementNamePattern?: (({
9897
+ pattern?: string
9898
+ flags?: string
9899
+ } | string)[] | ({
9900
+ pattern?: string
9901
+ flags?: string
9902
+ } | string))
9857
9903
  })[]
9858
9904
  useConfigurationIf?: {
9859
- allNamesMatchPattern?: string
9905
+
9906
+ allNamesMatchPattern?: (({
9907
+ pattern?: string
9908
+ flags?: string
9909
+ } | string)[] | ({
9910
+ pattern?: string
9911
+ flags?: string
9912
+ } | string))
9860
9913
  }
9861
9914
 
9862
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9863
-
9864
- partitionByComment?: (string[] | boolean | string | {
9865
- block?: (string[] | boolean | string)
9866
- line?: (string[] | boolean | string)
9867
- [k: string]: unknown | undefined
9915
+ partitionByComment?: (boolean | (({
9916
+ pattern?: string
9917
+ flags?: string
9918
+ } | string)[] | ({
9919
+ pattern?: string
9920
+ flags?: string
9921
+ } | string)) | {
9922
+ block?: (boolean | (({
9923
+ pattern?: string
9924
+ flags?: string
9925
+ } | string)[] | ({
9926
+ pattern?: string
9927
+ flags?: string
9928
+ } | string)))
9929
+ line?: (boolean | (({
9930
+ pattern?: string
9931
+ flags?: string
9932
+ } | string)[] | ({
9933
+ pattern?: string
9934
+ flags?: string
9935
+ } | string)))
9868
9936
  })
9869
9937
 
9870
9938
  partitionByNewLine?: boolean
@@ -9874,12 +9942,19 @@ type PerfectionistSortArrayIncludes = {
9874
9942
  groups?: (string | string[] | {
9875
9943
 
9876
9944
  newlinesBetween?: ("ignore" | "always" | "never")
9877
- [k: string]: unknown | undefined
9878
9945
  })[]
9879
9946
  }[]
9880
9947
  // ----- perfectionist/sort-classes -----
9881
9948
  type PerfectionistSortClasses = []|[{
9882
9949
 
9950
+ fallbackSort?: {
9951
+
9952
+ order?: ("asc" | "desc")
9953
+
9954
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9955
+ [k: string]: unknown | undefined
9956
+ }
9957
+
9883
9958
  specialCharacters?: ("remove" | "trim" | "keep")
9884
9959
 
9885
9960
  ignoreCase?: boolean
@@ -9890,71 +9965,153 @@ type PerfectionistSortClasses = []|[{
9890
9965
 
9891
9966
  order?: ("asc" | "desc")
9892
9967
 
9893
- ignoreCallbackDependenciesPatterns?: string[]
9968
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9894
9969
 
9895
9970
  customGroups?: ({
9896
9971
 
9897
- groupName?: string
9972
+ newlinesInside?: ("always" | "never")
9973
+
9974
+ fallbackSort?: {
9975
+
9976
+ order?: ("asc" | "desc")
9977
+
9978
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9979
+ [k: string]: unknown | undefined
9980
+ }
9898
9981
 
9899
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
9982
+ groupName?: string
9900
9983
 
9901
- order?: ("desc" | "asc")
9984
+ order?: ("asc" | "desc")
9902
9985
 
9903
- newlinesInside?: ("always" | "never")
9986
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9904
9987
  anyOf?: {
9905
9988
 
9906
- decoratorNamePattern?: string
9907
-
9908
9989
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
9909
9990
 
9910
9991
  selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
9911
9992
 
9912
- elementValuePattern?: string
9993
+ decoratorNamePattern?: (({
9994
+ pattern?: string
9995
+ flags?: string
9996
+ } | string)[] | ({
9997
+ pattern?: string
9998
+ flags?: string
9999
+ } | string))
10000
+
10001
+ elementValuePattern?: (({
10002
+ pattern?: string
10003
+ flags?: string
10004
+ } | string)[] | ({
10005
+ pattern?: string
10006
+ flags?: string
10007
+ } | string))
9913
10008
 
9914
- elementNamePattern?: string
10009
+ elementNamePattern?: (({
10010
+ pattern?: string
10011
+ flags?: string
10012
+ } | string)[] | ({
10013
+ pattern?: string
10014
+ flags?: string
10015
+ } | string))
9915
10016
  }[]
9916
10017
  } | {
9917
10018
 
9918
- groupName?: string
10019
+ newlinesInside?: ("always" | "never")
9919
10020
 
9920
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10021
+ fallbackSort?: {
10022
+
10023
+ order?: ("asc" | "desc")
10024
+
10025
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10026
+ [k: string]: unknown | undefined
10027
+ }
9921
10028
 
9922
- order?: ("desc" | "asc")
10029
+ groupName?: string
9923
10030
 
9924
- newlinesInside?: ("always" | "never")
10031
+ order?: ("asc" | "desc")
9925
10032
 
9926
- decoratorNamePattern?: string
10033
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9927
10034
 
9928
10035
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
9929
10036
 
9930
10037
  selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
9931
10038
 
9932
- elementValuePattern?: string
10039
+ decoratorNamePattern?: (({
10040
+ pattern?: string
10041
+ flags?: string
10042
+ } | string)[] | ({
10043
+ pattern?: string
10044
+ flags?: string
10045
+ } | string))
9933
10046
 
9934
- elementNamePattern?: string
10047
+ elementValuePattern?: (({
10048
+ pattern?: string
10049
+ flags?: string
10050
+ } | string)[] | ({
10051
+ pattern?: string
10052
+ flags?: string
10053
+ } | string))
10054
+
10055
+ elementNamePattern?: (({
10056
+ pattern?: string
10057
+ flags?: string
10058
+ } | string)[] | ({
10059
+ pattern?: string
10060
+ flags?: string
10061
+ } | string))
9935
10062
  })[]
9936
10063
 
9937
- partitionByComment?: (string[] | boolean | string | {
9938
- block?: (string[] | boolean | string)
9939
- line?: (string[] | boolean | string)
9940
- [k: string]: unknown | undefined
10064
+ ignoreCallbackDependenciesPatterns?: (({
10065
+ pattern?: string
10066
+ flags?: string
10067
+ } | string)[] | ({
10068
+ pattern?: string
10069
+ flags?: string
10070
+ } | string))
10071
+
10072
+ partitionByComment?: (boolean | (({
10073
+ pattern?: string
10074
+ flags?: string
10075
+ } | string)[] | ({
10076
+ pattern?: string
10077
+ flags?: string
10078
+ } | string)) | {
10079
+ block?: (boolean | (({
10080
+ pattern?: string
10081
+ flags?: string
10082
+ } | string)[] | ({
10083
+ pattern?: string
10084
+ flags?: string
10085
+ } | string)))
10086
+ line?: (boolean | (({
10087
+ pattern?: string
10088
+ flags?: string
10089
+ } | string)[] | ({
10090
+ pattern?: string
10091
+ flags?: string
10092
+ } | string)))
9941
10093
  })
9942
10094
 
9943
10095
  partitionByNewLine?: boolean
9944
10096
 
9945
10097
  newlinesBetween?: ("ignore" | "always" | "never")
9946
10098
 
9947
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9948
-
9949
10099
  groups?: (string | string[] | {
9950
10100
 
9951
10101
  newlinesBetween?: ("ignore" | "always" | "never")
9952
- [k: string]: unknown | undefined
9953
10102
  })[]
9954
10103
  }]
9955
10104
  // ----- perfectionist/sort-decorators -----
9956
10105
  type PerfectionistSortDecorators = []|[{
9957
10106
 
10107
+ fallbackSort?: {
10108
+
10109
+ order?: ("asc" | "desc")
10110
+
10111
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10112
+ [k: string]: unknown | undefined
10113
+ }
10114
+
9958
10115
  specialCharacters?: ("remove" | "trim" | "keep")
9959
10116
 
9960
10117
  ignoreCase?: boolean
@@ -9965,6 +10122,8 @@ type PerfectionistSortDecorators = []|[{
9965
10122
 
9966
10123
  order?: ("asc" | "desc")
9967
10124
 
10125
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10126
+
9968
10127
  sortOnParameters?: boolean
9969
10128
 
9970
10129
  sortOnProperties?: boolean
@@ -9975,27 +10134,49 @@ type PerfectionistSortDecorators = []|[{
9975
10134
 
9976
10135
  sortOnClasses?: boolean
9977
10136
 
9978
- partitionByComment?: (string[] | boolean | string | {
9979
- block?: (string[] | boolean | string)
9980
- line?: (string[] | boolean | string)
9981
- [k: string]: unknown | undefined
10137
+ partitionByComment?: (boolean | (({
10138
+ pattern?: string
10139
+ flags?: string
10140
+ } | string)[] | ({
10141
+ pattern?: string
10142
+ flags?: string
10143
+ } | string)) | {
10144
+ block?: (boolean | (({
10145
+ pattern?: string
10146
+ flags?: string
10147
+ } | string)[] | ({
10148
+ pattern?: string
10149
+ flags?: string
10150
+ } | string)))
10151
+ line?: (boolean | (({
10152
+ pattern?: string
10153
+ flags?: string
10154
+ } | string)[] | ({
10155
+ pattern?: string
10156
+ flags?: string
10157
+ } | string)))
9982
10158
  })
9983
10159
 
9984
10160
  customGroups?: {
9985
10161
  [k: string]: (string | string[]) | undefined
9986
10162
  }
9987
10163
 
9988
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9989
-
9990
10164
  groups?: (string | string[] | {
9991
10165
 
9992
10166
  newlinesBetween?: ("ignore" | "always" | "never")
9993
- [k: string]: unknown | undefined
9994
10167
  })[]
9995
10168
  }]
9996
10169
  // ----- perfectionist/sort-enums -----
9997
10170
  type PerfectionistSortEnums = []|[{
9998
10171
 
10172
+ fallbackSort?: {
10173
+
10174
+ order?: ("asc" | "desc")
10175
+
10176
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10177
+ [k: string]: unknown | undefined
10178
+ }
10179
+
9999
10180
  specialCharacters?: ("remove" | "trim" | "keep")
10000
10181
 
10001
10182
  ignoreCase?: boolean
@@ -10006,23 +10187,126 @@ type PerfectionistSortEnums = []|[{
10006
10187
 
10007
10188
  order?: ("asc" | "desc")
10008
10189
 
10190
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10191
+
10009
10192
  forceNumericSort?: boolean
10193
+ customGroups?: ({
10194
+ [k: string]: (string | string[]) | undefined
10195
+ } | ({
10196
+
10197
+ newlinesInside?: ("always" | "never")
10198
+
10199
+ fallbackSort?: {
10200
+
10201
+ order?: ("asc" | "desc")
10202
+
10203
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10204
+ [k: string]: unknown | undefined
10205
+ }
10206
+
10207
+ groupName?: string
10208
+
10209
+ order?: ("asc" | "desc")
10210
+
10211
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10212
+ anyOf?: {
10213
+
10214
+ elementValuePattern?: (({
10215
+ pattern?: string
10216
+ flags?: string
10217
+ } | string)[] | ({
10218
+ pattern?: string
10219
+ flags?: string
10220
+ } | string))
10221
+
10222
+ elementNamePattern?: (({
10223
+ pattern?: string
10224
+ flags?: string
10225
+ } | string)[] | ({
10226
+ pattern?: string
10227
+ flags?: string
10228
+ } | string))
10229
+ }[]
10230
+ } | {
10231
+
10232
+ newlinesInside?: ("always" | "never")
10233
+
10234
+ fallbackSort?: {
10235
+
10236
+ order?: ("asc" | "desc")
10237
+
10238
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10239
+ [k: string]: unknown | undefined
10240
+ }
10241
+
10242
+ groupName?: string
10243
+
10244
+ order?: ("asc" | "desc")
10245
+
10246
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10247
+
10248
+ elementValuePattern?: (({
10249
+ pattern?: string
10250
+ flags?: string
10251
+ } | string)[] | ({
10252
+ pattern?: string
10253
+ flags?: string
10254
+ } | string))
10255
+
10256
+ elementNamePattern?: (({
10257
+ pattern?: string
10258
+ flags?: string
10259
+ } | string)[] | ({
10260
+ pattern?: string
10261
+ flags?: string
10262
+ } | string))
10263
+ })[])
10010
10264
 
10011
10265
  sortByValue?: boolean
10012
10266
 
10013
- partitionByComment?: (string[] | boolean | string | {
10014
- block?: (string[] | boolean | string)
10015
- line?: (string[] | boolean | string)
10016
- [k: string]: unknown | undefined
10267
+ partitionByComment?: (boolean | (({
10268
+ pattern?: string
10269
+ flags?: string
10270
+ } | string)[] | ({
10271
+ pattern?: string
10272
+ flags?: string
10273
+ } | string)) | {
10274
+ block?: (boolean | (({
10275
+ pattern?: string
10276
+ flags?: string
10277
+ } | string)[] | ({
10278
+ pattern?: string
10279
+ flags?: string
10280
+ } | string)))
10281
+ line?: (boolean | (({
10282
+ pattern?: string
10283
+ flags?: string
10284
+ } | string)[] | ({
10285
+ pattern?: string
10286
+ flags?: string
10287
+ } | string)))
10017
10288
  })
10018
10289
 
10019
10290
  partitionByNewLine?: boolean
10020
10291
 
10021
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10292
+ newlinesBetween?: ("ignore" | "always" | "never")
10293
+
10294
+ groups?: (string | string[] | {
10295
+
10296
+ newlinesBetween?: ("ignore" | "always" | "never")
10297
+ })[]
10022
10298
  }]
10023
10299
  // ----- perfectionist/sort-exports -----
10024
10300
  type PerfectionistSortExports = []|[{
10025
10301
 
10302
+ fallbackSort?: {
10303
+
10304
+ order?: ("asc" | "desc")
10305
+
10306
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10307
+ [k: string]: unknown | undefined
10308
+ }
10309
+
10026
10310
  specialCharacters?: ("remove" | "trim" | "keep")
10027
10311
 
10028
10312
  ignoreCase?: boolean
@@ -10033,21 +10317,46 @@ type PerfectionistSortExports = []|[{
10033
10317
 
10034
10318
  order?: ("asc" | "desc")
10035
10319
 
10320
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10321
+
10036
10322
  groupKind?: ("mixed" | "values-first" | "types-first")
10037
10323
 
10038
- partitionByComment?: (string[] | boolean | string | {
10039
- block?: (string[] | boolean | string)
10040
- line?: (string[] | boolean | string)
10041
- [k: string]: unknown | undefined
10324
+ partitionByComment?: (boolean | (({
10325
+ pattern?: string
10326
+ flags?: string
10327
+ } | string)[] | ({
10328
+ pattern?: string
10329
+ flags?: string
10330
+ } | string)) | {
10331
+ block?: (boolean | (({
10332
+ pattern?: string
10333
+ flags?: string
10334
+ } | string)[] | ({
10335
+ pattern?: string
10336
+ flags?: string
10337
+ } | string)))
10338
+ line?: (boolean | (({
10339
+ pattern?: string
10340
+ flags?: string
10341
+ } | string)[] | ({
10342
+ pattern?: string
10343
+ flags?: string
10344
+ } | string)))
10042
10345
  })
10043
10346
 
10044
10347
  partitionByNewLine?: boolean
10045
-
10046
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10047
10348
  }]
10048
10349
  // ----- perfectionist/sort-heritage-clauses -----
10049
10350
  type PerfectionistSortHeritageClauses = []|[{
10050
10351
 
10352
+ fallbackSort?: {
10353
+
10354
+ order?: ("asc" | "desc")
10355
+
10356
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10357
+ [k: string]: unknown | undefined
10358
+ }
10359
+
10051
10360
  specialCharacters?: ("remove" | "trim" | "keep")
10052
10361
 
10053
10362
  ignoreCase?: boolean
@@ -10058,22 +10367,29 @@ type PerfectionistSortHeritageClauses = []|[{
10058
10367
 
10059
10368
  order?: ("asc" | "desc")
10060
10369
 
10370
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10371
+
10061
10372
  customGroups?: {
10062
10373
  [k: string]: (string | string[]) | undefined
10063
10374
  }
10064
10375
 
10065
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10066
-
10067
10376
  groups?: (string | string[] | {
10068
10377
 
10069
10378
  newlinesBetween?: ("ignore" | "always" | "never")
10070
- [k: string]: unknown | undefined
10071
10379
  })[]
10072
10380
  }]
10073
10381
  // ----- perfectionist/sort-imports -----
10074
10382
  type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
10075
10383
  type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
10076
10384
 
10385
+ fallbackSort?: {
10386
+
10387
+ order?: ("asc" | "desc")
10388
+
10389
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10390
+ [k: string]: unknown | undefined
10391
+ }
10392
+
10077
10393
  specialCharacters?: ("remove" | "trim" | "keep")
10078
10394
 
10079
10395
  ignoreCase?: boolean
@@ -10084,6 +10400,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
10084
10400
 
10085
10401
  order?: ("asc" | "desc")
10086
10402
 
10403
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10404
+
10087
10405
  customGroups?: {
10088
10406
 
10089
10407
  value?: {
@@ -10095,8 +10413,6 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
10095
10413
  }
10096
10414
  }
10097
10415
 
10098
- internalPattern?: string[]
10099
-
10100
10416
  maxLineLength?: number
10101
10417
 
10102
10418
  sortSideEffects?: boolean
@@ -10105,22 +10421,44 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
10105
10421
 
10106
10422
  tsconfigRootDir?: string
10107
10423
 
10108
- partitionByComment?: (string[] | boolean | string | {
10109
- block?: (string[] | boolean | string)
10110
- line?: (string[] | boolean | string)
10111
- [k: string]: unknown | undefined
10424
+ partitionByComment?: (boolean | (({
10425
+ pattern?: string
10426
+ flags?: string
10427
+ } | string)[] | ({
10428
+ pattern?: string
10429
+ flags?: string
10430
+ } | string)) | {
10431
+ block?: (boolean | (({
10432
+ pattern?: string
10433
+ flags?: string
10434
+ } | string)[] | ({
10435
+ pattern?: string
10436
+ flags?: string
10437
+ } | string)))
10438
+ line?: (boolean | (({
10439
+ pattern?: string
10440
+ flags?: string
10441
+ } | string)[] | ({
10442
+ pattern?: string
10443
+ flags?: string
10444
+ } | string)))
10112
10445
  })
10113
10446
 
10114
10447
  partitionByNewLine?: boolean
10115
10448
 
10116
10449
  newlinesBetween?: ("ignore" | "always" | "never")
10117
10450
 
10118
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10451
+ internalPattern?: (({
10452
+ pattern?: string
10453
+ flags?: string
10454
+ } | string)[] | ({
10455
+ pattern?: string
10456
+ flags?: string
10457
+ } | string))
10119
10458
 
10120
10459
  groups?: (string | string[] | {
10121
10460
 
10122
10461
  newlinesBetween?: ("ignore" | "always" | "never")
10123
- [k: string]: unknown | undefined
10124
10462
  })[]
10125
10463
  })
10126
10464
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
@@ -10133,6 +10471,14 @@ interface _PerfectionistSortImports_IsLineLength {
10133
10471
  // ----- perfectionist/sort-interfaces -----
10134
10472
  type PerfectionistSortInterfaces = {
10135
10473
 
10474
+ fallbackSort?: {
10475
+
10476
+ order?: ("asc" | "desc")
10477
+
10478
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10479
+ [k: string]: unknown | undefined
10480
+ }
10481
+
10136
10482
  specialCharacters?: ("remove" | "trim" | "keep")
10137
10483
 
10138
10484
  ignoreCase?: boolean
@@ -10143,70 +10489,163 @@ type PerfectionistSortInterfaces = {
10143
10489
 
10144
10490
  order?: ("asc" | "desc")
10145
10491
 
10146
- ignorePattern?: string[]
10147
- useConfigurationIf?: {
10148
- allNamesMatchPattern?: string
10149
- declarationMatchesPattern?: string
10150
- }
10492
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10151
10493
  customGroups?: ({
10152
10494
  [k: string]: (string | string[]) | undefined
10153
10495
  } | ({
10154
10496
 
10155
- groupName?: string
10497
+ newlinesInside?: ("always" | "never")
10156
10498
 
10157
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10499
+ fallbackSort?: {
10500
+
10501
+ order?: ("asc" | "desc")
10502
+
10503
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10504
+ sortBy?: ("name" | "value")
10505
+ [k: string]: unknown | undefined
10506
+ }
10158
10507
 
10159
- order?: ("desc" | "asc")
10508
+ groupName?: string
10160
10509
 
10161
- newlinesInside?: ("always" | "never")
10510
+ order?: ("asc" | "desc")
10511
+
10512
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10162
10513
  anyOf?: {
10163
10514
 
10164
10515
  modifiers?: ("optional" | "required" | "multiline")[]
10165
10516
 
10166
10517
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
10167
10518
 
10168
- elementNamePattern?: string
10519
+ elementValuePattern?: (({
10520
+ pattern?: string
10521
+ flags?: string
10522
+ } | string)[] | ({
10523
+ pattern?: string
10524
+ flags?: string
10525
+ } | string))
10526
+
10527
+ elementNamePattern?: (({
10528
+ pattern?: string
10529
+ flags?: string
10530
+ } | string)[] | ({
10531
+ pattern?: string
10532
+ flags?: string
10533
+ } | string))
10534
+ sortBy?: ("name" | "value")
10169
10535
  }[]
10170
10536
  } | {
10171
10537
 
10172
- groupName?: string
10538
+ newlinesInside?: ("always" | "never")
10539
+
10540
+ fallbackSort?: {
10541
+
10542
+ order?: ("asc" | "desc")
10543
+
10544
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10545
+ sortBy?: ("name" | "value")
10546
+ [k: string]: unknown | undefined
10547
+ }
10173
10548
 
10174
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10549
+ groupName?: string
10175
10550
 
10176
- order?: ("desc" | "asc")
10551
+ order?: ("asc" | "desc")
10177
10552
 
10178
- newlinesInside?: ("always" | "never")
10553
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10179
10554
 
10180
10555
  modifiers?: ("optional" | "required" | "multiline")[]
10181
10556
 
10182
10557
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
10183
10558
 
10184
- elementNamePattern?: string
10559
+ elementValuePattern?: (({
10560
+ pattern?: string
10561
+ flags?: string
10562
+ } | string)[] | ({
10563
+ pattern?: string
10564
+ flags?: string
10565
+ } | string))
10566
+
10567
+ elementNamePattern?: (({
10568
+ pattern?: string
10569
+ flags?: string
10570
+ } | string)[] | ({
10571
+ pattern?: string
10572
+ flags?: string
10573
+ } | string))
10574
+ sortBy?: ("name" | "value")
10185
10575
  })[])
10576
+ useConfigurationIf?: {
10577
+
10578
+ allNamesMatchPattern?: (({
10579
+ pattern?: string
10580
+ flags?: string
10581
+ } | string)[] | ({
10582
+ pattern?: string
10583
+ flags?: string
10584
+ } | string))
10585
+
10586
+ declarationMatchesPattern?: (({
10587
+ pattern?: string
10588
+ flags?: string
10589
+ } | string)[] | ({
10590
+ pattern?: string
10591
+ flags?: string
10592
+ } | string))
10593
+ }
10186
10594
 
10187
10595
  groupKind?: ("mixed" | "required-first" | "optional-first")
10188
10596
 
10189
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10190
-
10191
- partitionByComment?: (string[] | boolean | string | {
10192
- block?: (string[] | boolean | string)
10193
- line?: (string[] | boolean | string)
10194
- [k: string]: unknown | undefined
10597
+ partitionByComment?: (boolean | (({
10598
+ pattern?: string
10599
+ flags?: string
10600
+ } | string)[] | ({
10601
+ pattern?: string
10602
+ flags?: string
10603
+ } | string)) | {
10604
+ block?: (boolean | (({
10605
+ pattern?: string
10606
+ flags?: string
10607
+ } | string)[] | ({
10608
+ pattern?: string
10609
+ flags?: string
10610
+ } | string)))
10611
+ line?: (boolean | (({
10612
+ pattern?: string
10613
+ flags?: string
10614
+ } | string)[] | ({
10615
+ pattern?: string
10616
+ flags?: string
10617
+ } | string)))
10195
10618
  })
10196
10619
 
10197
10620
  partitionByNewLine?: boolean
10198
10621
 
10199
10622
  newlinesBetween?: ("ignore" | "always" | "never")
10200
10623
 
10624
+ ignorePattern?: (({
10625
+ pattern?: string
10626
+ flags?: string
10627
+ } | string)[] | ({
10628
+ pattern?: string
10629
+ flags?: string
10630
+ } | string))
10631
+ sortBy?: ("name" | "value")
10632
+
10201
10633
  groups?: (string | string[] | {
10202
10634
 
10203
10635
  newlinesBetween?: ("ignore" | "always" | "never")
10204
- [k: string]: unknown | undefined
10205
10636
  })[]
10206
10637
  }[]
10207
10638
  // ----- perfectionist/sort-intersection-types -----
10208
10639
  type PerfectionistSortIntersectionTypes = []|[{
10209
10640
 
10641
+ fallbackSort?: {
10642
+
10643
+ order?: ("asc" | "desc")
10644
+
10645
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10646
+ [k: string]: unknown | undefined
10647
+ }
10648
+
10210
10649
  specialCharacters?: ("remove" | "trim" | "keep")
10211
10650
 
10212
10651
  ignoreCase?: boolean
@@ -10217,26 +10656,50 @@ type PerfectionistSortIntersectionTypes = []|[{
10217
10656
 
10218
10657
  order?: ("asc" | "desc")
10219
10658
 
10220
- partitionByComment?: (string[] | boolean | string | {
10221
- block?: (string[] | boolean | string)
10222
- line?: (string[] | boolean | string)
10223
- [k: string]: unknown | undefined
10659
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10660
+
10661
+ partitionByComment?: (boolean | (({
10662
+ pattern?: string
10663
+ flags?: string
10664
+ } | string)[] | ({
10665
+ pattern?: string
10666
+ flags?: string
10667
+ } | string)) | {
10668
+ block?: (boolean | (({
10669
+ pattern?: string
10670
+ flags?: string
10671
+ } | string)[] | ({
10672
+ pattern?: string
10673
+ flags?: string
10674
+ } | string)))
10675
+ line?: (boolean | (({
10676
+ pattern?: string
10677
+ flags?: string
10678
+ } | string)[] | ({
10679
+ pattern?: string
10680
+ flags?: string
10681
+ } | string)))
10224
10682
  })
10225
10683
 
10226
10684
  partitionByNewLine?: boolean
10227
10685
 
10228
10686
  newlinesBetween?: ("ignore" | "always" | "never")
10229
10687
 
10230
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10231
-
10232
10688
  groups?: (string | string[] | {
10233
10689
 
10234
10690
  newlinesBetween?: ("ignore" | "always" | "never")
10235
- [k: string]: unknown | undefined
10236
10691
  })[]
10237
10692
  }]
10238
10693
  // ----- perfectionist/sort-jsx-props -----
10239
- type PerfectionistSortJsxProps = []|[{
10694
+ type PerfectionistSortJsxProps = {
10695
+
10696
+ fallbackSort?: {
10697
+
10698
+ order?: ("asc" | "desc")
10699
+
10700
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10701
+ [k: string]: unknown | undefined
10702
+ }
10240
10703
 
10241
10704
  specialCharacters?: ("remove" | "trim" | "keep")
10242
10705
 
@@ -10248,7 +10711,25 @@ type PerfectionistSortJsxProps = []|[{
10248
10711
 
10249
10712
  order?: ("asc" | "desc")
10250
10713
 
10251
- ignorePattern?: string[]
10714
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10715
+ useConfigurationIf?: {
10716
+
10717
+ allNamesMatchPattern?: (({
10718
+ pattern?: string
10719
+ flags?: string
10720
+ } | string)[] | ({
10721
+ pattern?: string
10722
+ flags?: string
10723
+ } | string))
10724
+
10725
+ tagMatchesPattern?: (({
10726
+ pattern?: string
10727
+ flags?: string
10728
+ } | string)[] | ({
10729
+ pattern?: string
10730
+ flags?: string
10731
+ } | string))
10732
+ }
10252
10733
 
10253
10734
  partitionByNewLine?: boolean
10254
10735
 
@@ -10258,17 +10739,30 @@ type PerfectionistSortJsxProps = []|[{
10258
10739
  [k: string]: (string | string[]) | undefined
10259
10740
  }
10260
10741
 
10261
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10742
+ ignorePattern?: (({
10743
+ pattern?: string
10744
+ flags?: string
10745
+ } | string)[] | ({
10746
+ pattern?: string
10747
+ flags?: string
10748
+ } | string))
10262
10749
 
10263
10750
  groups?: (string | string[] | {
10264
10751
 
10265
10752
  newlinesBetween?: ("ignore" | "always" | "never")
10266
- [k: string]: unknown | undefined
10267
10753
  })[]
10268
- }]
10754
+ }[]
10269
10755
  // ----- perfectionist/sort-maps -----
10270
10756
  type PerfectionistSortMaps = {
10271
10757
 
10758
+ fallbackSort?: {
10759
+
10760
+ order?: ("asc" | "desc")
10761
+
10762
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10763
+ [k: string]: unknown | undefined
10764
+ }
10765
+
10272
10766
  specialCharacters?: ("remove" | "trim" | "keep")
10273
10767
 
10274
10768
  ignoreCase?: boolean
@@ -10279,56 +10773,115 @@ type PerfectionistSortMaps = {
10279
10773
 
10280
10774
  order?: ("asc" | "desc")
10281
10775
 
10776
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10777
+
10282
10778
  customGroups?: ({
10283
10779
 
10284
- groupName?: string
10780
+ newlinesInside?: ("always" | "never")
10285
10781
 
10286
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10782
+ fallbackSort?: {
10783
+
10784
+ order?: ("asc" | "desc")
10785
+
10786
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10787
+ [k: string]: unknown | undefined
10788
+ }
10287
10789
 
10288
- order?: ("desc" | "asc")
10790
+ groupName?: string
10289
10791
 
10290
- newlinesInside?: ("always" | "never")
10792
+ order?: ("asc" | "desc")
10793
+
10794
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10291
10795
  anyOf?: {
10292
10796
 
10293
- elementNamePattern?: string
10797
+ elementNamePattern?: (({
10798
+ pattern?: string
10799
+ flags?: string
10800
+ } | string)[] | ({
10801
+ pattern?: string
10802
+ flags?: string
10803
+ } | string))
10294
10804
  }[]
10295
10805
  } | {
10296
10806
 
10297
- groupName?: string
10807
+ newlinesInside?: ("always" | "never")
10808
+
10809
+ fallbackSort?: {
10810
+
10811
+ order?: ("asc" | "desc")
10812
+
10813
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10814
+ [k: string]: unknown | undefined
10815
+ }
10298
10816
 
10299
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10817
+ groupName?: string
10300
10818
 
10301
- order?: ("desc" | "asc")
10819
+ order?: ("asc" | "desc")
10302
10820
 
10303
- newlinesInside?: ("always" | "never")
10821
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10304
10822
 
10305
- elementNamePattern?: string
10823
+ elementNamePattern?: (({
10824
+ pattern?: string
10825
+ flags?: string
10826
+ } | string)[] | ({
10827
+ pattern?: string
10828
+ flags?: string
10829
+ } | string))
10306
10830
  })[]
10307
10831
  useConfigurationIf?: {
10308
- allNamesMatchPattern?: string
10832
+
10833
+ allNamesMatchPattern?: (({
10834
+ pattern?: string
10835
+ flags?: string
10836
+ } | string)[] | ({
10837
+ pattern?: string
10838
+ flags?: string
10839
+ } | string))
10309
10840
  }
10310
10841
 
10311
- partitionByComment?: (string[] | boolean | string | {
10312
- block?: (string[] | boolean | string)
10313
- line?: (string[] | boolean | string)
10314
- [k: string]: unknown | undefined
10842
+ partitionByComment?: (boolean | (({
10843
+ pattern?: string
10844
+ flags?: string
10845
+ } | string)[] | ({
10846
+ pattern?: string
10847
+ flags?: string
10848
+ } | string)) | {
10849
+ block?: (boolean | (({
10850
+ pattern?: string
10851
+ flags?: string
10852
+ } | string)[] | ({
10853
+ pattern?: string
10854
+ flags?: string
10855
+ } | string)))
10856
+ line?: (boolean | (({
10857
+ pattern?: string
10858
+ flags?: string
10859
+ } | string)[] | ({
10860
+ pattern?: string
10861
+ flags?: string
10862
+ } | string)))
10315
10863
  })
10316
10864
 
10317
10865
  partitionByNewLine?: boolean
10318
10866
 
10319
10867
  newlinesBetween?: ("ignore" | "always" | "never")
10320
10868
 
10321
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10322
-
10323
10869
  groups?: (string | string[] | {
10324
10870
 
10325
10871
  newlinesBetween?: ("ignore" | "always" | "never")
10326
- [k: string]: unknown | undefined
10327
10872
  })[]
10328
10873
  }[]
10329
10874
  // ----- perfectionist/sort-modules -----
10330
10875
  type PerfectionistSortModules = []|[{
10331
10876
 
10877
+ fallbackSort?: {
10878
+
10879
+ order?: ("asc" | "desc")
10880
+
10881
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10882
+ [k: string]: unknown | undefined
10883
+ }
10884
+
10332
10885
  specialCharacters?: ("remove" | "trim" | "keep")
10333
10886
 
10334
10887
  ignoreCase?: boolean
@@ -10339,65 +10892,129 @@ type PerfectionistSortModules = []|[{
10339
10892
 
10340
10893
  order?: ("asc" | "desc")
10341
10894
 
10895
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10896
+
10342
10897
  customGroups?: ({
10343
10898
 
10344
- groupName?: string
10899
+ newlinesInside?: ("always" | "never")
10900
+
10901
+ fallbackSort?: {
10902
+
10903
+ order?: ("asc" | "desc")
10904
+
10905
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10906
+ [k: string]: unknown | undefined
10907
+ }
10345
10908
 
10346
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10909
+ groupName?: string
10347
10910
 
10348
- order?: ("desc" | "asc")
10911
+ order?: ("asc" | "desc")
10349
10912
 
10350
- newlinesInside?: ("always" | "never")
10913
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10351
10914
  anyOf?: {
10352
10915
 
10353
- decoratorNamePattern?: string
10354
-
10355
10916
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
10356
10917
 
10357
10918
  selector?: ("enum" | "function" | "interface" | "type" | "class")
10358
10919
 
10359
- elementNamePattern?: string
10920
+ decoratorNamePattern?: (({
10921
+ pattern?: string
10922
+ flags?: string
10923
+ } | string)[] | ({
10924
+ pattern?: string
10925
+ flags?: string
10926
+ } | string))
10927
+
10928
+ elementNamePattern?: (({
10929
+ pattern?: string
10930
+ flags?: string
10931
+ } | string)[] | ({
10932
+ pattern?: string
10933
+ flags?: string
10934
+ } | string))
10360
10935
  }[]
10361
10936
  } | {
10362
10937
 
10363
- groupName?: string
10938
+ newlinesInside?: ("always" | "never")
10364
10939
 
10365
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10940
+ fallbackSort?: {
10941
+
10942
+ order?: ("asc" | "desc")
10943
+
10944
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10945
+ [k: string]: unknown | undefined
10946
+ }
10366
10947
 
10367
- order?: ("desc" | "asc")
10948
+ groupName?: string
10368
10949
 
10369
- newlinesInside?: ("always" | "never")
10950
+ order?: ("asc" | "desc")
10370
10951
 
10371
- decoratorNamePattern?: string
10952
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10372
10953
 
10373
10954
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
10374
10955
 
10375
10956
  selector?: ("enum" | "function" | "interface" | "type" | "class")
10376
10957
 
10377
- elementNamePattern?: string
10958
+ decoratorNamePattern?: (({
10959
+ pattern?: string
10960
+ flags?: string
10961
+ } | string)[] | ({
10962
+ pattern?: string
10963
+ flags?: string
10964
+ } | string))
10965
+
10966
+ elementNamePattern?: (({
10967
+ pattern?: string
10968
+ flags?: string
10969
+ } | string)[] | ({
10970
+ pattern?: string
10971
+ flags?: string
10972
+ } | string))
10378
10973
  })[]
10379
10974
 
10380
- partitionByComment?: (string[] | boolean | string | {
10381
- block?: (string[] | boolean | string)
10382
- line?: (string[] | boolean | string)
10383
- [k: string]: unknown | undefined
10975
+ partitionByComment?: (boolean | (({
10976
+ pattern?: string
10977
+ flags?: string
10978
+ } | string)[] | ({
10979
+ pattern?: string
10980
+ flags?: string
10981
+ } | string)) | {
10982
+ block?: (boolean | (({
10983
+ pattern?: string
10984
+ flags?: string
10985
+ } | string)[] | ({
10986
+ pattern?: string
10987
+ flags?: string
10988
+ } | string)))
10989
+ line?: (boolean | (({
10990
+ pattern?: string
10991
+ flags?: string
10992
+ } | string)[] | ({
10993
+ pattern?: string
10994
+ flags?: string
10995
+ } | string)))
10384
10996
  })
10385
10997
 
10386
10998
  partitionByNewLine?: boolean
10387
10999
 
10388
11000
  newlinesBetween?: ("ignore" | "always" | "never")
10389
11001
 
10390
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10391
-
10392
11002
  groups?: (string | string[] | {
10393
11003
 
10394
11004
  newlinesBetween?: ("ignore" | "always" | "never")
10395
- [k: string]: unknown | undefined
10396
11005
  })[]
10397
11006
  }]
10398
11007
  // ----- perfectionist/sort-named-exports -----
10399
11008
  type PerfectionistSortNamedExports = []|[{
10400
11009
 
11010
+ fallbackSort?: {
11011
+
11012
+ order?: ("asc" | "desc")
11013
+
11014
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11015
+ [k: string]: unknown | undefined
11016
+ }
11017
+
10401
11018
  specialCharacters?: ("remove" | "trim" | "keep")
10402
11019
 
10403
11020
  ignoreCase?: boolean
@@ -10408,21 +11025,48 @@ type PerfectionistSortNamedExports = []|[{
10408
11025
 
10409
11026
  order?: ("asc" | "desc")
10410
11027
 
11028
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11029
+
10411
11030
  groupKind?: ("mixed" | "values-first" | "types-first")
10412
11031
 
10413
- partitionByComment?: (string[] | boolean | string | {
10414
- block?: (string[] | boolean | string)
10415
- line?: (string[] | boolean | string)
10416
- [k: string]: unknown | undefined
11032
+ ignoreAlias?: boolean
11033
+
11034
+ partitionByComment?: (boolean | (({
11035
+ pattern?: string
11036
+ flags?: string
11037
+ } | string)[] | ({
11038
+ pattern?: string
11039
+ flags?: string
11040
+ } | string)) | {
11041
+ block?: (boolean | (({
11042
+ pattern?: string
11043
+ flags?: string
11044
+ } | string)[] | ({
11045
+ pattern?: string
11046
+ flags?: string
11047
+ } | string)))
11048
+ line?: (boolean | (({
11049
+ pattern?: string
11050
+ flags?: string
11051
+ } | string)[] | ({
11052
+ pattern?: string
11053
+ flags?: string
11054
+ } | string)))
10417
11055
  })
10418
11056
 
10419
11057
  partitionByNewLine?: boolean
10420
-
10421
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10422
11058
  }]
10423
11059
  // ----- perfectionist/sort-named-imports -----
10424
11060
  type PerfectionistSortNamedImports = []|[{
10425
11061
 
11062
+ fallbackSort?: {
11063
+
11064
+ order?: ("asc" | "desc")
11065
+
11066
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11067
+ [k: string]: unknown | undefined
11068
+ }
11069
+
10426
11070
  specialCharacters?: ("remove" | "trim" | "keep")
10427
11071
 
10428
11072
  ignoreCase?: boolean
@@ -10433,23 +11077,48 @@ type PerfectionistSortNamedImports = []|[{
10433
11077
 
10434
11078
  order?: ("asc" | "desc")
10435
11079
 
11080
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11081
+
10436
11082
  groupKind?: ("mixed" | "values-first" | "types-first")
10437
11083
 
10438
11084
  ignoreAlias?: boolean
10439
11085
 
10440
- partitionByComment?: (string[] | boolean | string | {
10441
- block?: (string[] | boolean | string)
10442
- line?: (string[] | boolean | string)
10443
- [k: string]: unknown | undefined
11086
+ partitionByComment?: (boolean | (({
11087
+ pattern?: string
11088
+ flags?: string
11089
+ } | string)[] | ({
11090
+ pattern?: string
11091
+ flags?: string
11092
+ } | string)) | {
11093
+ block?: (boolean | (({
11094
+ pattern?: string
11095
+ flags?: string
11096
+ } | string)[] | ({
11097
+ pattern?: string
11098
+ flags?: string
11099
+ } | string)))
11100
+ line?: (boolean | (({
11101
+ pattern?: string
11102
+ flags?: string
11103
+ } | string)[] | ({
11104
+ pattern?: string
11105
+ flags?: string
11106
+ } | string)))
10444
11107
  })
10445
11108
 
10446
11109
  partitionByNewLine?: boolean
10447
-
10448
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10449
11110
  }]
10450
11111
  // ----- perfectionist/sort-object-types -----
10451
11112
  type PerfectionistSortObjectTypes = {
10452
11113
 
11114
+ fallbackSort?: {
11115
+
11116
+ order?: ("asc" | "desc")
11117
+
11118
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11119
+ [k: string]: unknown | undefined
11120
+ }
11121
+
10453
11122
  specialCharacters?: ("remove" | "trim" | "keep")
10454
11123
 
10455
11124
  ignoreCase?: boolean
@@ -10460,70 +11129,163 @@ type PerfectionistSortObjectTypes = {
10460
11129
 
10461
11130
  order?: ("asc" | "desc")
10462
11131
 
10463
- ignorePattern?: string[]
10464
- useConfigurationIf?: {
10465
- allNamesMatchPattern?: string
10466
- declarationMatchesPattern?: string
10467
- }
11132
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10468
11133
  customGroups?: ({
10469
11134
  [k: string]: (string | string[]) | undefined
10470
11135
  } | ({
10471
11136
 
10472
- groupName?: string
11137
+ newlinesInside?: ("always" | "never")
11138
+
11139
+ fallbackSort?: {
11140
+
11141
+ order?: ("asc" | "desc")
11142
+
11143
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11144
+ sortBy?: ("name" | "value")
11145
+ [k: string]: unknown | undefined
11146
+ }
10473
11147
 
10474
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11148
+ groupName?: string
10475
11149
 
10476
- order?: ("desc" | "asc")
11150
+ order?: ("asc" | "desc")
10477
11151
 
10478
- newlinesInside?: ("always" | "never")
11152
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10479
11153
  anyOf?: {
10480
11154
 
10481
11155
  modifiers?: ("optional" | "required" | "multiline")[]
10482
11156
 
10483
11157
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
10484
11158
 
10485
- elementNamePattern?: string
11159
+ elementValuePattern?: (({
11160
+ pattern?: string
11161
+ flags?: string
11162
+ } | string)[] | ({
11163
+ pattern?: string
11164
+ flags?: string
11165
+ } | string))
11166
+
11167
+ elementNamePattern?: (({
11168
+ pattern?: string
11169
+ flags?: string
11170
+ } | string)[] | ({
11171
+ pattern?: string
11172
+ flags?: string
11173
+ } | string))
11174
+ sortBy?: ("name" | "value")
10486
11175
  }[]
10487
11176
  } | {
10488
11177
 
10489
- groupName?: string
11178
+ newlinesInside?: ("always" | "never")
10490
11179
 
10491
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11180
+ fallbackSort?: {
11181
+
11182
+ order?: ("asc" | "desc")
11183
+
11184
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11185
+ sortBy?: ("name" | "value")
11186
+ [k: string]: unknown | undefined
11187
+ }
10492
11188
 
10493
- order?: ("desc" | "asc")
11189
+ groupName?: string
10494
11190
 
10495
- newlinesInside?: ("always" | "never")
11191
+ order?: ("asc" | "desc")
11192
+
11193
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10496
11194
 
10497
11195
  modifiers?: ("optional" | "required" | "multiline")[]
10498
11196
 
10499
11197
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
10500
11198
 
10501
- elementNamePattern?: string
11199
+ elementValuePattern?: (({
11200
+ pattern?: string
11201
+ flags?: string
11202
+ } | string)[] | ({
11203
+ pattern?: string
11204
+ flags?: string
11205
+ } | string))
11206
+
11207
+ elementNamePattern?: (({
11208
+ pattern?: string
11209
+ flags?: string
11210
+ } | string)[] | ({
11211
+ pattern?: string
11212
+ flags?: string
11213
+ } | string))
11214
+ sortBy?: ("name" | "value")
10502
11215
  })[])
11216
+ useConfigurationIf?: {
11217
+
11218
+ allNamesMatchPattern?: (({
11219
+ pattern?: string
11220
+ flags?: string
11221
+ } | string)[] | ({
11222
+ pattern?: string
11223
+ flags?: string
11224
+ } | string))
11225
+
11226
+ declarationMatchesPattern?: (({
11227
+ pattern?: string
11228
+ flags?: string
11229
+ } | string)[] | ({
11230
+ pattern?: string
11231
+ flags?: string
11232
+ } | string))
11233
+ }
10503
11234
 
10504
11235
  groupKind?: ("mixed" | "required-first" | "optional-first")
10505
11236
 
10506
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10507
-
10508
- partitionByComment?: (string[] | boolean | string | {
10509
- block?: (string[] | boolean | string)
10510
- line?: (string[] | boolean | string)
10511
- [k: string]: unknown | undefined
11237
+ partitionByComment?: (boolean | (({
11238
+ pattern?: string
11239
+ flags?: string
11240
+ } | string)[] | ({
11241
+ pattern?: string
11242
+ flags?: string
11243
+ } | string)) | {
11244
+ block?: (boolean | (({
11245
+ pattern?: string
11246
+ flags?: string
11247
+ } | string)[] | ({
11248
+ pattern?: string
11249
+ flags?: string
11250
+ } | string)))
11251
+ line?: (boolean | (({
11252
+ pattern?: string
11253
+ flags?: string
11254
+ } | string)[] | ({
11255
+ pattern?: string
11256
+ flags?: string
11257
+ } | string)))
10512
11258
  })
10513
11259
 
10514
11260
  partitionByNewLine?: boolean
10515
11261
 
10516
11262
  newlinesBetween?: ("ignore" | "always" | "never")
10517
11263
 
11264
+ ignorePattern?: (({
11265
+ pattern?: string
11266
+ flags?: string
11267
+ } | string)[] | ({
11268
+ pattern?: string
11269
+ flags?: string
11270
+ } | string))
11271
+ sortBy?: ("name" | "value")
11272
+
10518
11273
  groups?: (string | string[] | {
10519
11274
 
10520
11275
  newlinesBetween?: ("ignore" | "always" | "never")
10521
- [k: string]: unknown | undefined
10522
11276
  })[]
10523
11277
  }[]
10524
11278
  // ----- perfectionist/sort-objects -----
10525
11279
  type PerfectionistSortObjects = {
10526
11280
 
11281
+ fallbackSort?: {
11282
+
11283
+ order?: ("asc" | "desc")
11284
+
11285
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11286
+ [k: string]: unknown | undefined
11287
+ }
11288
+
10527
11289
  specialCharacters?: ("remove" | "trim" | "keep")
10528
11290
 
10529
11291
  ignoreCase?: boolean
@@ -10534,55 +11296,109 @@ type PerfectionistSortObjects = {
10534
11296
 
10535
11297
  order?: ("asc" | "desc")
10536
11298
 
11299
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11300
+
10537
11301
  destructuredObjects?: (boolean | {
10538
11302
 
10539
11303
  groups?: boolean
10540
11304
  })
10541
-
10542
- ignorePattern?: string[]
10543
- useConfigurationIf?: {
10544
- allNamesMatchPattern?: string
10545
- callingFunctionNamePattern?: string
10546
- }
10547
11305
  customGroups?: ({
10548
11306
  [k: string]: (string | string[]) | undefined
10549
11307
  } | ({
10550
11308
 
10551
- groupName?: string
11309
+ newlinesInside?: ("always" | "never")
10552
11310
 
10553
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11311
+ fallbackSort?: {
11312
+
11313
+ order?: ("asc" | "desc")
11314
+
11315
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11316
+ [k: string]: unknown | undefined
11317
+ }
11318
+
11319
+ groupName?: string
10554
11320
 
10555
- order?: ("desc" | "asc")
11321
+ order?: ("asc" | "desc")
10556
11322
 
10557
- newlinesInside?: ("always" | "never")
11323
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10558
11324
  anyOf?: {
10559
11325
 
10560
11326
  modifiers?: ("optional" | "required" | "multiline")[]
10561
11327
 
10562
11328
  selector?: ("member" | "method" | "multiline" | "property")
10563
11329
 
10564
- elementValuePattern?: string
11330
+ elementValuePattern?: (({
11331
+ pattern?: string
11332
+ flags?: string
11333
+ } | string)[] | ({
11334
+ pattern?: string
11335
+ flags?: string
11336
+ } | string))
10565
11337
 
10566
- elementNamePattern?: string
11338
+ elementNamePattern?: (({
11339
+ pattern?: string
11340
+ flags?: string
11341
+ } | string)[] | ({
11342
+ pattern?: string
11343
+ flags?: string
11344
+ } | string))
10567
11345
  }[]
10568
11346
  } | {
10569
11347
 
10570
- groupName?: string
11348
+ newlinesInside?: ("always" | "never")
10571
11349
 
10572
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11350
+ fallbackSort?: {
11351
+
11352
+ order?: ("asc" | "desc")
11353
+
11354
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11355
+ [k: string]: unknown | undefined
11356
+ }
11357
+
11358
+ groupName?: string
10573
11359
 
10574
- order?: ("desc" | "asc")
11360
+ order?: ("asc" | "desc")
10575
11361
 
10576
- newlinesInside?: ("always" | "never")
11362
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10577
11363
 
10578
11364
  modifiers?: ("optional" | "required" | "multiline")[]
10579
11365
 
10580
11366
  selector?: ("member" | "method" | "multiline" | "property")
10581
11367
 
10582
- elementValuePattern?: string
11368
+ elementValuePattern?: (({
11369
+ pattern?: string
11370
+ flags?: string
11371
+ } | string)[] | ({
11372
+ pattern?: string
11373
+ flags?: string
11374
+ } | string))
10583
11375
 
10584
- elementNamePattern?: string
11376
+ elementNamePattern?: (({
11377
+ pattern?: string
11378
+ flags?: string
11379
+ } | string)[] | ({
11380
+ pattern?: string
11381
+ flags?: string
11382
+ } | string))
10585
11383
  })[])
11384
+ useConfigurationIf?: {
11385
+
11386
+ allNamesMatchPattern?: (({
11387
+ pattern?: string
11388
+ flags?: string
11389
+ } | string)[] | ({
11390
+ pattern?: string
11391
+ flags?: string
11392
+ } | string))
11393
+
11394
+ callingFunctionNamePattern?: (({
11395
+ pattern?: string
11396
+ flags?: string
11397
+ } | string)[] | ({
11398
+ pattern?: string
11399
+ flags?: string
11400
+ } | string))
11401
+ }
10586
11402
 
10587
11403
  destructureOnly?: boolean
10588
11404
 
@@ -10590,27 +11406,57 @@ type PerfectionistSortObjects = {
10590
11406
 
10591
11407
  styledComponents?: boolean
10592
11408
 
10593
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10594
-
10595
- partitionByComment?: (string[] | boolean | string | {
10596
- block?: (string[] | boolean | string)
10597
- line?: (string[] | boolean | string)
10598
- [k: string]: unknown | undefined
11409
+ partitionByComment?: (boolean | (({
11410
+ pattern?: string
11411
+ flags?: string
11412
+ } | string)[] | ({
11413
+ pattern?: string
11414
+ flags?: string
11415
+ } | string)) | {
11416
+ block?: (boolean | (({
11417
+ pattern?: string
11418
+ flags?: string
11419
+ } | string)[] | ({
11420
+ pattern?: string
11421
+ flags?: string
11422
+ } | string)))
11423
+ line?: (boolean | (({
11424
+ pattern?: string
11425
+ flags?: string
11426
+ } | string)[] | ({
11427
+ pattern?: string
11428
+ flags?: string
11429
+ } | string)))
10599
11430
  })
10600
11431
 
10601
11432
  partitionByNewLine?: boolean
10602
11433
 
10603
11434
  newlinesBetween?: ("ignore" | "always" | "never")
10604
11435
 
11436
+ ignorePattern?: (({
11437
+ pattern?: string
11438
+ flags?: string
11439
+ } | string)[] | ({
11440
+ pattern?: string
11441
+ flags?: string
11442
+ } | string))
11443
+
10605
11444
  groups?: (string | string[] | {
10606
11445
 
10607
11446
  newlinesBetween?: ("ignore" | "always" | "never")
10608
- [k: string]: unknown | undefined
10609
11447
  })[]
10610
11448
  }[]
10611
11449
  // ----- perfectionist/sort-sets -----
10612
11450
  type PerfectionistSortSets = {
10613
11451
 
11452
+ fallbackSort?: {
11453
+
11454
+ order?: ("asc" | "desc")
11455
+
11456
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11457
+ [k: string]: unknown | undefined
11458
+ }
11459
+
10614
11460
  specialCharacters?: ("remove" | "trim" | "keep")
10615
11461
 
10616
11462
  ignoreCase?: boolean
@@ -10621,47 +11467,99 @@ type PerfectionistSortSets = {
10621
11467
 
10622
11468
  order?: ("asc" | "desc")
10623
11469
 
11470
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11471
+
10624
11472
  groupKind?: ("mixed" | "literals-first" | "spreads-first")
10625
11473
 
10626
11474
  customGroups?: ({
10627
11475
 
10628
- groupName?: string
11476
+ newlinesInside?: ("always" | "never")
10629
11477
 
10630
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11478
+ fallbackSort?: {
11479
+
11480
+ order?: ("asc" | "desc")
11481
+
11482
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11483
+ [k: string]: unknown | undefined
11484
+ }
10631
11485
 
10632
- order?: ("desc" | "asc")
11486
+ groupName?: string
10633
11487
 
10634
- newlinesInside?: ("always" | "never")
11488
+ order?: ("asc" | "desc")
11489
+
11490
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10635
11491
  anyOf?: {
10636
11492
 
10637
11493
  selector?: ("literal" | "spread")
10638
11494
 
10639
- elementNamePattern?: string
11495
+ elementNamePattern?: (({
11496
+ pattern?: string
11497
+ flags?: string
11498
+ } | string)[] | ({
11499
+ pattern?: string
11500
+ flags?: string
11501
+ } | string))
10640
11502
  }[]
10641
11503
  } | {
10642
11504
 
10643
- groupName?: string
11505
+ newlinesInside?: ("always" | "never")
11506
+
11507
+ fallbackSort?: {
11508
+
11509
+ order?: ("asc" | "desc")
11510
+
11511
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11512
+ [k: string]: unknown | undefined
11513
+ }
10644
11514
 
10645
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11515
+ groupName?: string
10646
11516
 
10647
- order?: ("desc" | "asc")
11517
+ order?: ("asc" | "desc")
10648
11518
 
10649
- newlinesInside?: ("always" | "never")
11519
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10650
11520
 
10651
11521
  selector?: ("literal" | "spread")
10652
11522
 
10653
- elementNamePattern?: string
11523
+ elementNamePattern?: (({
11524
+ pattern?: string
11525
+ flags?: string
11526
+ } | string)[] | ({
11527
+ pattern?: string
11528
+ flags?: string
11529
+ } | string))
10654
11530
  })[]
10655
11531
  useConfigurationIf?: {
10656
- allNamesMatchPattern?: string
11532
+
11533
+ allNamesMatchPattern?: (({
11534
+ pattern?: string
11535
+ flags?: string
11536
+ } | string)[] | ({
11537
+ pattern?: string
11538
+ flags?: string
11539
+ } | string))
10657
11540
  }
10658
11541
 
10659
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10660
-
10661
- partitionByComment?: (string[] | boolean | string | {
10662
- block?: (string[] | boolean | string)
10663
- line?: (string[] | boolean | string)
10664
- [k: string]: unknown | undefined
11542
+ partitionByComment?: (boolean | (({
11543
+ pattern?: string
11544
+ flags?: string
11545
+ } | string)[] | ({
11546
+ pattern?: string
11547
+ flags?: string
11548
+ } | string)) | {
11549
+ block?: (boolean | (({
11550
+ pattern?: string
11551
+ flags?: string
11552
+ } | string)[] | ({
11553
+ pattern?: string
11554
+ flags?: string
11555
+ } | string)))
11556
+ line?: (boolean | (({
11557
+ pattern?: string
11558
+ flags?: string
11559
+ } | string)[] | ({
11560
+ pattern?: string
11561
+ flags?: string
11562
+ } | string)))
10665
11563
  })
10666
11564
 
10667
11565
  partitionByNewLine?: boolean
@@ -10671,12 +11569,19 @@ type PerfectionistSortSets = {
10671
11569
  groups?: (string | string[] | {
10672
11570
 
10673
11571
  newlinesBetween?: ("ignore" | "always" | "never")
10674
- [k: string]: unknown | undefined
10675
11572
  })[]
10676
11573
  }[]
10677
11574
  // ----- perfectionist/sort-switch-case -----
10678
11575
  type PerfectionistSortSwitchCase = []|[{
10679
11576
 
11577
+ fallbackSort?: {
11578
+
11579
+ order?: ("asc" | "desc")
11580
+
11581
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11582
+ [k: string]: unknown | undefined
11583
+ }
11584
+
10680
11585
  specialCharacters?: ("remove" | "trim" | "keep")
10681
11586
 
10682
11587
  ignoreCase?: boolean
@@ -10687,11 +11592,19 @@ type PerfectionistSortSwitchCase = []|[{
10687
11592
 
10688
11593
  order?: ("asc" | "desc")
10689
11594
 
10690
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
11595
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10691
11596
  }]
10692
11597
  // ----- perfectionist/sort-union-types -----
10693
11598
  type PerfectionistSortUnionTypes = []|[{
10694
11599
 
11600
+ fallbackSort?: {
11601
+
11602
+ order?: ("asc" | "desc")
11603
+
11604
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11605
+ [k: string]: unknown | undefined
11606
+ }
11607
+
10695
11608
  specialCharacters?: ("remove" | "trim" | "keep")
10696
11609
 
10697
11610
  ignoreCase?: boolean
@@ -10702,27 +11615,51 @@ type PerfectionistSortUnionTypes = []|[{
10702
11615
 
10703
11616
  order?: ("asc" | "desc")
10704
11617
 
10705
- partitionByComment?: (string[] | boolean | string | {
10706
- block?: (string[] | boolean | string)
10707
- line?: (string[] | boolean | string)
10708
- [k: string]: unknown | undefined
11618
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11619
+
11620
+ partitionByComment?: (boolean | (({
11621
+ pattern?: string
11622
+ flags?: string
11623
+ } | string)[] | ({
11624
+ pattern?: string
11625
+ flags?: string
11626
+ } | string)) | {
11627
+ block?: (boolean | (({
11628
+ pattern?: string
11629
+ flags?: string
11630
+ } | string)[] | ({
11631
+ pattern?: string
11632
+ flags?: string
11633
+ } | string)))
11634
+ line?: (boolean | (({
11635
+ pattern?: string
11636
+ flags?: string
11637
+ } | string)[] | ({
11638
+ pattern?: string
11639
+ flags?: string
11640
+ } | string)))
10709
11641
  })
10710
11642
 
10711
11643
  partitionByNewLine?: boolean
10712
11644
 
10713
11645
  newlinesBetween?: ("ignore" | "always" | "never")
10714
11646
 
10715
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10716
-
10717
11647
  groups?: (string | string[] | {
10718
11648
 
10719
11649
  newlinesBetween?: ("ignore" | "always" | "never")
10720
- [k: string]: unknown | undefined
10721
11650
  })[]
10722
11651
  }]
10723
11652
  // ----- perfectionist/sort-variable-declarations -----
10724
11653
  type PerfectionistSortVariableDeclarations = []|[{
10725
11654
 
11655
+ fallbackSort?: {
11656
+
11657
+ order?: ("asc" | "desc")
11658
+
11659
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11660
+ [k: string]: unknown | undefined
11661
+ }
11662
+
10726
11663
  specialCharacters?: ("remove" | "trim" | "keep")
10727
11664
 
10728
11665
  ignoreCase?: boolean
@@ -10733,15 +11670,32 @@ type PerfectionistSortVariableDeclarations = []|[{
10733
11670
 
10734
11671
  order?: ("asc" | "desc")
10735
11672
 
10736
- partitionByComment?: (string[] | boolean | string | {
10737
- block?: (string[] | boolean | string)
10738
- line?: (string[] | boolean | string)
10739
- [k: string]: unknown | undefined
11673
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11674
+
11675
+ partitionByComment?: (boolean | (({
11676
+ pattern?: string
11677
+ flags?: string
11678
+ } | string)[] | ({
11679
+ pattern?: string
11680
+ flags?: string
11681
+ } | string)) | {
11682
+ block?: (boolean | (({
11683
+ pattern?: string
11684
+ flags?: string
11685
+ } | string)[] | ({
11686
+ pattern?: string
11687
+ flags?: string
11688
+ } | string)))
11689
+ line?: (boolean | (({
11690
+ pattern?: string
11691
+ flags?: string
11692
+ } | string)[] | ({
11693
+ pattern?: string
11694
+ flags?: string
11695
+ } | string)))
10740
11696
  })
10741
11697
 
10742
11698
  partitionByNewLine?: boolean
10743
-
10744
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10745
11699
  }]
10746
11700
  // ----- prefer-arrow-callback -----
10747
11701
  type PreferArrowCallback = []|[{
@@ -12102,7 +13056,7 @@ type StyleQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent
12102
13056
  // ----- style/quotes -----
12103
13057
  type StyleQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
12104
13058
  avoidEscape?: boolean
12105
- allowTemplateLiterals?: boolean
13059
+ allowTemplateLiterals?: (boolean | ("never" | "avoidEscape" | "always"))
12106
13060
  ignoreStringLiterals?: boolean
12107
13061
  })]
12108
13062
  // ----- style/rest-spread-spacing -----
@@ -12284,6 +13238,10 @@ type TestPreferSnapshotHint = []|[("always" | "multi")]
12284
13238
  type TestRequireHook = []|[{
12285
13239
  allowedFunctionCalls?: string[]
12286
13240
  }]
13241
+ // ----- test/require-mock-type-parameters -----
13242
+ type TestRequireMockTypeParameters = []|[{
13243
+ checkImportFunctions?: boolean
13244
+ }]
12287
13245
  // ----- test/require-top-level-describe -----
12288
13246
  type TestRequireTopLevelDescribe = []|[{
12289
13247
  maxNumberOfTopLevelDescribes?: number
@@ -12559,6 +13517,8 @@ type TsExplicitModuleBoundaryTypes = []|[{
12559
13517
 
12560
13518
  allowHigherOrderFunctions?: boolean
12561
13519
 
13520
+ allowOverloadFunctions?: boolean
13521
+
12562
13522
  allowTypedFunctionExpressions?: boolean
12563
13523
  }]
12564
13524
  // ----- ts/init-declarations -----
@@ -13225,11 +14185,13 @@ type TsNoUnnecessaryBooleanLiteralCompare = []|[{
13225
14185
  allowComparingNullableBooleansToFalse?: boolean
13226
14186
 
13227
14187
  allowComparingNullableBooleansToTrue?: boolean
14188
+
14189
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
13228
14190
  }]
13229
14191
  // ----- ts/no-unnecessary-condition -----
13230
14192
  type TsNoUnnecessaryCondition = []|[{
13231
14193
 
13232
- allowConstantLoopConditions?: boolean
14194
+ allowConstantLoopConditions?: (boolean | ("always" | "never" | "only-allowed-literals"))
13233
14195
 
13234
14196
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
13235
14197
 
@@ -13588,6 +14550,8 @@ type TsUnboundMethod = []|[{
13588
14550
  type TsUnifiedSignatures = []|[{
13589
14551
 
13590
14552
  ignoreDifferentlyNamedParameters?: boolean
14553
+
14554
+ ignoreOverloadsWithDifferentJSDoc?: boolean
13591
14555
  }]
13592
14556
  // ----- unicode-bom -----
13593
14557
  type UnicodeBom = []|[("always" | "never")]
@@ -13866,7 +14830,6 @@ type VueArrayElementNewline = []|[(_VueArrayElementNewlineBasicConfig | {
13866
14830
  ArrayPattern?: _VueArrayElementNewlineBasicConfig
13867
14831
  })]
13868
14832
  type _VueArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
13869
- consistent?: boolean
13870
14833
  multiline?: boolean
13871
14834
  minItems?: (number | null)
13872
14835
  })
@@ -13935,14 +14898,9 @@ type VueCommaDangle = []|[(_VueCommaDangleValue | {
13935
14898
  imports?: _VueCommaDangleValueWithIgnore
13936
14899
  exports?: _VueCommaDangleValueWithIgnore
13937
14900
  functions?: _VueCommaDangleValueWithIgnore
13938
- importAttributes?: _VueCommaDangleValueWithIgnore
13939
- dynamicImports?: _VueCommaDangleValueWithIgnore
13940
- enums?: _VueCommaDangleValueWithIgnore
13941
- generics?: _VueCommaDangleValueWithIgnore
13942
- tuples?: _VueCommaDangleValueWithIgnore
13943
14901
  })]
13944
14902
  type _VueCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
13945
- type _VueCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore")
14903
+ type _VueCommaDangleValueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline")
13946
14904
  // ----- vue/comma-spacing -----
13947
14905
  type VueCommaSpacing = []|[{
13948
14906
  before?: boolean
@@ -13970,16 +14928,10 @@ type VueComponentNameInTemplateCasing = []|[("PascalCase" | "kebab-case")]|[("Pa
13970
14928
  }]
13971
14929
  // ----- vue/component-options-name-casing -----
13972
14930
  type VueComponentOptionsNameCasing = []|[("camelCase" | "kebab-case" | "PascalCase")]
13973
- // ----- vue/component-tags-order -----
13974
- type VueComponentTagsOrder = []|[{
13975
- order?: (string | string[])[]
13976
- }]
13977
14931
  // ----- vue/custom-event-name-casing -----
13978
- type VueCustomEventNameCasing = ([]|[("kebab-case" | "camelCase")]|[("kebab-case" | "camelCase"), {
14932
+ type VueCustomEventNameCasing = []|[("kebab-case" | "camelCase")]|[("kebab-case" | "camelCase"), {
13979
14933
  ignores?: string[]
13980
- }] | []|[{
13981
- ignores?: string[]
13982
- }])
14934
+ }]
13983
14935
  // ----- vue/define-emits-declaration -----
13984
14936
  type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
13985
14937
  // ----- vue/define-macros-order -----
@@ -14013,10 +14965,6 @@ type VueFirstAttributeLinebreak = []|[{
14013
14965
  // ----- vue/func-call-spacing -----
14014
14966
  type VueFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
14015
14967
  allowNewlines?: boolean
14016
- optionalChain?: {
14017
- before?: boolean
14018
- after?: boolean
14019
- }
14020
14968
  }])
14021
14969
  // ----- vue/html-button-has-type -----
14022
14970
  type VueHtmlButtonHasType = []|[{
@@ -14098,7 +15046,6 @@ type VueKeySpacing = []|[({
14098
15046
  mode?: ("strict" | "minimum")
14099
15047
  beforeColon?: boolean
14100
15048
  afterColon?: boolean
14101
- ignoredNodes?: ("ObjectExpression" | "ObjectPattern" | "ImportDeclaration" | "ExportNamedDeclaration" | "ExportAllDeclaration" | "TSTypeLiteral" | "TSInterfaceBody" | "ClassBody")[]
14102
15049
  } | {
14103
15050
  singleLine?: {
14104
15051
  mode?: ("strict" | "minimum")
@@ -14335,10 +15282,6 @@ type VueKeywordSpacing = []|[{
14335
15282
  before?: boolean
14336
15283
  after?: boolean
14337
15284
  }
14338
- satisfies?: {
14339
- before?: boolean
14340
- after?: boolean
14341
- }
14342
15285
  set?: {
14343
15286
  before?: boolean
14344
15287
  after?: boolean
@@ -14415,10 +15358,6 @@ type VueKeywordSpacing = []|[{
14415
15358
  before?: boolean
14416
15359
  after?: boolean
14417
15360
  }
14418
- type?: {
14419
- before?: boolean
14420
- after?: boolean
14421
- }
14422
15361
  }
14423
15362
  }]
14424
15363
  // ----- vue/match-component-file-name -----
@@ -14547,10 +15486,7 @@ type VueMultilineHtmlElementContentNewline = []|[{
14547
15486
  allowEmptyLines?: boolean
14548
15487
  }]
14549
15488
  // ----- vue/multiline-ternary -----
14550
- type VueMultilineTernary = []|[("always" | "always-multiline" | "never")]|[("always" | "always-multiline" | "never"), {
14551
- ignoreJSX?: boolean
14552
- [k: string]: unknown | undefined
14553
- }]
15489
+ type VueMultilineTernary = []|[("always" | "always-multiline" | "never")]
14554
15490
  // ----- vue/mustache-interpolation-spacing -----
14555
15491
  type VueMustacheInterpolationSpacing = []|[("always" | "never")]
14556
15492
  // ----- vue/new-line-between-multi-line-property -----
@@ -14625,8 +15561,15 @@ type VueNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
14625
15561
  enforceForNewInMemberExpressions?: boolean
14626
15562
  enforceForFunctionPrototypeMethods?: boolean
14627
15563
  allowParensAfterCommentPattern?: string
14628
- nestedConditionalExpressions?: boolean
14629
15564
  }])
15565
+ // ----- vue/no-implicit-coercion -----
15566
+ type VueNoImplicitCoercion = []|[{
15567
+ boolean?: boolean
15568
+ number?: boolean
15569
+ string?: boolean
15570
+ disallowTemplateShorthand?: boolean
15571
+ allow?: ("~" | "!!" | "+" | "- -" | "-" | "*")[]
15572
+ }]
14630
15573
  // ----- vue/no-irregular-whitespace -----
14631
15574
  type VueNoIrregularWhitespace = []|[{
14632
15575
  skipComments?: boolean
@@ -14868,16 +15811,6 @@ type VueObjectCurlyNewline = []|[((("always" | "never") | {
14868
15811
  minProperties?: number
14869
15812
  consistent?: boolean
14870
15813
  })
14871
- TSTypeLiteral?: (("always" | "never") | {
14872
- multiline?: boolean
14873
- minProperties?: number
14874
- consistent?: boolean
14875
- })
14876
- TSInterfaceBody?: (("always" | "never") | {
14877
- multiline?: boolean
14878
- minProperties?: number
14879
- consistent?: boolean
14880
- })
14881
15814
  })]
14882
15815
  // ----- vue/object-curly-spacing -----
14883
15816
  type VueObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
@@ -14899,7 +15832,7 @@ type VueObjectShorthand = ([]|[("always" | "methods" | "properties" | "never" |
14899
15832
  avoidExplicitReturnArrows?: boolean
14900
15833
  }])
14901
15834
  // ----- vue/operator-linebreak -----
14902
- type VueOperatorLinebreak = []|[(("after" | "before" | "none") | null)]|[(("after" | "before" | "none") | null), {
15835
+ type VueOperatorLinebreak = []|[("after" | "before" | "none" | null)]|[("after" | "before" | "none" | null), {
14903
15836
  overrides?: {
14904
15837
  [k: string]: ("after" | "before" | "none" | "ignore") | undefined
14905
15838
  }
@@ -14928,9 +15861,13 @@ type VuePaddingLinesInComponentDefinition = []|[(("always" | "never") | {
14928
15861
  groupSingleLineProperties?: boolean
14929
15862
  })]
14930
15863
  // ----- vue/prefer-true-attribute-shorthand -----
14931
- type VuePreferTrueAttributeShorthand = []|[("always" | "never")]
15864
+ type VuePreferTrueAttributeShorthand = []|[("always" | "never")]|[("always" | "never"), {
15865
+ except?: string[]
15866
+ }]
14932
15867
  // ----- vue/prop-name-casing -----
14933
- type VuePropNameCasing = []|[("camelCase" | "snake_case")]
15868
+ type VuePropNameCasing = []|[("camelCase" | "snake_case")]|[("camelCase" | "snake_case"), {
15869
+ ignoreProps?: string[]
15870
+ }]
14934
15871
  // ----- vue/quote-props -----
14935
15872
  type VueQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
14936
15873
  keywords?: boolean
@@ -14995,7 +15932,6 @@ type VueSortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
14995
15932
  ignoreGrandchildrenOf?: unknown[]
14996
15933
  minKeys?: number
14997
15934
  natural?: boolean
14998
- runOutsideVue?: boolean
14999
15935
  }]
15000
15936
  // ----- vue/space-in-parens -----
15001
15937
  type VueSpaceInParens = []|[("always" | "never")]|[("always" | "never"), {
@@ -15033,10 +15969,6 @@ type VueVOnEventHyphenation = []|[("always" | "never")]|[("always" | "never"), {
15033
15969
  })[]
15034
15970
  ignoreTags?: string[]
15035
15971
  }]
15036
- // ----- vue/v-on-function-call -----
15037
- type VueVOnFunctionCall = []|[("always" | "never")]|[("always" | "never"), {
15038
- ignoreIncludesComment?: boolean
15039
- }]
15040
15972
  // ----- vue/v-on-handler-style -----
15041
15973
  type VueVOnHandlerStyle = []|[(("inline" | "inline-function") | ["method", ("inline" | "inline-function")])]|[(("inline" | "inline-function") | ["method", ("inline" | "inline-function")]), {
15042
15974
  ignoreIncludesComment?: boolean
@@ -15279,7 +16211,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
15279
16211
  onlyEquality?: boolean
15280
16212
  }]
15281
16213
  // Names of all the configs
15282
- type ConfigNames = 'eslint/comments/rules' | 'eslint/formatter/setup' | 'eslint/formatter/html' | 'eslint/formatter/xml' | 'eslint/formatter/svg' | 'eslint/formatter/markdown' | 'eslint/formatter/graphql' | 'eslint/imports/rules' | 'eslint/javascript/setup' | 'eslint/javascript/rules' | 'eslint/jsdoc/rules' | 'eslint/jsonc/setup' | 'eslint/jsonc/rules' | 'eslint/markdown/setup' | 'eslint/markdown/processor' | 'eslint/markdown/parser' | 'eslint/markdown/disables' | 'eslint/node/rules' | 'eslint/perfectionist/setup' | 'eslint/react/setup' | 'eslint/react/rules' | 'eslint/regexp/rules' | 'eslint/sort/package-json' | 'eslint/stylistic/rules' | 'eslint/test/setup' | 'eslint/test/rules' | 'eslint/toml/setup' | 'eslint/toml/rules' | 'eslint/typescript/setup' | 'eslint/typescript/parser' | 'eslint/typescript/rules' | 'eslint/unicorn/rules' | 'eslint/unocss/rules' | 'eslint/vue/setup' | 'eslint/vue/rules' | 'eslint/yaml/setup' | 'eslint/yaml/rules'
16214
+ type ConfigNames = 'eslint/comments/rules' | 'eslint/formatter/setup' | 'eslint/formatter/html' | 'eslint/formatter/xml' | 'eslint/formatter/svg' | 'eslint/formatter/markdown' | 'eslint/formatter/graphql' | 'eslint/imports/rules' | 'eslint/javascript/setup' | 'eslint/javascript/rules' | 'eslint/jsdoc/rules' | 'eslint/jsonc/setup' | 'eslint/jsonc/rules' | 'eslint/markdown/setup' | 'eslint/markdown/processor' | 'eslint/markdown/parser' | 'eslint/markdown/disables' | 'eslint/node/rules' | 'eslint/perfectionist/setup' | 'eslint/react/setup' | 'eslint/react/rules' | 'eslint/regexp/rules' | 'eslint/sort/package-json' | 'eslint/stylistic/rules' | 'eslint/test/setup' | 'eslint/test/rules' | 'eslint/toml/setup' | 'eslint/toml/rules' | 'eslint/typescript/setup' | 'eslint/typescript/parser' | 'eslint/typescript/rules' | 'eslint/unicorn/rules' | 'eslint/unocss/rules' | 'eslint/vue/setup' | 'eslint/vue/rules' | 'eslint/yaml/setup' | 'eslint/yaml/rules' | 'eslint/yaml/pnpm-workspace'
15283
16215
 
15284
16216
  /**
15285
16217
  * 来自 Prettier 的供应商类型,因此不依赖依赖项
@@ -15686,6 +16618,17 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
15686
16618
  * @default false
15687
16619
  */
15688
16620
  unocss?: boolean | OptionsUnoCSS;
16621
+ /**
16622
+ * 启用 pnpm(工作区/目录)支持.
16623
+ *
16624
+ * 目前它默认是禁用的,因为它仍处于实验阶段
16625
+ * 将来会根据项目使用情况智能启用
16626
+ *
16627
+ * @see https://github.com/antfu/pnpm-workspace-utils
16628
+ * @experimental
16629
+ * @default false
16630
+ */
16631
+ pnpm?: boolean;
15689
16632
  /**
15690
16633
  * 使用外部格式化程序格式化文件.
15691
16634
  *
@@ -15797,6 +16740,8 @@ declare function node(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]
15797
16740
  */
15798
16741
  declare function perfectionist(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
15799
16742
 
16743
+ declare function pnpm(): Promise<TypedFlatConfigItem[]>;
16744
+
15800
16745
  declare function react(options?: OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes & OptionsOverrides & OptionsFiles): Promise<TypedFlatConfigItem[]>;
15801
16746
 
15802
16747
  declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
@@ -15902,4 +16847,4 @@ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>
15902
16847
  declare function isInEditorEnv(): boolean;
15903
16848
  declare function isInGitHooksOrLintStaged(): boolean;
15904
16849
 
15905
- export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsUnoCSS, type OptionsVue, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, lincy, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
16850
+ export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsUnoCSS, type OptionsVue, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, lincy, markdown, node, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };