* Update build.yml to allow pushes to any branch Remove branch restriction for push events, which prevents forked projects from running CI checks prior to creating a PR. * eslint, prettier config only
38 lines
935 B
JSON
38 lines
935 B
JSON
// https://www.typescriptlang.org/tsconfig/
|
|
{
|
|
"compilerOptions": {
|
|
// Type Checking
|
|
"allowUnreachableCode": false,
|
|
"allowUnusedLabels": false,
|
|
"alwaysStrict": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitAny": true,
|
|
"noImplicitOverride": true,
|
|
"noImplicitReturns": true,
|
|
"noImplicitThis": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"strict": true,
|
|
"strictBindCallApply": true,
|
|
"strictFunctionTypes": true,
|
|
"strictNullChecks": true,
|
|
"strictPropertyInitialization": true,
|
|
"useUnknownInCatchVariables": true,
|
|
|
|
// Modules
|
|
"module": "nodenext",
|
|
"moduleResolution": "nodenext",
|
|
"rootDir": "src",
|
|
|
|
// Emit
|
|
"outDir": "dist",
|
|
"sourceMap": true,
|
|
"sourceRoot": "./src/",
|
|
|
|
// Language and Environment
|
|
"target": "ES2020"
|
|
}
|
|
}
|