diff --git a/desktop/app/src/fb-stubs/checkForUpdate.tsx b/desktop/app/src/fb-stubs/checkForUpdate.tsx index b62f25f1c..d04305041 100644 --- a/desktop/app/src/fb-stubs/checkForUpdate.tsx +++ b/desktop/app/src/fb-stubs/checkForUpdate.tsx @@ -65,6 +65,8 @@ export async function checkForUpdate( console.log('Skipping version check on non-authenticated network.'); return {kind: 'up-to-date'}; } + // Good use of nesting. + // eslint-disable-next-line promise/no-nesting return res.json().then(parseResponse); default: const msg = `Server responded with ${res.statusText}.`; diff --git a/desktop/app/src/plugin.tsx b/desktop/app/src/plugin.tsx index 1737c330d..eb8e269df 100644 --- a/desktop/app/src/plugin.tsx +++ b/desktop/app/src/plugin.tsx @@ -285,6 +285,7 @@ export class FlipperPlugin< } get device() { + // eslint-disable-next-line node/no-sync return this.realClient.deviceSync; }