From bcb56d5fe95918c98d8387af9691f5a826a99f7a Mon Sep 17 00:00:00 2001 From: Viachaslau Tyshkavets Date: Tue, 9 Jul 2024 16:23:21 +0400 Subject: [PATCH] chore: tsconfig and eslint options cleanup --- .eslintrc.json | 2 +- tsconfig.json | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 6396c4e..2602212 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -146,7 +146,7 @@ "ignoreIIFE": true } ], - "@typescript-eslint/return-await": ["error", "in-try-catch"], + "@typescript-eslint/return-await": "error", "@typescript-eslint/require-await": "error", "require-await": "off", "no-return-await": "off", diff --git a/tsconfig.json b/tsconfig.json index f19260c..88b34a7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,12 +1,8 @@ { - "compileOnSave": false, "compilerOptions": { - "rootDir": "src", - "baseUrl": "src", - "outDir": "dist", + "outDir": "./dist", "newLine": "LF", "sourceMap": true, - "declaration": false, "emitDecoratorMetadata": true, "experimentalDecorators": true, "downlevelIteration": true, @@ -29,5 +25,5 @@ "skipDefaultLibCheck": true, "typeRoots": ["node_modules/@types", "typings"] }, - "exclude": ["node_modules", "tmp"] + "exclude": ["node_modules", "tmp", "dist"] }