Make lint happy

This commit is contained in:
Kalle
2022-09-14 14:06:52 +03:00
parent e48465b66a
commit 18c2d3bbab
4 changed files with 5 additions and 4 deletions

View File

@@ -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;

View File

@@ -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,

View File

@@ -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";

View File

@@ -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)));
}