mirror of
https://github.com/bitwarden/desktop
synced 2025-12-10 13:23:28 +00:00
Add trailing comma to linter
This commit is contained in:
@@ -328,7 +328,7 @@ export class VaultComponent implements OnInit, OnDestroy {
|
|||||||
click: async () => {
|
click: async () => {
|
||||||
const value = await this.totpService.getCode(cipher.login.totp);
|
const value = await this.totpService.getCode(cipher.login.totp);
|
||||||
this.copyValue(value, 'verificationCodeTotp');
|
this.copyValue(value, 'verificationCodeTotp');
|
||||||
}
|
},
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -176,8 +176,8 @@ export class MenuMain extends BaseMenu {
|
|||||||
label: this.main.i18nService.t('copyVerificationCodeTotp'),
|
label: this.main.i18nService.t('copyVerificationCodeTotp'),
|
||||||
id: 'copyTotp',
|
id: 'copyTotp',
|
||||||
click: () => this.main.messagingService.send('copyTotp'),
|
click: () => this.main.messagingService.send('copyTotp'),
|
||||||
accelerator: 'CmdOrCtrl+T'
|
accelerator: 'CmdOrCtrl+T',
|
||||||
}
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if (!isWindowsStore() && !isMacAppStore()) {
|
if (!isWindowsStore() && !isMacAppStore()) {
|
||||||
|
|||||||
@@ -73,8 +73,8 @@ export class NativeMessagingMain {
|
|||||||
'allowed_origins': [
|
'allowed_origins': [
|
||||||
'chrome-extension://nngceckbapebfimnlniiiahkandclblb/',
|
'chrome-extension://nngceckbapebfimnlniiiahkandclblb/',
|
||||||
'chrome-extension://jbkfoedolllekgbhcbcoahefnbanhhlh/',
|
'chrome-extension://jbkfoedolllekgbhcbcoahefnbanhhlh/',
|
||||||
'chrome-extension://ccnckbpmaceehanjmeomladnmlffdjgn/'
|
'chrome-extension://ccnckbpmaceehanjmeomladnmlffdjgn/',
|
||||||
]
|
],
|
||||||
}};
|
}};
|
||||||
|
|
||||||
switch (process.platform) {
|
switch (process.platform) {
|
||||||
|
|||||||
12
tslint.json
12
tslint.json
@@ -58,6 +58,18 @@
|
|||||||
"semicolon": [
|
"semicolon": [
|
||||||
true,
|
true,
|
||||||
"always"
|
"always"
|
||||||
|
],
|
||||||
|
"trailing-comma": [
|
||||||
|
true,
|
||||||
|
{
|
||||||
|
"multiline": {
|
||||||
|
"objects": "always",
|
||||||
|
"arrays": "always",
|
||||||
|
"functions": "ignore",
|
||||||
|
"typeLiterals": "ignore"
|
||||||
|
},
|
||||||
|
"singleline": "never"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user