Enforce import order with ESLint (#25096)

This commit is contained in:
Renaud Chaput
2023-05-23 17:15:17 +02:00
committed by GitHub
parent b896b16cb3
commit d27216dc46
355 changed files with 2304 additions and 1366 deletions

View File

@@ -1,3 +1,6 @@
import { Map as ImmutableMap, fromJS } from 'immutable';
import { STATUS_IMPORT, STATUSES_IMPORT } from '../actions/importer';
import {
REBLOG_REQUEST,
REBLOG_FAIL,
@@ -19,8 +22,6 @@ import {
STATUS_FETCH_FAIL,
} from '../actions/statuses';
import { TIMELINE_DELETE } from '../actions/timelines';
import { STATUS_IMPORT, STATUSES_IMPORT } from '../actions/importer';
import { Map as ImmutableMap, fromJS } from 'immutable';
const importStatus = (state, status) => state.set(status.id, fromJS(status));