From caf3e2bc86d9f8c050c90952eb3e8692231d20b6 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 23 Dec 2019 11:27:32 -0600 Subject: [PATCH] lint --- packages/console-extension/src/index.ts | 14 ++++++++++++-- packages/notebook-extension/src/index.ts | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/packages/console-extension/src/index.ts b/packages/console-extension/src/index.ts index 08e15b3489f9..557abee44468 100644 --- a/packages/console-extension/src/index.ts +++ b/packages/console-extension/src/index.ts @@ -40,7 +40,13 @@ import { IRenderMimeRegistry } from '@jupyterlab/rendermime'; import { find } from '@lumino/algorithm'; -import { JSONExt, JSONObject, ReadonlyPartialJSONObject, UUID, ReadonlyJSONValue } from '@lumino/coreutils'; +import { + JSONExt, + JSONObject, + ReadonlyPartialJSONObject, + UUID, + ReadonlyJSONValue +} from '@lumino/coreutils'; import { DisposableSet } from '@lumino/disposable'; @@ -194,7 +200,11 @@ async function activateConsole( category: 'Console', rank, kernelIconUrl, - metadata: { kernel: JSONExt.deepCopy(spec.metadata || {}) as ReadonlyJSONValue } + metadata: { + kernel: JSONExt.deepCopy( + spec.metadata || {} + ) as ReadonlyJSONValue + } }) ); } diff --git a/packages/notebook-extension/src/index.ts b/packages/notebook-extension/src/index.ts index 6e8ca3a6eab9..29db3c920a0c 100644 --- a/packages/notebook-extension/src/index.ts +++ b/packages/notebook-extension/src/index.ts @@ -32,7 +32,13 @@ import { IDocumentManager } from '@jupyterlab/docmanager'; import { ArrayExt } from '@lumino/algorithm'; -import { UUID, JSONExt, JSONObject, ReadonlyPartialJSONObject, ReadonlyJSONValue } from '@lumino/coreutils'; +import { + UUID, + JSONExt, + JSONObject, + ReadonlyPartialJSONObject, + ReadonlyJSONValue +} from '@lumino/coreutils'; import { DisposableSet } from '@lumino/disposable'; @@ -738,7 +744,11 @@ function activateNotebookHandler( category: 'Notebook', rank, kernelIconUrl, - metadata: { kernel: JSONExt.deepCopy(spec.metadata || {}) as ReadonlyJSONValue } + metadata: { + kernel: JSONExt.deepCopy( + spec.metadata || {} + ) as ReadonlyJSONValue + } }) ); }