Fix Flipper lints #10

Summary:
Grey -> gray. "Cancelled" seems quite common in APIs though, so I disabled that.
A few promise cleanups

Reviewed By: aigoncharov

Differential Revision: D31323610

fbshipit-source-id: c8863d995936f451c24eb408fe5c26677187f089
This commit is contained in:
Pascal Hartig
2021-10-01 08:07:16 -07:00
committed by Facebook GitHub Bot
parent fe3eda024b
commit 4aa7439fbf
8 changed files with 19 additions and 15 deletions

View File

@@ -389,6 +389,7 @@ function createBasePluginResult(
deactivate: () => pluginInstance.deactivate(),
exportStateAsync: () =>
pluginInstance.exportState(createStubIdler(), () => {}),
// eslint-disable-next-line node/no-sync
exportState: () => pluginInstance.exportStateSync(),
triggerDeepLink: async (deepLink: unknown) => {
pluginInstance.triggerDeepLink(deepLink);