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

@@ -33,7 +33,7 @@ class NotebookTerminalComponentAdapter implements ReactAdapter {
private getDatabaseAccount: () => DataModels.DatabaseAccount,
private getTabId: () => string,
private getUsername: () => string,
private isAllPublicIPAddressesEnabled: ko.Observable<boolean>
private isAllPublicIPAddressesEnabled: ko.Observable<boolean>,
) {}
public renderComponent(): JSX.Element {
@@ -75,7 +75,7 @@ export default class TerminalTab extends TabsBase {
() => userContext?.databaseAccount,
() => this.tabId,
() => this.getUsername(),
this.isAllPublicIPAddressesEnabled
this.isAllPublicIPAddressesEnabled,
);
this.notebookTerminalComponentAdapter.parameters = ko.computed<boolean>(() => {
if (
@@ -93,7 +93,7 @@ export default class TerminalTab extends TabsBase {
checkFirewallRules(
"2022-11-08",
(rule) => rule.properties.startIpAddress === "0.0.0.0" && rule.properties.endIpAddress === "255.255.255.255",
this.isAllPublicIPAddressesEnabled
this.isAllPublicIPAddressesEnabled,
);
}
@@ -103,7 +103,7 @@ export default class TerminalTab extends TabsBase {
(rule) =>
rule.name.startsWith("AllowAllAzureServicesAndResourcesWithinAzureIps") ||
(rule.properties.startIpAddress === "0.0.0.0" && rule.properties.endIpAddress === "255.255.255.255"),
this.isAllPublicIPAddressesEnabled
this.isAllPublicIPAddressesEnabled,
);
}
}