mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-15 20:07:42 +00:00
Enable the sort-imports eslint rule (#1849)
## Description: Enable the `sort-imports` eslint rule. Fixes #1784 ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced
This commit is contained in:
+8
-11
@@ -1,20 +1,17 @@
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
||||
import { ApiEnvResponse, ApiPublicLobbiesResponse } from "../core/ExpressSchemas";
|
||||
import { GameInfo, ID } from "../core/Schemas";
|
||||
import { LimiterType, gatekeeper } from "./Gatekeeper";
|
||||
import { MapPlaylist } from "./MapPlaylist";
|
||||
import cluster from "cluster";
|
||||
import express from "express";
|
||||
import rateLimit from "express-rate-limit";
|
||||
import http from "http";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { getServerConfigFromServer } from "../core/configuration/ConfigLoader";
|
||||
import {
|
||||
ApiEnvResponse,
|
||||
ApiPublicLobbiesResponse,
|
||||
} from "../core/ExpressSchemas";
|
||||
import { GameInfo, ID } from "../core/Schemas";
|
||||
import { generateID } from "../core/Util";
|
||||
import { gatekeeper, LimiterType } from "./Gatekeeper";
|
||||
import { getServerConfigFromServer } from "../core/configuration/ConfigLoader";
|
||||
import http from "http";
|
||||
import { logger } from "./Logger";
|
||||
import { MapPlaylist } from "./MapPlaylist";
|
||||
import path from "path";
|
||||
import rateLimit from "express-rate-limit";
|
||||
|
||||
const config = getServerConfigFromServer();
|
||||
const playlist = new MapPlaylist();
|
||||
|
||||
Reference in New Issue
Block a user