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:
Laurent Nguyen
2023-10-03 15:13:24 +00:00
committed by GitHub
parent e3c168b7be
commit 90c1439d34
311 changed files with 1899 additions and 2194 deletions

View File

@@ -11,7 +11,7 @@ export interface SelectedNodeState {
isDataNodeSelected: (
databaseId: string,
collectionId?: string,
subnodeKinds?: ViewModels.CollectionTabKind[]
subnodeKinds?: ViewModels.CollectionTabKind[],
) => boolean;
isConnectedToContainer: () => boolean;
isQueryCopilotCollectionSelected: () => boolean;
@@ -31,7 +31,7 @@ export const useSelectedNode: UseStore<SelectedNodeState> = create((set, get) =>
isDataNodeSelected: (
databaseId: string,
collectionId?: string,
subnodeKinds?: ViewModels.CollectionTabKind[]
subnodeKinds?: ViewModels.CollectionTabKind[],
): boolean => {
const selectedNode = get().selectedNode;
if (!selectedNode) {