Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Silvester committed Dec 23, 2019
1 parent b273d31 commit caf3e2b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
14 changes: 12 additions & 2 deletions packages/console-extension/src/index.ts
Expand Up @@ -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';

Expand Down Expand Up @@ -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
}
})
);
}
Expand Down
14 changes: 12 additions & 2 deletions packages/notebook-extension/src/index.ts
Expand Up @@ -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';

Expand Down Expand Up @@ -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
}
})
);
}
Expand Down

0 comments on commit caf3e2b

Please sign in to comment.