Forbid imports from nested directories of flipper-common, flipper-plugin, flipper-ui-core
Summary: Forbid imports from nested directories of flipper-common, flipper-plugin, flipper-ui-core In the stack of D32926830 I occasionally imported from flipper-plugin/src/... which is not allowed. This should fix any auto-import related issues once and for all. Reviewed By: timur-valiev Differential Revision: D32987054 fbshipit-source-id: f19f6278219961ad283cacfec094a6c703ca93f8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9436c32ce9
commit
adb2573a1f
@@ -24,6 +24,7 @@ import {
|
||||
} from 'flipper-common';
|
||||
|
||||
// Only import the type!
|
||||
// eslint-disable-next-line node/no-extraneous-import
|
||||
import type {RenderHost} from 'flipper-ui-core';
|
||||
|
||||
const test = global.test;
|
||||
|
||||
Reference in New Issue
Block a user