mirror of
https://github.com/github/codeql-action.git
synced 2025-12-06 07:48:17 +08:00
33 lines
1.8 KiB
JSON
33 lines
1.8 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/* Basic Options */
|
|
"lib": ["ES2021"],
|
|
"target": "ES2021",
|
|
"module": "commonjs",
|
|
"outDir": "./build",
|
|
"rootDir": "./src",
|
|
"sourceMap": true,
|
|
|
|
/* Strict Type-Checking Options */
|
|
"strict": true, /* Enable all strict type-checking options. */
|
|
"noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */
|
|
"strictNullChecks": true, /* Enable strict null checks. */
|
|
"strictFunctionTypes": true, /* Enable strict checking of function types. */
|
|
"strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
|
|
"strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
|
|
"noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
|
|
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
|
|
|
|
/* Additional Checks */
|
|
"noUnusedLocals": true, /* Report errors on unused locals. */
|
|
"noUnusedParameters": true, /* Report errors on unused parameters. */
|
|
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
|
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
|
|
|
/* Module Resolution Options */
|
|
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
|
"resolveJsonModule": true,
|
|
},
|
|
"exclude": ["node_modules"]
|
|
}
|