@@ -71,20 +71,6 @@ ruleTester.run('no-wildcard-imports', rule, {
71
71
] ,
72
72
} ,
73
73
74
- // Test default import
75
- {
76
- code : `import useIsomorphicLayoutEffect from '@primer/react/lib-esm/utils/useIsomorphicLayoutEffect'` ,
77
- output : `import {useIsomorphicLayoutEffect} from '@primer/react'` ,
78
- errors : [
79
- {
80
- messageId : 'wildcardMigration' ,
81
- data : {
82
- wildcardEntrypoint : '@primer/react/lib-esm/utils/useIsomorphicLayoutEffect' ,
83
- } ,
84
- } ,
85
- ] ,
86
- } ,
87
-
88
74
// Test multiple wildcard imports into single entrypoint
89
75
{
90
76
code : `import {useResizeObserver} from '@primer/react/lib-esm/hooks/useResizeObserver'
@@ -308,18 +294,6 @@ import {type ButtonBaseProps} from '@primer/react/experimental'`,
308
294
} ,
309
295
] ,
310
296
} ,
311
- {
312
- code : `import type {ItemProps} from '@primer/react/lib-esm/deprecated/ActionList/Item'` ,
313
- output : `import {type ActionListItemProps as ItemProps} from '@primer/react/deprecated'` ,
314
- errors : [
315
- {
316
- messageId : 'wildcardMigration' ,
317
- data : {
318
- wildcardEntrypoint : '@primer/react/lib-esm/deprecated/ActionList/Item' ,
319
- } ,
320
- } ,
321
- ] ,
322
- } ,
323
297
324
298
// Hooks -------------------------------------------------------------------
325
299
@@ -393,19 +367,6 @@ import {type ButtonBaseProps} from '@primer/react/experimental'`,
393
367
394
368
// Utilities ---------------------------------------------------------------
395
369
396
- // @primer /react/lib-esm/sx
397
- {
398
- code : `import type {BetterSystemStyleObject, SxProp, BetterCssProperties} from '@primer/react/lib-esm/sx'` ,
399
- output : `import {type BetterSystemStyleObject, type SxProp, type BetterCssProperties} from '@primer/react'` ,
400
- errors : [
401
- {
402
- messageId : 'wildcardMigration' ,
403
- data : {
404
- wildcardEntrypoint : '@primer/react/lib-esm/sx' ,
405
- } ,
406
- } ,
407
- ] ,
408
- } ,
409
370
// @primer /react/lib-esm/FeatureFlags/DefaultFeatureFlags
410
371
{
411
372
code : `import {DefaultFeatureFlags} from '@primer/react/lib-esm/FeatureFlags/DefaultFeatureFlags'` ,
0 commit comments