mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-24 18:49:16 +01:00
* [Dev] Move `jsconfig.json` to repository root * Renamed command to say "typecheck js" instead of just scripts * exclude everything in assets * Update jsconfig.json Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> * Update jsconfig.json Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com> * Update jsconfig.json Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> --------- Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
25 lines
716 B
JSON
25 lines
716 B
JSON
/*
|
|
* SPDX-FileCopyrightText: 2025 Pagefault Games
|
|
* SPDX-FileContributor: Bertie690
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
{
|
|
"include": ["**/*.js"],
|
|
"exclude": ["assets", "dist", "node_modules", "typedoc"],
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"module": "nodenext",
|
|
"moduleResolution": "nodenext",
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"rootDir": ".",
|
|
"erasableSyntaxOnly": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
// Forcibly disable `node_modules` recursion to prevent TSC from typechecking random JS files.
|
|
// This is disabled by default in `tsconfig.json`, but needs to be explicitly disabled from the default of `2`
|
|
"maxNodeModuleJsDepth": 0
|
|
}
|
|
}
|