diff --git a/src/config/tsconfig.aegir.json b/src/config/tsconfig.aegir.json index 06af01130..b22e5c9d9 100644 --- a/src/config/tsconfig.aegir.json +++ b/src/config/tsconfig.aegir.json @@ -1,39 +1,35 @@ { "compilerOptions": { + "strict": true, + // project options + "outDir": "dist", "allowJs": true, "checkJs": true, - "isolatedModules": true, - "importsNotUsedAsValues": "error", - "forceConsistentCasingInFileNames": true, - "noImplicitReturns": false, - "noImplicitAny": true, - "noImplicitThis": true, - "noFallthroughCasesInSwitch": true, - "noUnusedLocals": true, - "noUnusedParameters": false, - "strictFunctionTypes": true, - "strictNullChecks": true, - "strictPropertyInitialization": true, - "strictBindCallApply": true, - "strict": true, - "skipLibCheck": true, - "alwaysStrict": true, - "esModuleInterop": true, - "stripInternal": true, - "resolveJsonModule": true, - "preserveConstEnums": true, - "removeComments": false, "target": "ES2019", - "moduleResolution": "node", "lib": ["ES2019", "ES2020.Promise", "ES2020.String", "ES2020.BigInt", "DOM", "DOM.Iterable"], - "noEmitOnError": true, "noEmit": false, + "noEmitOnError": true, "emitDeclarationOnly": true, "declaration": true, "declarationMap": true, "incremental": true, "composite": true, - "outDir": "dist" + "isolatedModules": true, + "removeComments": false, + // module resolution + "esModuleInterop": true, + "moduleResolution": "node", + // linter checks + "noImplicitReturns": false, + "noFallthroughCasesInSwitch": true, + "noUnusedLocals": true, + "noUnusedParameters": false, + // advanced + "importsNotUsedAsValues": "error", + "forceConsistentCasingInFileNames": true, + "skipLibCheck": true, + "stripInternal": true, + "resolveJsonModule": true }, "include": ["src"] }