mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-20 11:50:25 +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:
@@ -1,6 +1,5 @@
|
||||
/* eslint-disable max-lines */
|
||||
import { JWK } from "jose";
|
||||
import { z } from "zod";
|
||||
import { Config, GameEnv, NukeMagnitude, ServerConfig, Theme } from "./Config";
|
||||
import {
|
||||
Difficulty,
|
||||
Duos,
|
||||
@@ -13,22 +12,23 @@ import {
|
||||
PlayerInfo,
|
||||
PlayerType,
|
||||
Quads,
|
||||
TerrainType,
|
||||
TerraNullius,
|
||||
TerrainType,
|
||||
Tick,
|
||||
Trios,
|
||||
UnitInfo,
|
||||
UnitType,
|
||||
} from "../game/Game";
|
||||
import { TileRef } from "../game/GameMap";
|
||||
import { PlayerView } from "../game/GameView";
|
||||
import { UserSettings } from "../game/UserSettings";
|
||||
import { GameConfig, GameID, TeamCountConfig } from "../Schemas";
|
||||
import { NukeType } from "../StatsSchemas";
|
||||
import { assertNever, simpleHash, within } from "../Util";
|
||||
import { Config, GameEnv, NukeMagnitude, ServerConfig, Theme } from "./Config";
|
||||
import { JWK } from "jose";
|
||||
import { NukeType } from "../StatsSchemas";
|
||||
import { PastelTheme } from "./PastelTheme";
|
||||
import { PastelThemeDark } from "./PastelThemeDark";
|
||||
import { PlayerView } from "../game/GameView";
|
||||
import { TileRef } from "../game/GameMap";
|
||||
import { UserSettings } from "../game/UserSettings";
|
||||
import { z } from "zod";
|
||||
|
||||
const JwksSchema = z.object({
|
||||
keys: z
|
||||
|
||||
Reference in New Issue
Block a user