mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 17:30:46 +00:00
Update prettier to latest. Remove tslint (#1641)
* Rev up prettier * Reformat * Remove deprecated tslint * Remove call to tslint and update package-lock.json
This commit is contained in:
@@ -45,7 +45,7 @@ export default class NotebookTabV2 extends NotebookTabBase {
|
||||
this.notebookPath = ko.observable(options.notebookContentItem.path);
|
||||
useNotebook.subscribe(
|
||||
() => logConsoleInfo("New notebook server info received."),
|
||||
(state) => state.notebookServerInfo
|
||||
(state) => state.notebookServerInfo,
|
||||
);
|
||||
this.notebookComponentAdapter = new NotebookComponentAdapter({
|
||||
contentItem: options.notebookContentItem,
|
||||
@@ -72,7 +72,7 @@ export default class NotebookTabV2 extends NotebookTabBase {
|
||||
"Close",
|
||||
cleanup,
|
||||
"Cancel",
|
||||
undefined
|
||||
undefined,
|
||||
);
|
||||
return Q.resolve(null);
|
||||
} else {
|
||||
@@ -184,7 +184,7 @@ export default class NotebookTabV2 extends NotebookTabBase {
|
||||
hasPopup: false,
|
||||
disabled: false,
|
||||
ariaLabel: kernel.displayName,
|
||||
} as CommandButtonComponentProps)
|
||||
}) as CommandButtonComponentProps,
|
||||
),
|
||||
ariaLabel: kernelLabel,
|
||||
},
|
||||
@@ -379,7 +379,7 @@ export default class NotebookTabV2 extends NotebookTabBase {
|
||||
this.notebookPath(),
|
||||
notebookConnectionInfo,
|
||||
kernelName,
|
||||
sparkClusterConnectionInfo
|
||||
sparkClusterConnectionInfo,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -413,7 +413,7 @@ export default class NotebookTabV2 extends NotebookTabBase {
|
||||
notebookContent.content,
|
||||
notebookContentRef,
|
||||
(request: SnapshotRequest) => notebookReduxStore.dispatch(CdbActions.takeNotebookSnapshot(request)),
|
||||
onPanelClose
|
||||
onPanelClose,
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user