Skip to content

Commit

Permalink
feat: add support for useFeatureFlag migration
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack committed Oct 7, 2024
1 parent 103ad5d commit 2d99a97
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/rules/no-wildcard-imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,15 @@ const wildcardImports = new Map([
},
],
],
[
'@primer/react/lib-esm/FeatureFlags/useFeatureFlag',
[
{
name: 'useFeatureFlag',
from: '@primer/react/experimental',
},
],
],
[
'@primer/react/lib-esm/theme',
[
Expand Down

0 comments on commit 2d99a97

Please sign in to comment.