@2digits/eslint-config 4.5.1 → 4.5.3

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.mts CHANGED
@@ -5182,77 +5182,82 @@ Backward pagination arguments
5182
5182
  'spaced-comment'?: Linter.RuleEntry<SpacedComment>
5183
5183
  /**
5184
5184
  * Interactions should be awaited
5185
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/await-interactions.md
5185
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/await-interactions.md
5186
5186
  */
5187
5187
  'storybook/await-interactions'?: Linter.RuleEntry<[]>
5188
5188
  /**
5189
5189
  * Pass a context when invoking play function of another story
5190
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/context-in-play-function.md
5190
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/context-in-play-function.md
5191
5191
  */
5192
5192
  'storybook/context-in-play-function'?: Linter.RuleEntry<[]>
5193
5193
  /**
5194
5194
  * The component property should be set
5195
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/csf-component.md
5195
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/csf-component.md
5196
5196
  */
5197
5197
  'storybook/csf-component'?: Linter.RuleEntry<[]>
5198
5198
  /**
5199
5199
  * Story files should have a default export
5200
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/default-exports.md
5200
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/default-exports.md
5201
5201
  */
5202
5202
  'storybook/default-exports'?: Linter.RuleEntry<[]>
5203
5203
  /**
5204
5204
  * Deprecated hierarchy separator in title property
5205
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/hierarchy-separator.md
5205
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/hierarchy-separator.md
5206
5206
  */
5207
5207
  'storybook/hierarchy-separator'?: Linter.RuleEntry<[]>
5208
5208
  /**
5209
5209
  * Meta should only have inline properties
5210
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/meta-inline-properties.md
5210
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/meta-inline-properties.md
5211
5211
  */
5212
5212
  'storybook/meta-inline-properties'?: Linter.RuleEntry<StorybookMetaInlineProperties>
5213
5213
  /**
5214
5214
  * Meta should use `satisfies Meta`
5215
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/meta-satisfies-type.md
5215
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/meta-satisfies-type.md
5216
5216
  */
5217
5217
  'storybook/meta-satisfies-type'?: Linter.RuleEntry<[]>
5218
5218
  /**
5219
5219
  * A story should not have a redundant name property
5220
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-redundant-story-name.md
5220
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-redundant-story-name.md
5221
5221
  */
5222
5222
  'storybook/no-redundant-story-name'?: Linter.RuleEntry<[]>
5223
+ /**
5224
+ * Do not import renderer packages directly in stories
5225
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-renderer-packages.md
5226
+ */
5227
+ 'storybook/no-renderer-packages'?: Linter.RuleEntry<[]>
5223
5228
  /**
5224
5229
  * storiesOf is deprecated and should not be used
5225
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-stories-of.md
5230
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-stories-of.md
5226
5231
  */
5227
5232
  'storybook/no-stories-of'?: Linter.RuleEntry<[]>
5228
5233
  /**
5229
5234
  * Do not define a title in meta
5230
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-title-property-in-meta.md
5235
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-title-property-in-meta.md
5231
5236
  */
5232
5237
  'storybook/no-title-property-in-meta'?: Linter.RuleEntry<[]>
5233
5238
  /**
5234
5239
  * This rule identifies storybook addons that are invalid because they are either not installed or contain a typo in their name.
5235
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-uninstalled-addons.md
5240
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-uninstalled-addons.md
5236
5241
  */
5237
5242
  'storybook/no-uninstalled-addons'?: Linter.RuleEntry<StorybookNoUninstalledAddons>
5238
5243
  /**
5239
5244
  * Stories should use PascalCase
5240
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/prefer-pascal-case.md
5245
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/prefer-pascal-case.md
5241
5246
  */
5242
5247
  'storybook/prefer-pascal-case'?: Linter.RuleEntry<[]>
5243
5248
  /**
5244
5249
  * A story file must contain at least one story export
5245
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/story-exports.md
5250
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/story-exports.md
5246
5251
  */
5247
5252
  'storybook/story-exports'?: Linter.RuleEntry<[]>
