From 8662f68f5747a195af98cfec0ba86180547808b7 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Thu, 6 Jun 2024 12:33:38 +0200 Subject: [PATCH] Exclude http-server from eslint and tsconfig --- eslint.config.js | 7 ++++++- tsconfig.json | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index eef71464df..847a180ad9 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -133,6 +133,11 @@ export default [ }, }, { - ignores: ["node_modules/**/*", "build/**/*", "public/**/*"], + ignores: [ + "node_modules/**/*", + "build/**/*", + "public/**/*", + "http-server/**/*", + ], }, ]; diff --git a/tsconfig.json b/tsconfig.json index 5cbd887a63..dea35f0ea6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "@tsconfig/svelte/tsconfig.json", "include": ["src", "tests", "http-client", "./*.js", "./*.ts"], - "exclude": ["node_modules/*"], + "exclude": ["node_modules/*", "http-server/*"], "compilerOptions": { "noEmit": true, "target": "es2020",