@kitschpatrol/eslint-config 5.2.0 → 5.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/cli.js CHANGED
@@ -5552,7 +5552,7 @@ var Yargs = YargsFactory(esm_default);
5552
5552
  var yargs_default = Yargs;
5553
5553
 
5554
5554
  // ../../package.json
5555
- var version = "5.2.0";
5555
+ var version = "5.3.1";
5556
5556
 
5557
5557
  // ../../src/execa-utilities.ts
5558
5558
  function isErrorExecaError(error) {
package/dist/index.d.ts CHANGED
@@ -3473,22 +3473,22 @@ interface RuleOptions {
3473
3473
  */
3474
3474
  'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
3475
3475
  /**
3476
- * disallow using 'componentWillMount'
3476
+ * replace 'componentWillMount' with 'UNSAFE_componentWillMount'
3477
3477
  * @see https://eslint-react.xyz/docs/rules/no-component-will-mount
3478
3478
  */
3479
3479
  'react/no-component-will-mount'?: Linter.RuleEntry<[]>
3480
3480
  /**
3481
- * disallow using 'componentWillReceiveProps'
3481
+ * replace 'componentWillReceiveProps' with 'UNSAFE_componentWillReceiveProps'
3482
3482
  * @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
3483
3483
  */
3484
3484
  'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
3485
3485
  /**
3486
- * disallow using 'componentWillReceiveProps'
3486
+ * replace 'componentWillUpdate' with 'UNSAFE_componentWillUpdate'
3487
3487
  * @see https://eslint-react.xyz/docs/rules/no-component-will-update
3488
3488
  */
3489
3489
  'react/no-component-will-update'?: Linter.RuleEntry<[]>
3490
3490
  /**
3491
- * disallow the use of '<Context.Provider>'
3491
+ * replace '<Context.Provider>' with '<Context>'
3492
3492
  * @see https://eslint-react.xyz/docs/rules/no-context-provider
3493
3493
  */
3494
3494
  'react/no-context-provider'?: Linter.RuleEntry<[]>
@@ -3518,7 +3518,7 @@ interface RuleOptions {
3518
3518
  */
3519
3519
  'react/no-duplicate-key'?: Linter.RuleEntry<[]>
3520
3520
  /**
3521
- * disallow the use of 'forwardRef'
3521
+ * replace 'forwardRef' with passing 'ref' as a prop
3522
3522
  * @see https://eslint-react.xyz/docs/rules/no-forward-ref
3523
3523
  */
3524
3524
  'react/no-forward-ref'?: Linter.RuleEntry<[]>
@@ -3618,7 +3618,7 @@ interface RuleOptions {
3618
3618
  */
3619
3619
  'react/no-unused-state'?: Linter.RuleEntry<[]>
3620
3620
  /**
3621
- * disallow the use of 'useContext'
3621
+ * replace 'useContext' with 'use'
3622
3622
  * @see https://eslint-react.xyz/docs/rules/no-use-context
3623
3623
  */
3624
3624
  'react/no-use-context'?: Linter.RuleEntry<[]>
@@ -3643,12 +3643,12 @@ interface RuleOptions {
3643
3643
  */
3644
3644
  'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
3645
3645
  /**
3646
- * enforce using shorthand boolean attributes
3646
+ * enforce the use of shorthand syntax for boolean attributes
3647
3647
  * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
3648
3648
  */
3649
3649
  'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
3650
3650
  /**
3651
- * enforce using fragment syntax instead of 'Fragment' component
3651
+ * enforce the use of shorthand syntax for fragments
3652
3652
  * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
3653
3653
  */
3654
3654
  'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
@@ -11267,23 +11267,7 @@ type NodeNoSync =
11267
11267
  | [
11268
11268
  {
11269
11269
  allowAtRootLevel?: boolean
11270
- ignores?: (
11271
- | string
11272
- | {
11273
- from?: 'file'
11274
- path?: string
11275
- name?: string[]
11276
- }
11277
- | {
11278
- from?: 'lib'
11279
- name?: string[]
11280
- }
11281
- | {
11282
- from?: 'package'
11283
- package?: string
11284
- name?: string[]
11285
- }
11286
- )[]
11270
+ ignores?: string[]
11287
11271
  },
11288
11272
  ]
11289
11273
  // ----- node/no-unpublished-bin -----
@@ -14090,8 +14074,6 @@ type PaddingLineBetweenStatements = {
14090
14074
  }[]
14091
14075
  // ----- perfectionist/sort-array-includes -----
14092
14076
  type PerfectionistSortArrayIncludes = {
14093
- specialCharacters?: 'remove' | 'trim' | 'keep'
14094
-
14095
14077
  fallbackSort?: {
14096
14078
  order?: 'asc' | 'desc'
14097
14079
 
@@ -14099,6 +14081,8 @@ type PerfectionistSortArrayIncludes = {
14099
14081
  [k: string]: unknown | undefined
14100
14082
  }
14101
14083
 
14084
+ specialCharacters?: 'remove' | 'trim' | 'keep'
14085
+
14102
14086
  ignoreCase?: boolean
14103
14087
 
14104
14088
  alphabet?: string
@@ -14113,13 +14097,20 @@ type PerfectionistSortArrayIncludes = {
14113
14097
 
14114
14098
  customGroups?: (
14115
14099
  | {
14116
- groupName?: string
14100
+ newlinesInside?: 'always' | 'never'
14117
14101
 
14118
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
14102
+ fallbackSort?: {
14103
+ order?: 'asc' | 'desc'
14119
14104
 
14120
- order?: 'desc' | 'asc'
14105
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14106
+ [k: string]: unknown | undefined
14107
+ }
14121
14108
 
14122
- newlinesInside?: 'always' | 'never'
14109
+ groupName?: string
14110
+
14111
+ order?: 'asc' | 'desc'
14112
+
14113
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14123
14114
  anyOf?: {
14124
14115
  selector?: 'literal' | 'spread'
14125
14116
 
@@ -14141,13 +14132,20 @@ type PerfectionistSortArrayIncludes = {
14141
14132
  }[]
14142
14133
  }
14143
14134
  | {
14144
- groupName?: string
14135
+ newlinesInside?: 'always' | 'never'
14136
+
14137
+ fallbackSort?: {
14138
+ order?: 'asc' | 'desc'
14139
+
14140
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14141
+ [k: string]: unknown | undefined
14142
+ }
14145
14143
 
14146
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
14144
+ groupName?: string
14147
14145
 
14148
- order?: 'desc' | 'asc'
14146
+ order?: 'asc' | 'desc'
14149
14147
 
14150
- newlinesInside?: 'always' | 'never'
14148
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14151
14149
 
14152
14150
  selector?: 'literal' | 'spread'
14153
14151
 
@@ -14260,8 +14258,6 @@ type PerfectionistSortClasses =
14260
14258
  | []
14261
14259
  | [
14262
14260
  {
14263
- specialCharacters?: 'remove' | 'trim' | 'keep'
14264
-
14265
14261
  fallbackSort?: {
14266
14262
  order?: 'asc' | 'desc'
14267
14263
 
@@ -14269,6 +14265,8 @@ type PerfectionistSortClasses =
14269
14265
  [k: string]: unknown | undefined
14270
14266
  }
14271
14267
 
14268
+ specialCharacters?: 'remove' | 'trim' | 'keep'
14269
+
14272
14270
  ignoreCase?: boolean
14273
14271
 
14274
14272
  alphabet?: string
@@ -14281,13 +14279,20 @@ type PerfectionistSortClasses =
14281
14279
 
14282
14280
  customGroups?: (
14283
14281
  | {
14284
- groupName?: string
14282
+ newlinesInside?: 'always' | 'never'
14285
14283
 
14286
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
14284
+ fallbackSort?: {
14285
+ order?: 'asc' | 'desc'
14287
14286
 
14288
- order?: 'desc' | 'asc'
14287
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14288
+ [k: string]: unknown | undefined
14289
+ }
14289
14290
 
14290
- newlinesInside?: 'always' | 'never'
14291
+ groupName?: string
14292
+
14293
+ order?: 'asc' | 'desc'
14294
+
14295
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14291
14296
  anyOf?: {
14292
14297
  modifiers?: (
14293
14298
  | 'async'
@@ -14364,13 +14369,20 @@ type PerfectionistSortClasses =
14364
14369
  }[]
14365
14370
  }
14366
14371
  | {
14367
- groupName?: string
14372
+ newlinesInside?: 'always' | 'never'
14368
14373
 
14369
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
14374
+ fallbackSort?: {
14375
+ order?: 'asc' | 'desc'
14370
14376
 
14371
- order?: 'desc' | 'asc'
14377
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14378
+ [k: string]: unknown | undefined
14379
+ }
14372
14380
 
14373
- newlinesInside?: 'always' | 'never'
14381
+ groupName?: string
14382
+
14383
+ order?: 'asc' | 'desc'
14384
+
14385
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14374
14386
 
14375
14387
  modifiers?: (
14376
14388
  | 'async'
@@ -14538,8 +14550,6 @@ type PerfectionistSortDecorators =
14538
14550
  | []
14539
14551
  | [
14540
14552
  {
14541
- specialCharacters?: 'remove' | 'trim' | 'keep'
14542
-
14543
14553
  fallbackSort?: {
14544
14554
  order?: 'asc' | 'desc'
14545
14555
 
@@ -14547,6 +14557,8 @@ type PerfectionistSortDecorators =
14547
14557
  [k: string]: unknown | undefined
14548
14558
  }
14549
14559
 
14560
+ specialCharacters?: 'remove' | 'trim' | 'keep'
14561
+
14550
14562
  ignoreCase?: boolean
14551
14563
 
14552
14564
  alphabet?: string
@@ -14642,8 +14654,6 @@ type PerfectionistSortEnums =
14642
14654
  | []
14643
14655
  | [
14644
14656
  {
14645
- specialCharacters?: 'remove' | 'trim' | 'keep'
14646
-
14647
14657
  fallbackSort?: {
14648
14658
  order?: 'asc' | 'desc'
14649
14659
 
@@ -14651,6 +14661,8 @@ type PerfectionistSortEnums =
14651
14661
  [k: string]: unknown | undefined
14652
14662
  }
14653
14663
 
14664
+ specialCharacters?: 'remove' | 'trim' | 'keep'
14665
+
14654
14666
  ignoreCase?: boolean
14655
14667
 
14656
14668
  alphabet?: string
@@ -14668,13 +14680,20 @@ type PerfectionistSortEnums =
14668
14680
  }
14669
14681
  | (
14670
14682
  | {
14671
- groupName?: string
14683
+ newlinesInside?: 'always' | 'never'
14672
14684
 
14673
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
14685
+ fallbackSort?: {
14686
+ order?: 'asc' | 'desc'
14674
14687
 
14675
- order?: 'desc' | 'asc'
14688
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14689
+ [k: string]: unknown | undefined
14690
+ }
14676
14691
 
14677
- newlinesInside?: 'always' | 'never'
14692
+ groupName?: string
14693
+
14694
+ order?: 'asc' | 'desc'
14695
+
14696
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14678
14697
  anyOf?: {
14679
14698
  elementValuePattern?:
14680
14699
  | (
@@ -14710,13 +14729,20 @@ type PerfectionistSortEnums =
14710
14729
  }[]
14711
14730
  }
14712
14731
  | {
14713
- groupName?: string
14732
+ newlinesInside?: 'always' | 'never'
14714
14733
 
14715
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
14734
+ fallbackSort?: {
14735
+ order?: 'asc' | 'desc'
14716
14736
 
14717
- order?: 'desc' | 'asc'
14737
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14738
+ [k: string]: unknown | undefined
14739
+ }
14718
14740
 
14719
- newlinesInside?: 'always' | 'never'
14741
+ groupName?: string
14742
+
14743
+ order?: 'asc' | 'desc'
14744
+
14745
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14720
14746
 
14721
14747
  elementValuePattern?:
14722
14748
  | (
@@ -14829,8 +14855,6 @@ type PerfectionistSortExports =
14829
14855
  | []
14830
14856
  | [
14831
14857
  {
14832
- specialCharacters?: 'remove' | 'trim' | 'keep'
14833
-
14834
14858
  fallbackSort?: {
14835
14859
  order?: 'asc' | 'desc'
14836
14860
 
@@ -14838,6 +14862,8 @@ type PerfectionistSortExports =
14838
14862
  [k: string]: unknown | undefined
14839
14863
  }
14840
14864
 
14865
+ specialCharacters?: 'remove' | 'trim' | 'keep'
14866
+
14841
14867
  ignoreCase?: boolean
14842
14868
 
14843
14869
  alphabet?: string
@@ -14915,8 +14941,6 @@ type PerfectionistSortHeritageClauses =
14915
14941
  | []
14916
14942
  | [
14917
14943
  {
14918
- specialCharacters?: 'remove' | 'trim' | 'keep'
14919
-
14920
14944
  fallbackSort?: {
14921
14945
  order?: 'asc' | 'desc'
14922
14946
 
@@ -14924,6 +14948,8 @@ type PerfectionistSortHeritageClauses =
14924
14948
  [k: string]: unknown | undefined
14925
14949
  }
14926
14950
 
14951
+ specialCharacters?: 'remove' | 'trim' | 'keep'
14952
+
14927
14953
  ignoreCase?: boolean
14928
14954
 
14929
14955
  alphabet?: string
@@ -14951,8 +14977,6 @@ type PerfectionistSortHeritageClauses =
14951
14977
  type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports]
14952
14978
  type _PerfectionistSortImportsSortImports =
14953
14979
  _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
14954
- specialCharacters?: 'remove' | 'trim' | 'keep'
14955
-
14956
14980
  fallbackSort?: {
14957
14981
  order?: 'asc' | 'desc'
14958
14982
 
@@ -14960,6 +14984,8 @@ type _PerfectionistSortImportsSortImports =
14960
14984
  [k: string]: unknown | undefined
14961
14985
  }
14962
14986
 
14987
+ specialCharacters?: 'remove' | 'trim' | 'keep'
14988
+
14963
14989
  ignoreCase?: boolean
14964
14990
 
14965
14991
  alphabet?: string
@@ -15084,8 +15110,6 @@ interface _PerfectionistSortImports_IsLineLength {
15084
15110
  }
15085
15111
  // ----- perfectionist/sort-interfaces -----
15086
15112
  type PerfectionistSortInterfaces = {
15087
- specialCharacters?: 'remove' | 'trim' | 'keep'
15088
-
15089
15113
  fallbackSort?: {
15090
15114
  order?: 'asc' | 'desc'
15091
15115
 
@@ -15093,6 +15117,8 @@ type PerfectionistSortInterfaces = {
15093
15117
  [k: string]: unknown | undefined
15094
15118
  }
15095
15119
 
15120
+ specialCharacters?: 'remove' | 'trim' | 'keep'
15121
+
15096
15122
  ignoreCase?: boolean
15097
15123
 
15098
15124
  alphabet?: string
@@ -15108,18 +15134,42 @@ type PerfectionistSortInterfaces = {
15108
15134
  }
15109
15135
  | (
15110
15136
  | {
15111
- groupName?: string
15137
+ newlinesInside?: 'always' | 'never'
15112
15138
 
15113
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
15139
+ fallbackSort?: {
15140
+ order?: 'asc' | 'desc'
15114
15141
 
15115
- order?: 'desc' | 'asc'
15142
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15143
+ sortBy?: 'name' | 'value'
15144
+ [k: string]: unknown | undefined
15145
+ }
15116
15146
 
15117
- newlinesInside?: 'always' | 'never'
15147
+ groupName?: string
15148
+
15149
+ order?: 'asc' | 'desc'
15150
+
15151
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15118
15152
  anyOf?: {
15119
15153
  modifiers?: ('optional' | 'required' | 'multiline')[]
15120
15154
 
15121
15155
  selector?: 'index-signature' | 'member' | 'method' | 'multiline' | 'property'
15122
15156
 
15157
+ elementValuePattern?:
15158
+ | (
15159
+ | {
15160
+ pattern?: string
15161
+ flags?: string
15162
+ }
15163
+ | string
15164
+ )[]
15165
+ | (
15166
+ | {
15167
+ pattern?: string
15168
+ flags?: string
15169
+ }
15170
+ | string
15171
+ )
15172
+
15123
15173
  elementNamePattern?:
15124
15174
  | (
15125
15175
  | {
@@ -15135,21 +15185,46 @@ type PerfectionistSortInterfaces = {
15135
15185
  }
15136
15186
  | string
15137
15187
  )
15188
+ sortBy?: 'name' | 'value'
15138
15189
  }[]
15139
15190
  }
15140
15191
  | {
15141
- groupName?: string
15192
+ newlinesInside?: 'always' | 'never'
15142
15193
 
15143
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
15194
+ fallbackSort?: {
15195
+ order?: 'asc' | 'desc'
15144
15196
 
15145
- order?: 'desc' | 'asc'
15197
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15198
+ sortBy?: 'name' | 'value'
15199
+ [k: string]: unknown | undefined
15200
+ }
15146
15201
 
15147
- newlinesInside?: 'always' | 'never'
15202
+ groupName?: string
15203
+
15204
+ order?: 'asc' | 'desc'
15205
+
15206
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15148
15207
 
15149
15208
  modifiers?: ('optional' | 'required' | 'multiline')[]
15150
15209
 
15151
15210
  selector?: 'index-signature' | 'member' | 'method' | 'multiline' | 'property'
15152
15211
 
15212
+ elementValuePattern?:
15213
+ | (
15214
+ | {
15215
+ pattern?: string
15216
+ flags?: string
15217
+ }
15218
+ | string
15219
+ )[]
15220
+ | (
15221
+ | {
15222
+ pattern?: string
15223
+ flags?: string
15224
+ }
15225
+ | string
15226
+ )
15227
+
15153
15228
  elementNamePattern?:
15154
15229
  | (
15155
15230
  | {
@@ -15165,6 +15240,7 @@ type PerfectionistSortInterfaces = {
15165
15240
  }
15166
15241
  | string
15167
15242
  )
15243
+ sortBy?: 'name' | 'value'
15168
15244
  }
15169
15245
  )[]
15170
15246
  useConfigurationIf?: {
@@ -15279,6 +15355,7 @@ type PerfectionistSortInterfaces = {
15279
15355
  }
15280
15356
  | string
15281
15357
  )
15358
+ sortBy?: 'name' | 'value'
15282
15359
 
15283
15360
  groups?: (
15284
15361
  | string
@@ -15293,8 +15370,6 @@ type PerfectionistSortIntersectionTypes =
15293
15370
  | []
15294
15371
  | [
15295
15372
  {
15296
- specialCharacters?: 'remove' | 'trim' | 'keep'
15297
-
15298
15373
  fallbackSort?: {
15299
15374
  order?: 'asc' | 'desc'
15300
15375
 
@@ -15302,6 +15377,8 @@ type PerfectionistSortIntersectionTypes =
15302
15377
  [k: string]: unknown | undefined
15303
15378
  }
15304
15379
 
15380
+ specialCharacters?: 'remove' | 'trim' | 'keep'
15381
+
15305
15382
  ignoreCase?: boolean
15306
15383
 
15307
15384
  alphabet?: string
@@ -15384,8 +15461,6 @@ type PerfectionistSortIntersectionTypes =
15384
15461
  ]
15385
15462
  // ----- perfectionist/sort-jsx-props -----
15386
15463
  type PerfectionistSortJsxProps = {
15387
- specialCharacters?: 'remove' | 'trim' | 'keep'
15388
-
15389
15464
  fallbackSort?: {
15390
15465
  order?: 'asc' | 'desc'
15391
15466
 
@@ -15393,6 +15468,8 @@ type PerfectionistSortJsxProps = {
15393
15468
  [k: string]: unknown | undefined
15394
15469
  }
15395
15470
 
15471
+ specialCharacters?: 'remove' | 'trim' | 'keep'
15472
+
15396
15473
  ignoreCase?: boolean
15397
15474
 
15398
15475
  alphabet?: string
@@ -15470,8 +15547,6 @@ type PerfectionistSortJsxProps = {
15470
15547
  }[]
15471
15548
  // ----- perfectionist/sort-maps -----
15472
15549
  type PerfectionistSortMaps = {
15473
- specialCharacters?: 'remove' | 'trim' | 'keep'
15474
-
15475
15550
  fallbackSort?: {
15476
15551
  order?: 'asc' | 'desc'
15477
15552
 
@@ -15479,6 +15554,8 @@ type PerfectionistSortMaps = {
15479
15554
  [k: string]: unknown | undefined
15480
15555
  }
15481
15556
 
15557
+ specialCharacters?: 'remove' | 'trim' | 'keep'
15558
+
15482
15559
  ignoreCase?: boolean
15483
15560
 
15484
15561
  alphabet?: string
@@ -15491,13 +15568,20 @@ type PerfectionistSortMaps = {
15491
15568
 
15492
15569
  customGroups?: (
15493
15570
  | {
15494
- groupName?: string
15571
+ newlinesInside?: 'always' | 'never'
15495
15572
 
15496
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
15573
+ fallbackSort?: {
15574
+ order?: 'asc' | 'desc'
15497
15575
 
15498
- order?: 'desc' | 'asc'
15576
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15577
+ [k: string]: unknown | undefined
15578
+ }
15499
15579
 
15500
- newlinesInside?: 'always' | 'never'
15580
+ groupName?: string
15581
+
15582
+ order?: 'asc' | 'desc'
15583
+
15584
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15501
15585
  anyOf?: {
15502
15586
  elementNamePattern?:
15503
15587
  | (
@@ -15517,13 +15601,20 @@ type PerfectionistSortMaps = {
15517
15601
  }[]
15518
15602
  }
15519
15603
  | {
15520
- groupName?: string
15604
+ newlinesInside?: 'always' | 'never'
15521
15605
 
15522
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
15606
+ fallbackSort?: {
15607
+ order?: 'asc' | 'desc'
15523
15608
 
15524
- order?: 'desc' | 'asc'
15609
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15610
+ [k: string]: unknown | undefined
15611
+ }
15525
15612
 
15526
- newlinesInside?: 'always' | 'never'
15613
+ groupName?: string
15614
+
15615
+ order?: 'asc' | 'desc'
15616
+
15617
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15527
15618
 
15528
15619
  elementNamePattern?:
15529
15620
  | (
@@ -15634,8 +15725,6 @@ type PerfectionistSortModules =
15634
15725
  | []
15635
15726
  | [
15636
15727
  {
15637
- specialCharacters?: 'remove' | 'trim' | 'keep'
15638
-
15639
15728
  fallbackSort?: {
15640
15729
  order?: 'asc' | 'desc'
15641
15730
 
@@ -15643,6 +15732,8 @@ type PerfectionistSortModules =
15643
15732
  [k: string]: unknown | undefined
15644
15733
  }
15645
15734
 
15735
+ specialCharacters?: 'remove' | 'trim' | 'keep'
15736
+
15646
15737
  ignoreCase?: boolean
15647
15738
 
15648
15739
  alphabet?: string
@@ -15655,13 +15746,20 @@ type PerfectionistSortModules =
15655
15746
 
15656
15747
  customGroups?: (
15657
15748
  | {
15658
- groupName?: string
15749
+ newlinesInside?: 'always' | 'never'
15659
15750
 
15660
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
15751
+ fallbackSort?: {
15752
+ order?: 'asc' | 'desc'
15661
15753
 
15662
- order?: 'desc' | 'asc'
15754
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15755
+ [k: string]: unknown | undefined
15756
+ }
15663
15757
 
15664
- newlinesInside?: 'always' | 'never'
15758
+ groupName?: string
15759
+
15760
+ order?: 'asc' | 'desc'
15761
+
15762
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15665
15763
  anyOf?: {
15666
15764
  modifiers?: ('async' | 'declare' | 'decorated' | 'default' | 'export')[]
15667
15765
 
@@ -15701,13 +15799,20 @@ type PerfectionistSortModules =
15701
15799
  }[]
15702
15800
  }
15703
15801
  | {
15704
- groupName?: string
15802
+ newlinesInside?: 'always' | 'never'
15705
15803
 
15706
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
15804
+ fallbackSort?: {
15805
+ order?: 'asc' | 'desc'
15707
15806
 
15708
- order?: 'desc' | 'asc'
15807
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15808
+ [k: string]: unknown | undefined
15809
+ }
15709
15810
 
15710
- newlinesInside?: 'always' | 'never'
15811
+ groupName?: string
15812
+
15813
+ order?: 'asc' | 'desc'
15814
+
15815
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15711
15816
 
15712
15817
  modifiers?: ('async' | 'declare' | 'decorated' | 'default' | 'export')[]
15713
15818
 
@@ -15822,8 +15927,6 @@ type PerfectionistSortNamedExports =
15822
15927
  | []
15823
15928
  | [
15824
15929
  {
15825
- specialCharacters?: 'remove' | 'trim' | 'keep'
15826
-
15827
15930
  fallbackSort?: {
15828
15931
  order?: 'asc' | 'desc'
15829
15932
 
@@ -15831,6 +15934,8 @@ type PerfectionistSortNamedExports =
15831
15934
  [k: string]: unknown | undefined
15832
15935
  }
15833
15936
 
15937
+ specialCharacters?: 'remove' | 'trim' | 'keep'
15938
+
15834
15939
  ignoreCase?: boolean
15835
15940
 
15836
15941
  alphabet?: string
@@ -15910,8 +16015,6 @@ type PerfectionistSortNamedImports =
15910
16015
  | []
15911
16016
  | [
15912
16017
  {
15913
- specialCharacters?: 'remove' | 'trim' | 'keep'
15914
-
15915
16018
  fallbackSort?: {
15916
16019
  order?: 'asc' | 'desc'
15917
16020
 
@@ -15919,6 +16022,8 @@ type PerfectionistSortNamedImports =
15919
16022
  [k: string]: unknown | undefined
15920
16023
  }
15921
16024
 
16025
+ specialCharacters?: 'remove' | 'trim' | 'keep'
16026
+
15922
16027
  ignoreCase?: boolean
15923
16028
 
15924
16029
  alphabet?: string
@@ -15995,8 +16100,6 @@ type PerfectionistSortNamedImports =
15995
16100
  ]
15996
16101
  // ----- perfectionist/sort-object-types -----
15997
16102
  type PerfectionistSortObjectTypes = {
15998
- specialCharacters?: 'remove' | 'trim' | 'keep'
15999
-
16000
16103
  fallbackSort?: {
16001
16104
  order?: 'asc' | 'desc'
16002
16105
 
@@ -16004,6 +16107,8 @@ type PerfectionistSortObjectTypes = {
16004
16107
  [k: string]: unknown | undefined
16005
16108
  }
16006
16109
 
16110
+ specialCharacters?: 'remove' | 'trim' | 'keep'
16111
+
16007
16112
  ignoreCase?: boolean
16008
16113
 
16009
16114
  alphabet?: string
@@ -16019,18 +16124,42 @@ type PerfectionistSortObjectTypes = {
16019
16124
  }
16020
16125
  | (
16021
16126
  | {
16022
- groupName?: string
16127
+ newlinesInside?: 'always' | 'never'
16023
16128
 
16024
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
16129
+ fallbackSort?: {
16130
+ order?: 'asc' | 'desc'
16025
16131
 
16026
- order?: 'desc' | 'asc'
16132
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16133
+ sortBy?: 'name' | 'value'
16134
+ [k: string]: unknown | undefined
16135
+ }
16027
16136
 
16028
- newlinesInside?: 'always' | 'never'
16137
+ groupName?: string
16138
+
16139
+ order?: 'asc' | 'desc'
16140
+
16141
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16029
16142
  anyOf?: {
16030
16143
  modifiers?: ('optional' | 'required' | 'multiline')[]
16031
16144
 
16032
16145
  selector?: 'index-signature' | 'member' | 'method' | 'multiline' | 'property'
16033
16146
 
16147
+ elementValuePattern?:
16148
+ | (
16149
+ | {
16150
+ pattern?: string
16151
+ flags?: string
16152
+ }
16153
+ | string
16154
+ )[]
16155
+ | (
16156
+ | {
16157
+ pattern?: string
16158
+ flags?: string
16159
+ }
16160
+ | string
16161
+ )
16162
+
16034
16163
  elementNamePattern?:
16035
16164
  | (
16036
16165
  | {
@@ -16046,21 +16175,46 @@ type PerfectionistSortObjectTypes = {
16046
16175
  }
16047
16176
  | string
16048
16177
  )
16178
+ sortBy?: 'name' | 'value'
16049
16179
  }[]
16050
16180
  }
16051
16181
  | {
16052
- groupName?: string
16182
+ newlinesInside?: 'always' | 'never'
16053
16183
 
16054
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
16184
+ fallbackSort?: {
16185
+ order?: 'asc' | 'desc'
16055
16186
 
16056
- order?: 'desc' | 'asc'
16187
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16188
+ sortBy?: 'name' | 'value'
16189
+ [k: string]: unknown | undefined
16190
+ }
16057
16191
 
16058
- newlinesInside?: 'always' | 'never'
16192
+ groupName?: string
16193
+
16194
+ order?: 'asc' | 'desc'
16195
+
16196
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16059
16197
 
16060
16198
  modifiers?: ('optional' | 'required' | 'multiline')[]
16061
16199
 
16062
16200
  selector?: 'index-signature' | 'member' | 'method' | 'multiline' | 'property'
16063
16201
 
16202
+ elementValuePattern?:
16203
+ | (
16204
+ | {
16205
+ pattern?: string
16206
+ flags?: string
16207
+ }
16208
+ | string
16209
+ )[]
16210
+ | (
16211
+ | {
16212
+ pattern?: string
16213
+ flags?: string
16214
+ }
16215
+ | string
16216
+ )
16217
+
16064
16218
  elementNamePattern?:
16065
16219
  | (
16066
16220
  | {
@@ -16076,6 +16230,7 @@ type PerfectionistSortObjectTypes = {
16076
16230
  }
16077
16231
  | string
16078
16232
  )
16233
+ sortBy?: 'name' | 'value'
16079
16234
  }
16080
16235
  )[]
16081
16236
  useConfigurationIf?: {
@@ -16190,6 +16345,7 @@ type PerfectionistSortObjectTypes = {
16190
16345
  }
16191
16346
  | string
16192
16347
  )
16348
+ sortBy?: 'name' | 'value'
16193
16349
 
16194
16350
  groups?: (
16195
16351
  | string
@@ -16201,8 +16357,6 @@ type PerfectionistSortObjectTypes = {
16201
16357
  }[]
16202
16358
  // ----- perfectionist/sort-objects -----
16203
16359
  type PerfectionistSortObjects = {
16204
- specialCharacters?: 'remove' | 'trim' | 'keep'
16205
-
16206
16360
  fallbackSort?: {
16207
16361
  order?: 'asc' | 'desc'
16208
16362
 
@@ -16210,6 +16364,8 @@ type PerfectionistSortObjects = {
16210
16364
  [k: string]: unknown | undefined
16211
16365
  }
16212
16366
 
16367
+ specialCharacters?: 'remove' | 'trim' | 'keep'
16368
+
16213
16369
  ignoreCase?: boolean
16214
16370
 
16215
16371
  alphabet?: string
@@ -16231,13 +16387,20 @@ type PerfectionistSortObjects = {
16231
16387
  }
16232
16388
  | (
16233
16389
  | {
16234
- groupName?: string
16390
+ newlinesInside?: 'always' | 'never'
16391
+
16392
+ fallbackSort?: {
16393
+ order?: 'asc' | 'desc'
16235
16394
 
16236
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
16395
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16396
+ [k: string]: unknown | undefined
16397
+ }
16237
16398
 
16238
- order?: 'desc' | 'asc'
16399
+ groupName?: string
16239
16400
 
16240
- newlinesInside?: 'always' | 'never'
16401
+ order?: 'asc' | 'desc'
16402
+
16403
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16241
16404
  anyOf?: {
16242
16405
  modifiers?: ('optional' | 'required' | 'multiline')[]
16243
16406
 
@@ -16277,13 +16440,20 @@ type PerfectionistSortObjects = {
16277
16440
  }[]
16278
16441
  }
16279
16442
  | {
16280
- groupName?: string
16443
+ newlinesInside?: 'always' | 'never'
16281
16444
 
16282
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
16445
+ fallbackSort?: {
16446
+ order?: 'asc' | 'desc'
16283
16447
 
16284
- order?: 'desc' | 'asc'
16448
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16449
+ [k: string]: unknown | undefined
16450
+ }
16285
16451
 
16286
- newlinesInside?: 'always' | 'never'
16452
+ groupName?: string
16453
+
16454
+ order?: 'asc' | 'desc'
16455
+
16456
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16287
16457
 
16288
16458
  modifiers?: ('optional' | 'required' | 'multiline')[]
16289
16459
 
@@ -16449,8 +16619,6 @@ type PerfectionistSortObjects = {
16449
16619
  }[]
16450
16620
  // ----- perfectionist/sort-sets -----
16451
16621
  type PerfectionistSortSets = {
16452
- specialCharacters?: 'remove' | 'trim' | 'keep'
16453
-
16454
16622
  fallbackSort?: {
16455
16623
  order?: 'asc' | 'desc'
16456
16624
 
@@ -16458,6 +16626,8 @@ type PerfectionistSortSets = {
16458
16626
  [k: string]: unknown | undefined
16459
16627
  }
16460
16628
 
16629
+ specialCharacters?: 'remove' | 'trim' | 'keep'
16630
+
16461
16631
  ignoreCase?: boolean
16462
16632
 
16463
16633
  alphabet?: string
@@ -16472,13 +16642,20 @@ type PerfectionistSortSets = {
16472
16642
 
16473
16643
  customGroups?: (
16474
16644
  | {
16475
- groupName?: string
16645
+ newlinesInside?: 'always' | 'never'
16476
16646
 
16477
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
16647
+ fallbackSort?: {
16648
+ order?: 'asc' | 'desc'
16478
16649
 
16479
- order?: 'desc' | 'asc'
16650
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16651
+ [k: string]: unknown | undefined
16652
+ }
16480
16653
 
16481
- newlinesInside?: 'always' | 'never'
16654
+ groupName?: string
16655
+
16656
+ order?: 'asc' | 'desc'
16657
+
16658
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16482
16659
  anyOf?: {
16483
16660
  selector?: 'literal' | 'spread'
16484
16661
 
@@ -16500,13 +16677,20 @@ type PerfectionistSortSets = {
16500
16677
  }[]
16501
16678
  }
16502
16679
  | {
16503
- groupName?: string
16680
+ newlinesInside?: 'always' | 'never'
16681
+
16682
+ fallbackSort?: {
16683
+ order?: 'asc' | 'desc'
16504
16684
 
16505
- type?: 'alphabetical' | 'line-length' | 'natural' | 'unsorted'
16685
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16686
+ [k: string]: unknown | undefined
16687
+ }
16506
16688
 
16507
- order?: 'desc' | 'asc'
16689
+ groupName?: string
16508
16690
 
16509
- newlinesInside?: 'always' | 'never'
16691
+ order?: 'asc' | 'desc'
16692
+
16693
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16510
16694
 
16511
16695
  selector?: 'literal' | 'spread'
16512
16696
 
@@ -16619,8 +16803,6 @@ type PerfectionistSortSwitchCase =
16619
16803
  | []
16620
16804
  | [
16621
16805
  {
16622
- specialCharacters?: 'remove' | 'trim' | 'keep'
16623
-
16624
16806
  fallbackSort?: {
16625
16807
  order?: 'asc' | 'desc'
16626
16808
 
@@ -16628,6 +16810,8 @@ type PerfectionistSortSwitchCase =
16628
16810
  [k: string]: unknown | undefined
16629
16811
  }
16630
16812
 
16813
+ specialCharacters?: 'remove' | 'trim' | 'keep'
16814
+
16631
16815
  ignoreCase?: boolean
16632
16816
 
16633
16817
  alphabet?: string
@@ -16644,8 +16828,6 @@ type PerfectionistSortUnionTypes =
16644
16828
  | []
16645
16829
  | [
16646
16830
  {
16647
- specialCharacters?: 'remove' | 'trim' | 'keep'
16648
-
16649
16831
  fallbackSort?: {
16650
16832
  order?: 'asc' | 'desc'
16651
16833
 
@@ -16653,6 +16835,8 @@ type PerfectionistSortUnionTypes =
16653
16835
  [k: string]: unknown | undefined
16654
16836
  }
16655
16837
 
16838
+ specialCharacters?: 'remove' | 'trim' | 'keep'
16839
+
16656
16840
  ignoreCase?: boolean
16657
16841
 
16658
16842
  alphabet?: string
@@ -16738,8 +16922,6 @@ type PerfectionistSortVariableDeclarations =
16738
16922
  | []
16739
16923
  | [
16740
16924
  {
16741
- specialCharacters?: 'remove' | 'trim' | 'keep'
16742
-
16743
16925
  fallbackSort?: {
16744
16926
  order?: 'asc' | 'desc'
16745
16927
 
@@ -16747,6 +16929,8 @@ type PerfectionistSortVariableDeclarations =
16747
16929
  [k: string]: unknown | undefined
16748
16930
  }
16749
16931
 
16932
+ specialCharacters?: 'remove' | 'trim' | 'keep'
16933
+
16750
16934
  ignoreCase?: boolean
16751
16935
 
16752
16936
  alphabet?: string
package/dist/index.js CHANGED
@@ -2399,15 +2399,19 @@ var sharedScriptConfig = {
2399
2399
  ignoreConsecutiveComments: true,
2400
2400
  ignoreInlineComments: true,
2401
2401
  // Forgive some additional common patterns arising from temporarily commenting out lines of code
2402
- ignorePattern: String.raw`if|else|await|const|let|var|import|export|pragma|ignore|prettier-ignore|webpack\w+:|c8|type-coverage:`
2402
+ ignorePattern: String.raw`if|else|await|macOS|const|let|var|import|export|pragma|ignore|prettier-ignore|webpack\w+:|c8|type-coverage:`
2403
2403
  }
2404
2404
  ],
2405
2405
  "eslint-comments/disable-enable-pair": ["error", { allowWholeFile: true }],
2406
2406
  // Overlaps with `unicorn/no-named-default`, and gives false positives for imports from CJS modules
2407
2407
  "import/default": "off",
2408
- // Cope with Astro virtual modules
2408
+ // IMO using the default can help with code readability / disambiguation of a function's origin
2409
+ "import/no-named-as-default-member": "off",
2410
+ // Cope with Astro virtual modules.
2411
+ // Astro uses `astro:...` and `@astrojs/...`.
2412
+ // Starlight uses `virtual:...`.
2409
2413
  // https://github.com/hannoeru/vite-plugin-pages/issues/41#issuecomment-1371880072
2410
- "import/no-unresolved": ["error", { ignore: ["^astro:", "^@astrojs"] }],
2414
+ "import/no-unresolved": ["error", { ignore: ["^astro:", "^@astrojs", "^virtual:"] }],
2411
2415
  "import/order": "off",
2412
2416
  // Conflicts with perfectionist/sort-imports (but never enabled)
2413
2417
  // Knip workaround to ignore unused exported class members:
@@ -2422,15 +2426,17 @@ var sharedScriptConfig = {
2422
2426
  ],
2423
2427
  "max-params": ["warn", { max: 8 }],
2424
2428
  "no-await-in-loop": "off",
2425
- "no-unreachable": "warn",
2426
2429
  // TSConfig must have allowUnreachableCode: false, this is preferable because it will flag but not spontaneously delete unreachable code
2430
+ "no-unreachable": "warn",
2427
2431
  "no-warning-comments": "off",
2428
2432
  "node/hashbang": "off",
2429
2433
  "node/no-extraneous-import": "off",
2430
- "node/no-missing-import": "off",
2431
2434
  // Trouble resolving in ts
2432
- "node/no-process-exit": "off",
2435
+ "node/no-missing-import": "off",
2433
2436
  // Duplicated in unicorn
2437
+ "node/no-process-exit": "off",
2438
+ // Too many false positives
2439
+ "node/no-unpublished-import": "off",
2434
2440
  "node/no-unsupported-features/node-builtins": ["error", { ignores: ["fs/promises.glob"] }],
2435
2441
  "perfectionist/sort-imports": [
2436
2442
  "error",
@@ -2446,6 +2452,12 @@ var sharedScriptConfig = {
2446
2452
  "perfectionist/sort-modules": "off",
2447
2453
  "perfectionist/sort-objects": [
2448
2454
  "error",
2455
+ // Note precedence sensitivity...
2456
+ // This has to come before the `min` rules to sort
2457
+ // strings like `{ minImageWidth: 1, minImageHeight: 1 }` correctly
2458
+ generatePerfectionistSortConfig(["width", "height"]),
2459
+ generatePerfectionistSortConfig(["width", "height"], "leading"),
2460
+ generatePerfectionistSortConfig(["Width", "Height"], "trailing"),
2449
2461
  generatePerfectionistSortConfig(["r", "g", "b"]),
2450
2462
  generatePerfectionistSortConfig(["R", "G", "B"], "trailing"),
2451
2463
  generatePerfectionistSortConfig(["red", "green", "blue"]),
@@ -2462,12 +2474,12 @@ var sharedScriptConfig = {
2462
2474
  generatePerfectionistSortConfig(["Red", "Green", "Blue", "Alpha"], "trailing"),
2463
2475
  generatePerfectionistSortConfig(["x", "y", "z", "w"]),
2464
2476
  generatePerfectionistSortConfig(["X", "Y", "Z", "W"], "trailing"),
2477
+ generatePerfectionistSortConfig(["start", "end"]),
2478
+ generatePerfectionistSortConfig(["start", "end"], "leading"),
2479
+ generatePerfectionistSortConfig(["Start", "End"], "trailing"),
2465
2480
  generatePerfectionistSortConfig(["min", "max"]),
2466
2481
  generatePerfectionistSortConfig(["min", "max"], "leading"),
2467
2482
  generatePerfectionistSortConfig(["Min", "Max"], "trailing"),
2468
- generatePerfectionistSortConfig(["width", "height"]),
2469
- generatePerfectionistSortConfig(["width", "height"], "leading"),
2470
- generatePerfectionistSortConfig(["Width", "Height"], "trailing"),
2471
2483
  { newlinesBetween: "never", order: "asc", type: "natural" }
2472
2484
  ],
2473
2485
  "sort-imports": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitschpatrol/eslint-config",
3
- "version": "5.2.0",
3
+ "version": "5.3.1",
4
4
  "description": "ESLint configuration for @kitschpatrol/shared-config.",
5
5
  "keywords": [
6
6
  "shared-config",
@@ -42,19 +42,19 @@
42
42
  ],
43
43
  "dependencies": {
44
44
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
45
- "@eslint-react/eslint-plugin": "^1.30.0",
46
- "@html-eslint/eslint-plugin": "^0.35.0",
47
- "@html-eslint/parser": "^0.35.0",
45
+ "@eslint-react/eslint-plugin": "^1.31.0",
46
+ "@html-eslint/eslint-plugin": "^0.35.2",
47
+ "@html-eslint/parser": "^0.35.2",
48
48
  "@pinojs/json-colorizer": "^4.0.0",
49
49
  "@typescript-eslint/eslint-plugin": "^8.26.0",
50
50
  "@typescript-eslint/parser": "^8.26.0",
51
51
  "@vitest/eslint-plugin": "^1.1.36",
52
52
  "astro-eslint-parser": "^1.2.1",
53
- "eslint": "^9.21.0",
53
+ "eslint": "^9.22.0",
54
54
  "eslint-config-flat-gitignore": "^2.1.0",
55
55
  "eslint-flat-config-utils": "^2.0.1",
56
56
  "eslint-import-resolver-typescript": "^3.8.3",
57
- "eslint-mdx": "^3.1.5",
57
+ "eslint-mdx": "^3.2.0",
58
58
  "eslint-plugin-astro": "^1.3.1",
59
59
  "eslint-plugin-depend": "^0.12.0",
60
60
  "eslint-plugin-html": "^8.1.2",
@@ -62,13 +62,13 @@
62
62
  "eslint-plugin-jsdoc": "^50.6.3",
63
63
  "eslint-plugin-jsonc": "^2.19.1",
64
64
  "eslint-plugin-jsx-a11y": "^6.10.2",
65
- "eslint-plugin-mdx": "^3.1.5",
66
- "eslint-plugin-n": "^17.16.1",
65
+ "eslint-plugin-mdx": "^3.2.0",
66
+ "eslint-plugin-n": "^17.16.2",
67
67
  "eslint-plugin-no-only-tests": "^3.3.0",
68
- "eslint-plugin-package-json": "^0.26.1",
69
- "eslint-plugin-perfectionist": "^4.9.0",
68
+ "eslint-plugin-package-json": "^0.26.3",
69
+ "eslint-plugin-perfectionist": "^4.10.1",
70
70
  "eslint-plugin-regexp": "^2.7.0",
71
- "eslint-plugin-svelte": "^3.0.2",
71
+ "eslint-plugin-svelte": "^3.0.3",
72
72
  "eslint-plugin-toml": "^0.12.0",
73
73
  "eslint-plugin-unicorn": "^57.0.0",
74
74
  "eslint-plugin-yml": "^1.17.0",
@@ -79,8 +79,8 @@
79
79
  "jsonc-eslint-parser": "^2.4.0",
80
80
  "local-pkg": "^1.1.1",
81
81
  "prettier": "^3.5.3",
82
- "sort-package-json": "^2.15.1",
83
- "svelte-eslint-parser": "^1.0.0",
82
+ "sort-package-json": "^3.0.0",
83
+ "svelte-eslint-parser": "^1.0.1",
84
84
  "toml-eslint-parser": "^0.10.0",
85
85
  "yaml-eslint-parser": "^1.3.0"
86
86
  },
@@ -88,11 +88,11 @@
88
88
  "@types/eslint-config-prettier": "^6.11.3",
89
89
  "@types/eslint-plugin-jsx-a11y": "^6.10.0",
90
90
  "dot-prop": "^9.0.0",
91
- "eslint-config-prettier": "^10.0.2",
91
+ "eslint-config-prettier": "^10.1.1",
92
92
  "eslint-config-xo-typescript": "^7.0.0",
93
93
  "eslint-typegen": "^2.0.0",
94
94
  "globby": "^14.1.0",
95
- "svelte": "^5.21.0",
95
+ "svelte": "^5.22.6",
96
96
  "tsup": "^8.4.0"
97
97
  },
98
98
  "engines": {
package/init/package.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "pnpm": {
3
- "overrides": {
4
- "eslint-plugin-markdown": "^5.1.0"
5
- }
6
- }
7
- }