5248
5253
  /**
5249
5254
  * Use expect from `@storybook/test`, `storybook/test` or `@storybook/jest`
5250
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/use-storybook-expect.md
5255
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/use-storybook-expect.md
5251
5256
  */
5252
5257
  'storybook/use-storybook-expect'?: Linter.RuleEntry<[]>
5253
5258
  /**
5254
5259
  * Do not use testing-library directly on stories
5255
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/use-storybook-testing-library.md
5260
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/use-storybook-testing-library.md
5256
5261
  */
5257
5262
  'storybook/use-storybook-testing-library'?: Linter.RuleEntry<[]>
5258
5263
  /**
@@ -5802,6 +5807,11 @@ Backward pagination arguments
5802
5807
  * @see https://tanstack.com/query/latest/docs/eslint/infinite-query-property-order
5803
5808
  */
5804
5809
  'tanstack/infinite-query-property-order'?: Linter.RuleEntry<[]>
5810
+ /**
5811
+ * Ensure correct order of inference-sensitive properties in useMutation()
5812
+ * @see https://tanstack.com/query/latest/docs/eslint/mutation-property-order
5813
+ */
5814
+ 'tanstack/mutation-property-order'?: Linter.RuleEntry<[]>
5805
5815
  /**
5806
5816
  * Disallows rest destructuring in queries
5807
5817
  * @see https://tanstack.com/query/latest/docs/eslint/no-rest-destructuring
@@ -6478,6 +6488,7 @@ Backward pagination arguments
6478
6488
  /**
6479
6489
  * Require type annotations in certain places
6480
6490
  * @see https://typescript-eslint.io/rules/typedef
6491
+ * @deprecated
6481
6492
  */
6482
6493
  'ts/typedef'?: Linter.RuleEntry<TsTypedef>
6483
6494
  /**
@@ -10906,6 +10917,7 @@ type StylisticJsxSortProps = []|[{
10906
10917
  ignoreCase?: boolean
10907
10918
  noSortAlphabetically?: boolean
10908
10919
  reservedFirst?: (unknown[] | boolean)
10920
+ reservedLast?: unknown[]
10909
10921
  locale?: string
10910
10922
  }]
10911
10923
  // ----- stylistic/jsx-tag-spacing -----
@@ -10982,18 +10994,6 @@ type StylisticKeywordSpacing = []|[{
10982
10994
  before?: boolean
10983
10995
  after?: boolean
10984
10996
  }
10985
- as?: {
10986
- before?: boolean
10987
- after?: boolean
10988
- }
10989
- async?: {
10990
- before?: boolean
10991
- after?: boolean
10992
- }
10993
- await?: {
10994
- before?: boolean
10995
- after?: boolean
10996
- }
10997
10997
  boolean?: {
10998
10998
  before?: boolean
10999
10999
  after?: boolean
@@ -11086,18 +11086,10 @@ type StylisticKeywordSpacing = []|[{
11086
11086
  before?: boolean
11087
11087
  after?: boolean
11088
11088
  }
11089
- from?: {
11090
- before?: boolean
11091
- after?: boolean
11092
- }
11093
11089
  function?: {
11094
11090
  before?: boolean
11095
11091
  after?: boolean
11096
11092
  }
11097
- get?: {
11098
- before?: boolean
11099
- after?: boolean
11100
- }
11101
11093
  goto?: {
11102
11094
  before?: boolean
11103
11095
  after?: boolean
@@ -11130,10 +11122,6 @@ type StylisticKeywordSpacing = []|[{
11130
11122
  before?: boolean
11131
11123
  after?: boolean
11132
11124
  }
11133
- let?: {
11134
- before?: boolean
11135
- after?: boolean
11136
- }
11137
11125
  long?: {
11138
11126
  before?: boolean
11139
11127
  after?: boolean
@@ -11150,10 +11138,6 @@ type StylisticKeywordSpacing = []|[{
11150
11138
  before?: boolean
11151
11139
  after?: boolean
11152
11140
  }
11153
- of?: {
11154
- before?: boolean
11155
- after?: boolean
11156
- }
11157
11141
  package?: {
11158
11142
  before?: boolean
11159
11143
  after?: boolean
@@ -11174,14 +11158,6 @@ type StylisticKeywordSpacing = []|[{
11174
11158
  before?: boolean
11175
11159
  after?: boolean
11176
11160
  }
11177
- satisfies?: {
11178
- before?: boolean
11179
- after?: boolean
11180
- }
11181
- set?: {
11182
- before?: boolean
11183
- after?: boolean
11184
- }
11185
11161
  short?: {
11186
11162
  before?: boolean
11187
11163
  after?: boolean
@@ -11250,6 +11226,42 @@ type StylisticKeywordSpacing = []|[{
11250
11226
  before?: boolean
11251
11227
  after?: boolean
11252
11228
  }
11229
+ as?: {
11230
+ before?: boolean
11231
+ after?: boolean
11232
+ }
11233
+ async?: {
11234
+ before?: boolean
11235
+ after?: boolean
11236
+ }
11237
+ await?: {
11238
+ before?: boolean
11239
+ after?: boolean
11240
+ }
11241
+ from?: {
11242
+ before?: boolean
11243
+ after?: boolean
11244
+ }
11245
+ get?: {
11246
+ before?: boolean
11247
+ after?: boolean
11248
+ }
11249
+ let?: {
11250
+ before?: boolean
11251
+ after?: boolean
11252
+ }
11253
+ of?: {
11254
+ before?: boolean
11255
+ after?: boolean
11256
+ }
11257
+ satisfies?: {
11258
+ before?: boolean
11259
+ after?: boolean
11260
+ }
11261
+ set?: {
11262
+ before?: boolean
11263
+ after?: boolean
11264
+ }
11253
11265
  yield?: {
11254
11266
  before?: boolean
11255
11267
  after?: boolean
package/dist/index.d.ts CHANGED
@@ -5182,77 +5182,82 @@ Backward pagination arguments
5182
5182
  'spaced-comment'?: Linter.RuleEntry<SpacedComment>
5183
5183
  /**
5184
5184
  * Interactions should be awaited
5185
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/await-interactions.md
5185
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/await-interactions.md
5186
5186
  */
