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