style: add new rule for imports (#785)

This commit is contained in:
Trim21
2024-08-14 06:31:39 +08:00
committed by GitHub
parent 53ba39de72
commit 2a0d29c1f5
72 changed files with 353 additions and 306 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
import Datastore from '@seald-io/nedb';
import path from 'path';
import path from 'node:path';
import Datastore from '@seald-io/nedb';
import type {
Notification,
NotificationCount,
@@ -8,8 +8,8 @@ import type {
NotificationState,
} from '@shared/types/Notification';
import BaseService from './BaseService';
import config from '../../config';
import BaseService from './BaseService';
type NotificationServiceEvents = {
NOTIFICATION_COUNT_CHANGE: (payload: {id: number; data: NotificationCount}) => void;