diff --git a/biome.jsonc b/biome.jsonc index c1a44e8413f..61ef00a02b1 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -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? diff --git a/src/plugins/i18n.ts b/src/plugins/i18n.ts index f1ee01175e5..eab427e7b4a 100644 --- a/src/plugins/i18n.ts +++ b/src/plugins/i18n.ts @@ -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 diff --git a/test/sprites/pokemonSprite.test.ts b/test/sprites/pokemonSprite.test.ts index bd65d86d22a..be188503b1e 100644 --- a/test/sprites/pokemonSprite.test.ts +++ b/test/sprites/pokemonSprite.test.ts @@ -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;