Fix: no-restricted-imports to check re-export (fixes #9678) #11064
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update
What changes did you make? (Give an overview)
Added checks to
Is there anything you'd like reviewers to focus on?
Did I miss anything?