5187
5187
  'storybook/await-interactions'?: Linter.RuleEntry<[]>
5188
5188
  /**
5189
5189
  * Pass a context when invoking play function of another story
5190
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/context-in-play-function.md
5190
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/context-in-play-function.md
5191
5191
  */
5192
5192
  'storybook/context-in-play-function'?: Linter.RuleEntry<[]>
5193
5193
  /**
5194
5194
  * The component property should be set
5195
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/csf-component.md
5195
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/csf-component.md
5196
5196
  */
5197
5197
  'storybook/csf-component'?: Linter.RuleEntry<[]>
5198
5198
  /**
5199
5199
  * Story files should have a default export
5200
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/default-exports.md
5200
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/default-exports.md
5201
5201
  */
5202
5202
  'storybook/default-exports'?: Linter.RuleEntry<[]>
5203
5203
  /**
5204
5204
  * Deprecated hierarchy separator in title property
5205
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/hierarchy-separator.md
5205
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/hierarchy-separator.md
5206
5206
  */
5207
5207
  'storybook/hierarchy-separator'?: Linter.RuleEntry<[]>
5208
5208
  /**
5209
5209
  * Meta should only have inline properties
5210
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/meta-inline-properties.md
5210
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/meta-inline-properties.md
5211
5211
  */
5212
5212
  'storybook/meta-inline-properties'?: Linter.RuleEntry<StorybookMetaInlineProperties>
5213
5213
  /**
5214
5214
  * Meta should use `satisfies Meta`
5215
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/meta-satisfies-type.md
5215
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/meta-satisfies-type.md
5216
5216
  */
5217
5217
  'storybook/meta-satisfies-type'?: Linter.RuleEntry<[]>
5218
5218
  /**
5219
5219
  * A story should not have a redundant name property
5220
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-redundant-story-name.md
5220
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-redundant-story-name.md
5221
5221
  */
5222
5222
  'storybook/no-redundant-story-name'?: Linter.RuleEntry<[]>
