pokerogue/jsconfig.json
Bertie690 3e2f5f1065
[Dev] Move jsconfig.json to repository root (#6861)
* [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>
2025-12-23 15:02:10 -08:00

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
}
}