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
+4 -5
View File
@@ -1,11 +1,10 @@
import jsonpatch, {Operation} from 'fast-json-patch';
import BaseService from './BaseService';
import torrentStatusMap from '../../shared/constants/torrentStatusMap';
import type {Taxonomy} from '../../shared/types/Taxonomy';
import type {TorrentStatus} from '../../shared/constants/torrentStatusMap';
import type {TorrentProperties, TorrentList} from '../../shared/types/Torrent';
import torrentStatusMap from '../../shared/constants/torrentStatusMap';
import type {Taxonomy} from '../../shared/types/Taxonomy';
import type {TorrentList, TorrentProperties} from '../../shared/types/Torrent';
import BaseService from './BaseService';
type TaxonomyServiceEvents = {
TAXONOMY_DIFF_CHANGE: (payload: {id: number; diff: Operation[]}) => void;