Prettied, Linted and updated angular.json according to the latest schematic of Angular CLI.

Now all that is needed is to make it ready for strict compiling.
Removed eslint-plugin-prettier as it is not recommended and causes errors for both eslint and prettier

Bumped to v8.0.0
This commit is contained in:
tanshu committed 2020-10-10 08:45:05 +05:30
1 parent 438a98334d
commit 5ea09df272
320 files changed
+2233 -2268

No files matched your search

@@ -1,10 +1,10 @@
import { AfterViewInit, Component, ElementRef, OnInit, ViewChild } from '@angular/core';
import { CostCentreService } from '../cost-centre.service';
import { CostCentre } from '../../core/cost-centre';
import { ActivatedRoute, Router } from '@angular/router';
import { ToasterService } from '../../core/toaster.service';
import { FormBuilder, FormGroup } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { CostCentre } from '../../core/cost-centre';
import { ToasterService } from '../../core/toaster.service';
import { CostCentreService } from '../cost-centre.service';
@Component({
selector: 'app-cost-centre-detail',
@@ -53,7 +53,7 @@ export class CostCentreDetailComponent implements OnInit, AfterViewInit {
save() {
this.ser.saveOrUpdate(this.getItem()).subscribe(
(result) => {
() => {
this.toaster.show('Success', '');
this.router.navigateByUrl('/cost-centres');
},