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

@@ -237,7 +237,7 @@ describe("Gallery", () => {
[authorizationHeader.header]: authorizationHeader.token,
[HttpHeaders.contentType]: "application/json",
},
}
},
);
});
@@ -262,7 +262,7 @@ describe("Gallery", () => {
[authorizationHeader.header]: authorizationHeader.token,
[HttpHeaders.contentType]: "application/json",
},
}
},
);
});
@@ -287,7 +287,7 @@ describe("Gallery", () => {
[authorizationHeader.header]: authorizationHeader.token,
[HttpHeaders.contentType]: "application/json",
},
}
},
);
});
@@ -310,7 +310,7 @@ describe("Gallery", () => {
[authorizationHeader.header]: authorizationHeader.token,
[HttpHeaders.contentType]: "application/json",
},
}
},
);
});
@@ -333,7 +333,7 @@ describe("Gallery", () => {
[authorizationHeader.header]: authorizationHeader.token,
[HttpHeaders.contentType]: "application/json",
},
}
},
);
});
@@ -358,7 +358,7 @@ describe("Gallery", () => {
[authorizationHeader.header]: authorizationHeader.token,
[HttpHeaders.contentType]: "application/json",
},
}
},
);
});
@@ -396,7 +396,7 @@ describe("Gallery", () => {
content: JSON.parse(content),
addLinkToNotebookViewer,
} as IPublishNotebookRequest),
}
},
);
});
});

View File

@@ -139,7 +139,7 @@ export class JunoClient {
`${this.getNotebooksSubscriptionIdAccountUrl()}/github/token?${githubParams.toString()}`,
{
headers: JunoClient.getHeaders(),
}
},
);
let data: IGitHubOAuthToken;
@@ -167,7 +167,7 @@ export class JunoClient {
{
method: "DELETE",
headers: JunoClient.getHeaders(),
}
},
);
return {
@@ -361,7 +361,7 @@ export class JunoClient {
description: string,
tags: string[],
thumbnailUrl: string,
content: string
content: string,
): Promise<IJunoResponse<IGalleryItem>> {
const response = await window.fetch(`${this.getNotebooksSubscriptionIdAccountUrl()}/gallery`, {
method: "PUT",
@@ -422,7 +422,7 @@ export class JunoClient {
}
public async requestSchema(
schemaRequest: DataModels.ISchemaRequest
schemaRequest: DataModels.ISchemaRequest,
): Promise<IJunoResponse<DataModels.ISchemaRequest>> {
const response = await window.fetch(`${this.getAnalyticsUrl()}/schema/request`, {
method: "POST",
@@ -446,14 +446,14 @@ export class JunoClient {
resourceGroup: string,
accountName: string,
databaseName: string,
containerName: string
containerName: string,
): Promise<IJunoResponse<DataModels.ISchema>> {
const response = await window.fetch(
`${this.getAnalyticsUrl()}/subscriptions/${subscriptionId}/resourceGroups/${resourceGroup}/databaseAccounts/${accountName}/schema/${databaseName}/${containerName}`,
{
method: "GET",
headers: JunoClient.getHeaders(),
}
},
);
let data: DataModels.ISchema;