Fixed lint errors and add lint fix script

This commit is contained in:
Giuseppe Digilio
2020-12-04 10:32:46 +01:00
parent 587affd064
commit 20b5721e3c
322 changed files with 759 additions and 752 deletions

View File

@@ -227,7 +227,7 @@ export class SectionsDirective implements OnDestroy, OnInit {
* Emits true whenever section is valid
*/
public removeSection(submissionId: string, sectionId: string) {
this.sectionService.removeSection(submissionId, sectionId)
this.sectionService.removeSection(submissionId, sectionId);
}
/**
@@ -237,7 +237,7 @@ export class SectionsDirective implements OnDestroy, OnInit {
* Returns true when section has only generic errors
*/
public hasGenericErrors(): boolean {
return this.genericSectionErrors && this.genericSectionErrors.length > 0
return this.genericSectionErrors && this.genericSectionErrors.length > 0;
}
/**
@@ -248,7 +248,7 @@ export class SectionsDirective implements OnDestroy, OnInit {
*/
public hasErrors(): boolean {
return (this.genericSectionErrors && this.genericSectionErrors.length > 0) ||
(this.allSectionErrors && this.allSectionErrors.length > 0)
(this.allSectionErrors && this.allSectionErrors.length > 0);
}
/**