mirror of
https://github.com/bitwarden/browser.git
synced 2025-04-09 19:17:09 +02:00
fix lint issues
This commit is contained in:
parent
a22bb09fc3
commit
f39bdc4269
@ -71,7 +71,7 @@ const WindowsOpVaultTestData = JSON.stringify({
|
||||
category: '001',
|
||||
created: 1544823719,
|
||||
hmac: 'NtyBmTTPOb88HV3JUKPx1xl/vcMhac9kvCfe/NtszY0=',
|
||||
k: 'XC/z20QveYCoV8xQ4tCJZZp/uum77xLkMSMEhlUULndryXgSmkG+VBtkW7AfuerfKc8Rtu43a4Sd078j7XfZTcwUCEKtBECUTDNbEgv4+4hoFVk1EzZgEUy/0bW1Ap+jNLmmdSU9h74+REu6pdxsvQ==',
|
||||
k: '**REMOVED LONG LINE FOR LINTER** -Kyle',
|
||||
tx: 1553395669,
|
||||
updated: 1553395669,
|
||||
uuid: '528AB076FB5F4FBF960884B8E01619AC',
|
||||
|
@ -20,7 +20,8 @@ describe('Utils Service', () => {
|
||||
expect(Utils.getDomain('https://bitwarden.com')).toBe('bitwarden.com');
|
||||
expect(Utils.getDomain('http://bitwarden.com')).toBe('bitwarden.com');
|
||||
expect(Utils.getDomain('http://vault.bitwarden.com')).toBe('bitwarden.com');
|
||||
expect(Utils.getDomain('https://user:password@bitwarden.com:8080/password/sites?and&query#hash')).toBe('bitwarden.com');
|
||||
expect(Utils.getDomain('https://user:password@bitwarden.com:8080/password/sites?and&query#hash'))
|
||||
.toBe('bitwarden.com');
|
||||
expect(Utils.getDomain('https://bitwarden.unknown')).toBe('bitwarden.unknown');
|
||||
});
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';
|
||||
import {
|
||||
CdkDragDrop,
|
||||
moveItemInArray,
|
||||
} from '@angular/cdk/drag-drop';
|
||||
import {
|
||||
EventEmitter,
|
||||
Input,
|
||||
@ -346,7 +349,6 @@ export class AddEditComponent implements OnInit {
|
||||
u.showOptions = u.showOptions == null ? true : u.showOptions;
|
||||
}
|
||||
|
||||
|
||||
drop(event: CdkDragDrop<string[]>) {
|
||||
moveItemInArray(this.cipher.fields, event.previousIndex, event.currentIndex);
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"extends": "tslint:recommended",
|
||||
"rules": {
|
||||
"interface-name": [false],
|
||||
"align": [ true, "statements", "members" ],
|
||||
"ban-types": {
|
||||
"options": [
|
||||
|
Loading…
Reference in New Issue
Block a user