Disable useJsonImportAttribute rule and revert changes

This commit is contained in:
NightKev 2025-06-17 18:49:54 -07:00
parent b231613d7e
commit d5f52760f1
3 changed files with 4 additions and 4 deletions

View File

@ -137,7 +137,7 @@
"noConstantBinaryExpression": "error",
"noTsIgnore": "error",
"noAwaitInLoop": "warn",
"useJsonImportAttribute": "error",
"useJsonImportAttribute": "off", // "Import attributes are only supported when the '--module' option is set to 'esnext', 'node18', 'nodenext', or 'preserve'. ts(2823)"
"useIndexOf": "error",
"useObjectSpread": "info",
"useNumericSeparators": "off", // TODO: enable?

View File

@ -3,7 +3,7 @@ import i18next from "i18next";
import LanguageDetector from "i18next-browser-languagedetector";
import HttpBackend from "i18next-http-backend";
import processor, { KoreanPostpositionProcessor } from "i18next-korean-postposition-processor";
import pkg from "../../package.json" with { type: "json" };
import pkg from "../../package.json";
//#region Interfaces/Types

View File

@ -2,8 +2,8 @@ import { getAppRootDir } from "#test/sprites/spritesUtils";
import fs from "fs";
import path from "path";
import { beforeAll, describe, expect, it } from "vitest";
import _masterlist from "../../public/images/pokemon/variant/_masterlist.json" with { type: "json" };
import _exp_masterlist from "../../public/images/pokemon/variant/_exp_masterlist.json" with { type: "json" };
import _masterlist from "../../public/images/pokemon/variant/_masterlist.json";
import _exp_masterlist from "../../public/images/pokemon/variant/_exp_masterlist.json";
type PokemonVariantMasterlist = typeof _masterlist;
type PokemonExpVariantMasterlist = typeof _exp_masterlist;