5223
+ /**
5224
+ * Do not import renderer packages directly in stories
5225
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-renderer-packages.md
5226
+ */
5227
+ 'storybook/no-renderer-packages'?: Linter.RuleEntry<[]>
5223
5228
  /**
5224
5229
  * storiesOf is deprecated and should not be used
5225
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-stories-of.md
5230
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-stories-of.md
5226
5231
  */
5227
5232
  'storybook/no-stories-of'?: Linter.RuleEntry<[]>
5228
5233
  /**
5229
5234
  * Do not define a title in meta
5230
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-title-property-in-meta.md
5235
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-title-property-in-meta.md
5231
5236
  */
5232
5237
  'storybook/no-title-property-in-meta'?: Linter.RuleEntry<[]>
5233
5238
  /**
5234
5239
  * This rule identifies storybook addons that are invalid because they are either not installed or contain a typo in their name.
5235
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-uninstalled-addons.md
5240
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-uninstalled-addons.md
5236
5241
  */
5237
5242
  'storybook/no-uninstalled-addons'?: Linter.RuleEntry<StorybookNoUninstalledAddons>
5238
5243
  /**
5239
5244
  * Stories should use PascalCase
5240
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/prefer-pascal-case.md
5245
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/prefer-pascal-case.md
5241
5246
  */
5242
5247
  'storybook/prefer-pascal-case'?: Linter.RuleEntry<[]>
5243
5248
  /**
5244
5249
  * A story file must contain at least one story export
5245
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/story-exports.md
5250
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/story-exports.md
5246
5251
  */
5247
5252
  'storybook/story-exports'?: Linter.RuleEntry<[]>
5248
5253
  /**
5249
5254
  * Use expect from `@storybook/test`, `storybook/test` or `@storybook/jest`
5250
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/use-storybook-expect.md
5255
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/use-storybook-expect.md
5251
5256
  */
5252
5257
  'storybook/use-storybook-expect'?: Linter.RuleEntry<[]>
5253
5258
  /**
5254
5259
  * Do not use testing-library directly on stories
5255
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/use-storybook-testing-library.md
5260
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/use-storybook-testing-library.md
5256
5261
  */
5257
5262
  'storybook/use-storybook-testing-library'?: Linter.RuleEntry<[]>
5258
5263
  /**
@@ -5802,6 +5807,11 @@ Backward pagination arguments
5802
5807
  * @see https://tanstack.com/query/latest/docs/eslint/infinite-query-property-order
5803
5808
  */
5804
5809
  'tanstack/infinite-query-property-order'?: Linter.RuleEntry<[]>
5810
+ /**
5811
+ * Ensure correct order of inference-sensitive properties in useMutation()
5812
+ * @see https://tanstack.com/query/latest/docs/eslint/mutation-property-order
5813
+ */
5814
+ 'tanstack/mutation-property-order'?: Linter.RuleEntry<[]>
5805
5815
  /**
5806
5816
  * Disallows rest destructuring in queries
5807
5817
  * @see https://tanstack.com/query/latest/docs/eslint/no-rest-destructuring
@@ -6478,6 +6488,7 @@ Backward pagination arguments
6478
6488
  /**
6479
6489
  * Require type annotations in certain places
6480
6490
  * @see https://typescript-eslint.io/rules/typedef
6491
+ * @deprecated
6481
6492
  */
6482
6493
  'ts/typedef'?: Linter.RuleEntry<TsTypedef>
