mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-11 12:05:19 -05:00
Make lint happy
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import allTags from "~/routes/calendar/tags.json";
|
||||
import type { CalendarEventTag } from "./db/types";
|
||||
import { BuildAbilitiesTupleWithUnknown } from "./modules/in-game-lists";
|
||||
import type { BuildAbilitiesTupleWithUnknown } from "./modules/in-game-lists";
|
||||
|
||||
export const TWEET_LENGTH_MAX_LENGTH = 280;
|
||||
export const DISCORD_MESSAGE_MAX_LENGTH = 2000;
|
||||
|
||||
@@ -2,13 +2,13 @@ import type {
|
||||
BuildAbilitiesTupleWithUnknown,
|
||||
MainWeaponId,
|
||||
} from "~/modules/in-game-lists";
|
||||
import {
|
||||
import type {
|
||||
AnalyzedBuild,
|
||||
InkConsumeType,
|
||||
INK_CONSUME_TYPES,
|
||||
MainWeaponParams,
|
||||
StatFunctionInput,
|
||||
} from "./types";
|
||||
import { INK_CONSUME_TYPES } from "./types";
|
||||
import invariant from "tiny-invariant";
|
||||
import {
|
||||
abilityPointsToEffects,
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
mainWeaponIds,
|
||||
abilities,
|
||||
} from "../in-game-lists";
|
||||
import { AbilityType, AbilityWithUnknown } from "../in-game-lists/types";
|
||||
import type { AbilityType, AbilityWithUnknown } from "../in-game-lists/types";
|
||||
import { buildStats } from "./stats";
|
||||
|
||||
const UNKNOWN_SHORT = "U";
|
||||
|
||||
@@ -365,6 +365,7 @@ function writeTranslationsJsons(arr: TranslationArray) {
|
||||
}
|
||||
|
||||
function logWeaponIds(weapons: Record<number, MainWeaponParams>) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(JSON.stringify(Object.keys(weapons).map(Number)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user