chore: fix lint issues

This commit is contained in:
Pujit Mehrotra
2024-10-02 10:59:19 -04:00
parent 1e2f57a4cd
commit de36bfab99
4 changed files with 3 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ import {
createSlice,
} from '@reduxjs/toolkit';
import { PUBSUB_CHANNEL, pubsub } from '@app/core/pubsub';
import { NotificationIni } from '@app/core/types/states/notification';
import { type NotificationIni } from '@app/core/types/states/notification';
interface NotificationState {
notifications: Record<string, Notification>;

View File

@@ -21,7 +21,6 @@ import { ConnectResolver } from './connect/connect.resolver';
import { ConnectService } from './connect/connect.service';
import { idPrefixPlugin } from '@app/unraid-api/graph/id-prefix-plugin';
@Module({
imports: [
ResolversModule,

View File

@@ -1,6 +1,6 @@
import { Test, TestingModule } from '@nestjs/testing';
import { Test, type TestingModule } from '@nestjs/testing';
import { NotificationsService } from './notifications.service';
import { describe, it, expect, vi, beforeAll, afterEach, assert } from 'vitest';
import { describe, it, expect, vi, beforeAll, afterEach } from 'vitest';
import { existsSync } from 'fs';
import {
Importance,

View File

@@ -17,7 +17,6 @@ import { basename, join } from 'path';
import { Logger } from '@nestjs/common';
import { batchProcess, isFulfilled, isRejected, unraidTimestamp } from '@app/utils';
import { FSWatcher, watch } from 'chokidar';
import { FileLoadStatus } from '@app/store/types';
import { pubsub, PUBSUB_CHANNEL } from '@app/core/pubsub';
import { fileExists } from '@app/core/utils/files/file-exists';
import { encode as encodeIni } from 'ini';