From 996951a02988c8b6b7e0d6bf084215a8292c89b1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 16 Feb 2023 14:14:25 +0100 Subject: [PATCH] Fix angular configuration --- client/angular.json | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/client/angular.json b/client/angular.json index f9e7cb278..27215ca7c 100644 --- a/client/angular.json +++ b/client/angular.json @@ -297,23 +297,6 @@ "browserTarget": "PeerTube:build" } }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "src/test.ts", - "karmaConfig": "./karma.conf.js", - "polyfills": "src/polyfills.ts", - "tsConfig": "src/tsconfig.spec.json", - "scripts": [], - "styles": [ - "src/sass/application.scss" - ], - "assets": [ - "src/assets/images", - "src/manifest.webmanifest" - ] - } - }, "lint": { "builder": "@angular-eslint/builder:lint", "options": { @@ -337,6 +320,12 @@ }, "@schematics/angular:directive": { "prefix": "my" + }, + "@angular-eslint/schematics:application": { + "setParserOptionsProject": true + }, + "@angular-eslint/schematics:library": { + "setParserOptionsProject": true } }, "cli": {