refactor: fix lint

This commit is contained in:
Johannes Millan 2024-01-26 14:16:04 +01:00
parent a8fd093e0b
commit a070f9bc46
6 changed files with 186 additions and 350 deletions

529
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { EMPTY, Observable, of } from 'rxjs';
import { EMPTY, Observable } from 'rxjs';
import { map } from 'rxjs/operators';
import { IS_ELECTRON } from '../../app.constants';
import { ipcNotifyOnClose$ } from '../ipc-events';

View file

@ -52,7 +52,6 @@ import { Bookmark, BookmarkState } from '../../features/bookmark/bookmark.model'
import { Note, NoteState } from '../../features/note/note.model';
import { Action, Store } from '@ngrx/store';
import { Tag, TagState } from '../../features/tag/tag.model';
import { environment } from '../../../environments/environment';
import { checkFixEntityStateConsistency } from '../../util/check-fix-entity-state-consistency';
import {
SimpleCounter,

View file

@ -5,7 +5,6 @@ import {
ComponentFactory,
ComponentFactoryResolver,
EventEmitter,
HostBinding,
Input,
OnDestroy,
OnInit,

View file

@ -27,7 +27,6 @@ import { TaskService } from '../../tasks/task.service';
import { Task, TaskWithReminder } from '../../tasks/task.model';
import { ProjectService } from '../../project/project.service';
import { Router } from '@angular/router';
import { distinctUntilChangedObject } from '../../../util/distinct-until-changed-object';
const UPDATE_PERCENTAGE_INTERVAL = 250;
// since the reminder modal doesn't show instantly we adjust a little for that

View file

@ -60,7 +60,7 @@ export const SHEPHERD_STEPS = (
router: Router,
workContextService: WorkContextService,
): Array<Step.StepOptions> => {
const KEY_COMBO = (action: keyof KeyboardConfig) =>
const KEY_COMBO = (action: keyof KeyboardConfig): string =>
`<kbd>${cfg.keyboard[action]}</kbd>`;
return [