From 2c59022b782cfffe12ebf2d598fd28f75c22b701 Mon Sep 17 00:00:00 2001 From: matishadow Date: Fri, 23 Oct 2020 07:53:43 +0200 Subject: [PATCH] Fix lint --- .../src/components/searchPanel.component.ts | 16 ++++++++-------- terminus-terminal/src/config.ts | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/terminus-terminal/src/components/searchPanel.component.ts b/terminus-terminal/src/components/searchPanel.component.ts index d5661a44..25bbdbb6 100644 --- a/terminus-terminal/src/components/searchPanel.component.ts +++ b/terminus-terminal/src/components/searchPanel.component.ts @@ -14,7 +14,7 @@ export class SearchPanelComponent { notFound = false options: SearchOptions = { incremental: true, - ...this.config.store.terminal.searchOptions + ...this.config.store.terminal.searchOptions, } @Output() close = new EventEmitter() @@ -28,7 +28,7 @@ export class SearchPanelComponent { this.notFound = false this.findPrevious(true) } - + findNext (incremental = false): void { if (!this.query) { return @@ -48,12 +48,12 @@ export class SearchPanelComponent { this.toastr.error('Not found') } } - + saveSearchOptions (): void { - this.config.store.terminal.searchOptions.regex = this.options.regex; - this.config.store.terminal.searchOptions.caseSensitive = this.options.caseSensitive; - this.config.store.terminal.searchOptions.wholeWord = this.options.wholeWord; - - this.config.save(); + this.config.store.terminal.searchOptions.regex = this.options.regex + this.config.store.terminal.searchOptions.caseSensitive = this.options.caseSensitive + this.config.store.terminal.searchOptions.wholeWord = this.options.wholeWord + + this.config.save() } } diff --git a/terminus-terminal/src/config.ts b/terminus-terminal/src/config.ts index 2abdfbdb..fc05958e 100644 --- a/terminus-terminal/src/config.ts +++ b/terminus-terminal/src/config.ts @@ -69,8 +69,8 @@ export class TerminalConfigProvider extends ConfigProvider { searchOptions: { regex: false, wholeWord: false, - caseSensitive: false - } + caseSensitive: false, + }, }, }