sandbox/tsconfig.json
Yongmin Hong b189fe62aa
npm(prettier-config): add tsconfig to jsonc
Summary:
`tsconfig.json` has comments, so it is jsonc.

Cf. https://aka.ms/tsconfig.json

Also add tsconfig.json in rootdir and update arclint to ignore
`tsconfig.json`.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Try prettier checks on `tsconfig.json` after merging.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D376
2024-06-20 14:54:14 +09:00

42 lines
1.4 KiB
JSON

{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig to read more about this file */
/* Language and Environment */
"target": "esnext",
/* Set the JavaScript language version for emitted JavaScript
and include compatible library declarations. */
/* Modules */
"module": "NodeNext",
/* Specify what module code is generated. */
"moduleResolution": "NodeNext",
/* Specify how TypeScript looks up a file from a given module specifier. */
//"rootDir": "./",
/* Specify the root folder within your source files. */
//"baseUrl": "./",
/* Specify the base directory to resolve non-relative module names. */
/* JavaScript Support */
"allowJs": true,
/* Allow JavaScript files to be a part of your program.
Use the 'checkJS' option to get errors from these files. */
"checkJs": true,
/* Enable error reporting in type-checked JavaScript files. */
/* Interop Constraints */
"esModuleInterop": true,
/* Emit additional JavaScript to ease support for importing CommonJS modules.
This enables 'allowSyntheticDefaultImports' for type compatibility. */
"forceConsistentCasingInFileNames": true,
/* Ensure that casing is correct in imports. */
/* Type Checking */
"strict": true,
/* Enable all strict type-checking options. */
/* Completeness */
"skipLibCheck": true
/* Skip type checking all .d.ts files. */
}
}