[SG-32822] Ban imports from client package internals
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: gitstart-sourcegraph
The possibility to import from package internals doesn't allow us to maintain package public API that we can document and maintain.
Imports from package internal are banned via the ESLint rule.
// Should not be allowed
import { DEFAULT_MONACO_OPTIONS } from '@sourcegraph/search-ui/src/input/MonacoQueryInput'
// Should be allowed
import { DEFAULT_MONACO_OPTIONS } from '@sourcegraph/search-ui'
Gitstart Ticket Sourcegraph Issue
7.5 hrs
Push commits to the source branch or add previously merged commits to review them.