From 1acbfab1de7ecd8c16ac1260f4b2bdc50352bbf5 Mon Sep 17 00:00:00 2001 From: ShahanaFarooqui Date: Wed, 4 Oct 2023 13:49:39 -0700 Subject: [PATCH] Lint config --- .eslintrc.json | 2 +- server/tsconfig.server.json | 43 ++++++++----------------------------- 2 files changed, 10 insertions(+), 35 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index b88b6bea..d847958d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,7 +1,7 @@ { "root": true, "ignorePatterns": [ - "src/**/*.js" + "backend/**/*.js" ], "overrides": [ { diff --git a/server/tsconfig.server.json b/server/tsconfig.server.json index 9dd86afe..3f810889 100644 --- a/server/tsconfig.server.json +++ b/server/tsconfig.server.json @@ -1,36 +1,11 @@ { - "compileOnSave": false, - "compilerOptions": { - "baseUrl": "../", - "outDir": "../backend", - "forceConsistentCasingInFileNames": true, - "allowSyntheticDefaultImports": true, - "strict": false, - "noImplicitOverride": false, - "noPropertyAccessFromIndexSignature": false, - "strictPropertyInitialization":false, - "strictNullChecks": false, - "noImplicitAny": false, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, - "sourceMap": false, - "declaration": false, - "downlevelIteration": true, - "moduleResolution": "node", - "importHelpers": true, - "target": "ES2022", - "module": "ES2022", - "useDefineForClassFields": false, - "lib": [ - "ES2022" - ], - "paths": { - "crypto": ["node_modules/crypto-browserify"], - "stream": ["node_modules/stream-browserify"] - } - }, - "include": [ - "./**/*" - ] - } + "extends": "../tsconfig.json", + "compilerOptions": { + "baseUrl": "../", + "outDir": "../backend", + }, + "include": [ + "./**/*" + ] +} \ No newline at end of file