mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-20 16:42:45 +02:00
Disable useJsonImportAttribute
rule and revert changes
This commit is contained in:
parent
b231613d7e
commit
d5f52760f1
@ -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?
|
||||
|
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user