enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391

This commit is contained in:
Johannes Rieken
2022-02-02 14:34:41 +01:00
parent 5abc4e0071
commit 4a130c40ed
954 changed files with 3017 additions and 3016 deletions

View File

@@ -37,12 +37,12 @@ import { UserDataSyncStoreTypeSynchronizer } from 'vs/platform/userDataSync/comm
import { ICredentialsService } from 'vs/platform/credentials/common/credentials';
type UserAccountClassification = {
id: { classification: 'EndUserPseudonymizedInformation', purpose: 'BusinessInsight' };
providerId: { classification: 'EndUserPseudonymizedInformation', purpose: 'BusinessInsight' };
id: { classification: 'EndUserPseudonymizedInformation'; purpose: 'BusinessInsight' };
providerId: { classification: 'EndUserPseudonymizedInformation'; purpose: 'BusinessInsight' };
};
type FirstTimeSyncClassification = {
action: { classification: 'SystemMetaData', purpose: 'FeatureInsight', isMeasurement: true };
action: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; isMeasurement: true };
};
type UserAccountEvent = {
@@ -52,7 +52,7 @@ type UserAccountEvent = {
type FirstTimeSyncAction = 'pull' | 'push' | 'merge' | 'manual';
type AccountQuickPickItem = { label: string, authenticationProvider: IAuthenticationProvider, account?: UserDataSyncAccount, description?: string };
type AccountQuickPickItem = { label: string; authenticationProvider: IAuthenticationProvider; account?: UserDataSyncAccount; description?: string };
class UserDataSyncAccount implements IUserDataSyncAccount {
@@ -234,7 +234,7 @@ export class UserDataSyncWorkbenchService extends Disposable implements IUserDat
}
private async updateToken(current: UserDataSyncAccount | undefined): Promise<void> {
let value: { token: string, authenticationProviderId: string } | undefined = undefined;
let value: { token: string; authenticationProviderId: string } | undefined = undefined;
if (current) {
try {
this.logService.trace('Settings Sync: Updating the token for the account', current.accountName);
@@ -696,7 +696,7 @@ class UserDataSyncPreview extends Disposable implements IUserDataSyncPreview {
private _onDidCompleteManualSync = this._register(new Emitter<Error | undefined>());
readonly onDidCompleteManualSync = this._onDidCompleteManualSync.event;
private manualSync: { preview: [SyncResource, ISyncResourcePreview][], task: IManualSyncTask, disposables: DisposableStore } | undefined;
private manualSync: { preview: [SyncResource, ISyncResourcePreview][]; task: IManualSyncTask; disposables: DisposableStore } | undefined;
constructor(
private readonly userDataSyncService: IUserDataSyncService