From 671281f6de2ba6fd1e8b7c5320f6e2571bdbc3d7 Mon Sep 17 00:00:00 2001 From: Anton Gilgur Date: Mon, 6 Jun 2022 20:08:23 -0400 Subject: [PATCH] refactor: condense own tsconfig by removing defaults (#343) - `pretty: true` and `noEmitOnError: false` are the defaults - https://www.typescriptlang.org/tsconfig#pretty - https://www.typescriptlang.org/tsconfig#noEmitOnError - when `strict: true`, `noImplicitAny`, `noImplicitThis`, and `strictNullChecks` default to `true` as well - https://www.typescriptlang.org/tsconfig#strict - I've heavily contributed to the TSConfig docs and the docs for this property the most --- tsconfig.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 10e2625..8099946 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,17 +3,12 @@ "compilerOptions": { "target": "es6", "module": "ES2020", - "noImplicitAny": true, "sourceMap": true, "noUnusedParameters": true, "noUnusedLocals": true, - "noImplicitThis": true, "diagnostics": true, "listFiles": true, - "pretty": true, "moduleResolution": "node", - "noEmitOnError": false, - "strictNullChecks": true, "forceConsistentCasingInFileNames": true, "noImplicitReturns": true, "strict": true, @@ -24,4 +19,4 @@ "src/**/*.ts" ], "exclude": [] -} \ No newline at end of file +}