diff --git a/angular/angular.json b/angular/angular.json index be97ecd..e7f03fe 100644 --- a/angular/angular.json +++ b/angular/angular.json @@ -31,9 +31,7 @@ "browser": "src/main.ts", "outputPath": "dist/demo", "scripts": [], - "styles": [ - "src/global_styles.css" - ], + "styles": ["src/global_styles.css"], "tsConfig": "src/tsconfig.app.json" } }, @@ -46,13 +44,8 @@ "lint": { "builder": "@angular-devkit/build-angular:tslint", "options": { - "exclude": [ - "**/node_modules/**" - ], - "tsConfig": [ - "src/tsconfig.app.json", - "src/tsconfig.spec.json" - ] + "exclude": ["**/node_modules/**"], + "tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"] } }, "serve": { @@ -70,20 +63,12 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "assets": [ - "src/favicon.ico", - "src/assets" - ], + "assets": ["src/favicon.ico", "src/assets"], "karmaConfig": "src/karma.conf.js", "main": "src/test.ts", - "polyfills": [ - "zone.js", - ".zone.js/testing" - ], + "polyfills": ["zone.js", ".zone.js/testing"], "scripts": [], - "styles": [ - "styles.css" - ], + "styles": ["styles.css"], "tsConfig": "src/tsconfig.spec.json" } } @@ -96,4 +81,4 @@ } }, "version": 1 -} \ No newline at end of file +} diff --git a/angular/src/main.ts b/angular/src/main.ts index a066d84..63b5ba0 100644 --- a/angular/src/main.ts +++ b/angular/src/main.ts @@ -1,6 +1,6 @@ +import { Component } from '@angular/core'; +import { bootstrapApplication } from '@angular/platform-browser'; import 'zone.js'; -import {Component} from '@angular/core'; -import {bootstrapApplication} from '@angular/platform-browser'; @Component({ selector: 'app-root', diff --git a/angular/tsconfig.json b/angular/tsconfig.json index 994784b..73c8368 100644 --- a/angular/tsconfig.json +++ b/angular/tsconfig.json @@ -16,13 +16,10 @@ "experimentalDecorators": true, "moduleResolution": "node", "importHelpers": true, - "target": "ES2022", + "target": "ES2015", "module": "ES2022", "useDefineForClassFields": false, - "lib": [ - "ES2022", - "dom" - ] + "lib": ["ES2022", "dom"] }, "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false,