6483
6494
  /**
@@ -10906,6 +10917,7 @@ type StylisticJsxSortProps = []|[{
10906
10917
  ignoreCase?: boolean
10907
10918
  noSortAlphabetically?: boolean
10908
10919
  reservedFirst?: (unknown[] | boolean)
10920
+ reservedLast?: unknown[]
10909
10921
  locale?: string
10910
10922
  }]
10911
10923
  // ----- stylistic/jsx-tag-spacing -----
@@ -10982,18 +10994,6 @@ type StylisticKeywordSpacing = []|[{
10982
10994
  before?: boolean
10983
10995
  after?: boolean
10984
10996
  }
10985
- as?: {
10986
- before?: boolean
10987
- after?: boolean
10988
- }
10989
- async?: {
10990
- before?: boolean
10991
- after?: boolean
10992
- }
10993
- await?: {
10994
- before?: boolean
10995
- after?: boolean
10996
- }
10997
10997
  boolean?: {
10998
10998
  before?: boolean
10999
10999
  after?: boolean
@@ -11086,18 +11086,10 @@ type StylisticKeywordSpacing = []|[{
11086
11086
  before?: boolean
11087
11087
  after?: boolean
11088
11088
  }
11089
- from?: {
11090
- before?: boolean
11091
- after?: boolean
11092
- }
11093
11089
  function?: {
11094
11090
  before?: boolean
11095
11091
  after?: boolean
11096
11092
  }
11097
- get?: {
11098
- before?: boolean
11099
- after?: boolean
11100
- }
11101
11093
  goto?: {
11102
11094
  before?: boolean
11103
11095
  after?: boolean
@@ -11130,10 +11122,6 @@ type StylisticKeywordSpacing = []|[{
11130
11122
  before?: boolean
11131
11123
  after?: boolean
11132
11124
  }
11133
- let?: {
11134
- before?: boolean
11135
- after?: boolean
11136
- }
11137
11125
  long?: {
11138
11126
  before?: boolean
11139
11127
  after?: boolean
@@ -11150,10 +11138,6 @@ type StylisticKeywordSpacing = []|[{
11150
11138
  before?: boolean
11151
11139
  after?: boolean
11152
11140
  }
11153
- of?: {
11154
- before?: boolean
11155
- after?: boolean
11156
- }
11157
11141
  package?: {
11158
11142
  before?: boolean
11159
11143
  after?: boolean
@@ -11174,14 +11158,6 @@ type StylisticKeywordSpacing = []|[{
11174
11158
  before?: boolean
11175
11159
  after?: boolean
11176
11160
  }
11177
- satisfies?: {
11178
- before?: boolean
11179
- after?: boolean
11180
- }
11181
- set?: {
11182
- before?: boolean
11183
- after?: boolean
11184
- }
11185
11161
  short?: {
11186
11162
  before?: boolean
11187
11163
  after?: boolean
@@ -11250,6 +11226,42 @@ type StylisticKeywordSpacing = []|[{
11250
11226
  before?: boolean
11251
11227
  after?: boolean
11252
11228
  }
11229
+ as?: {
11230
+ before?: boolean
11231
+ after?: boolean
11232
+ }
11233
+ async?: {
11234
+ before?: boolean
11235
+ after?: boolean
11236
+ }
11237
+ await?: {
11238
+ before?: boolean
11239
+ after?: boolean
11240
+ }
11241
+ from?: {
11242
+ before?: boolean
11243
+ after?: boolean
11244
+ }
11245
+ get?: {
11246
+ before?: boolean
11247
+ after?: boolean
11248
+ }
11249
+ let?: {
11250
+ before?: boolean
11251
+ after?: boolean
11252
+ }
11253
+ of?: {
11254
+ before?: boolean
11255
+ after?: boolean
11256
+ }
11257
+ satisfies?: {
11258
+ before?: boolean
11259
+ after?: boolean
11260
+ }
11261
+ set?: {
11262
+ before?: boolean
11263
+ after?: boolean
11264
+ }
11253
11265
  yield?: {
11254
11266
  before?: boolean
11255
11267
  after?: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/eslint-config",
3
- "version": "4.5.1",
3
+ "version": "4.5.3",
4
4
  "description": "Effortlessly enforce best practices and catch errors with this comprehensive ESLint configuration for TypeScript, featuring popular plugins like @typescript-eslint, eslint-plugin-react, and eslint-plugin-unicorn.",
5
5
  "homepage": "https://2d-configs.vercel.app/",
6
6
  "repository": {
@@ -29,60 +29,60 @@
29
29
  "public": true,
30
30
  "dependencies": {
31
31
  "@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
32
- "@eslint-react/eslint-plugin": "1.49.0",
32
+ "@eslint-react/eslint-plugin": "1.50.0",
33
33
  "@eslint/compat": "1.2.9",
34
34
  "@eslint/css": "0.8.1",
35
35
  "@eslint/js": "9.27.0",
36
36
  "@eslint/markdown": "6.4.0",
37
37
  "@graphql-eslint/eslint-plugin": "4.4.0",
38
38
  "@next/eslint-plugin-next": "15.3.2",
39
- "@stylistic/eslint-plugin": "4.2.0",
40
- "@tanstack/eslint-plugin-query": "5.74.7",
41
- "@typescript-eslint/parser": "8.32.1",
42
- "@typescript-eslint/utils": "8.32.1",
39
+ "@stylistic/eslint-plugin": "4.4.0",
40
+ "@tanstack/eslint-plugin-query": "5.78.0",
41
+ "@typescript-eslint/parser": "8.33.0",
42
+ "@typescript-eslint/utils": "8.33.0",
43
43
  "eslint-config-flat-gitignore": "2.1.0",
44
44
  "eslint-config-prettier": "10.1.5",
45
- "eslint-flat-config-utils": "2.0.1",
45
+ "eslint-flat-config-utils": "2.1.0",
46
46
  "eslint-merge-processors": "2.0.0",
47
47
  "eslint-plugin-antfu": "3.1.1",
48
48
  "eslint-plugin-de-morgan": "1.2.1",
49
49
  "eslint-plugin-drizzle": "0.2.3",
50
50
  "eslint-plugin-jsdoc": "50.6.17",
51
- "eslint-plugin-jsonc": "2.20.0",
51
+ "eslint-plugin-jsonc": "2.20.1",
52
52
  "eslint-plugin-n": "17.18.0",
53
53
  "eslint-plugin-pnpm": "0.3.1",
54
54
  "eslint-plugin-react-compiler": "19.1.0-rc.2",
55
55
  "eslint-plugin-react-hooks": "5.2.0",
56
56
  "eslint-plugin-regexp": "2.7.0",
57
57
  "eslint-plugin-sonarjs": "3.0.2",
58
- "eslint-plugin-storybook": "0.12.0",
58
+ "eslint-plugin-storybook": "9.0.0",
59
59
  "eslint-plugin-tailwindcss": "3.18.0",
60
60
  "eslint-plugin-turbo": "2.5.3",
61
61
  "eslint-plugin-unicorn": "59.0.1",
62
62
  "eslint-plugin-yml": "1.18.0",
63
63
  "find-up": "7.0.0",
64
- "globals": "16.1.0",
64
+ "globals": "16.2.0",
65
65
  "graphql-config": "5.1.5",
66
66
  "jsonc-eslint-parser": "2.4.0",
67
67
  "local-pkg": "1.1.1",
68
- "typescript-eslint": "8.32.1",
68
+ "typescript-eslint": "8.33.0",
69
69
  "yaml-eslint-parser": "1.3.0",
70
70
  "@2digits/constants": "1.0.0",
71
- "@2digits/eslint-plugin": "3.0.8"
71
+ "@2digits/eslint-plugin": "3.0.10"
72
72
  },
73
73
  "devDependencies": {
74
74
  "@eslint/config-inspector": "1.0.2",
75
- "@types/node": "22.15.18",
76
- "@types/react": "19.1.4",
75
+ "@types/node": "22.15.24",
76
+ "@types/react": "19.1.6",
77
77
  "dedent": "1.6.0",
78
78
  "eslint": "9.27.0",
79
79
  "eslint-typegen": "2.2.0",
80
- "execa": "9.5.3",
80
+ "execa": "9.6.0",
81
81
  "react": "19.1.0",
82
- "tinyglobby": "0.2.13",
82
+ "tinyglobby": "0.2.14",
83
83
  "typescript": "5.8.3",
84
84
  "unbuild": "3.5.0",
85
- "vitest": "3.1.3",
85
+ "vitest": "3.1.4",
86
86
  "@2digits/tsconfig": "0.7.1"
87
87
  },
88
88
  "scripts": {