ESLint: fix dangling commas

This commit is contained in:
Yury Bondarenko
2023-06-27 16:23:06 +02:00
parent 725dbc3743
commit 917c36dbe7
1789 changed files with 12452 additions and 12452 deletions

View File

@@ -26,7 +26,7 @@ import { FormFieldMetadataValueObject } from './builder/models/form-field-metada
exportAs: 'formComponent',
selector: 'ds-form',
styleUrls: ['form.component.scss'],
templateUrl: 'form.component.html'
templateUrl: 'form.component.html',
})
export class FormComponent implements OnDestroy, OnInit {
@@ -177,7 +177,7 @@ export class FormComponent implements OnDestroy, OnInit {
errors
.filter((error: FormError) => findIndex(this.formErrors, {
fieldId: error.fieldId,
fieldIndex: error.fieldIndex
fieldIndex: error.fieldIndex,
}) === -1)
.forEach((error: FormError) => {
const { fieldId } = error;
@@ -200,7 +200,7 @@ export class FormComponent implements OnDestroy, OnInit {
this.formErrors
.filter((error: FormError) => findIndex(errors, {
fieldId: error.fieldId,
fieldIndex: error.fieldIndex
fieldIndex: error.fieldIndex,
}) === -1)
.forEach((error: FormError) => {
const { fieldId } = error;
@@ -219,7 +219,7 @@ export class FormComponent implements OnDestroy, OnInit {
});
this.formErrors = errors;
this.changeDetectorRef.detectChanges();
})
}),
);
}