Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: add import warning to sentry/types (#71159)
Adds an import warning for `sentry/types`. For example: ``` ./static/app/stores/demoWalkthroughStore.tsx:4:33 lint/nursery/noRestrictedImports ━━━━━━━━━━━━━━━━━ ⚠ Please import directly. For example: import type {Organization} from 'sentry/types/organization' 2 │ import {createStore} from 'reflux'; 3 │ > 4 │ import {OnboardingTaskKey} from 'sentry/types'; │ ^^^^^^^^^^^^^^ 5 │ 6 │ interface DemoWalkthroughStoreDefinition extends StoreDefinition { ```
- Loading branch information