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

@@ -95,7 +95,7 @@ export class SubmissionObjectEffects {
sectionData,
sectionErrors
)
)
);
});
return { action: action, definition: definition, mappedActions: mappedActions };
}),

View File

@@ -78,7 +78,7 @@ export interface SubmissionSectionObject {
/**
* A boolean representing if this section is collapsed
*/
collapsed: boolean,
collapsed: boolean;
/**
* A boolean representing if this section is enabled
@@ -135,12 +135,12 @@ export interface SubmissionObjectEntry {
/**
* The collection this submission belonging to
*/
collection?: string,
collection?: string;
/**
* The configuration name that define this submission
*/
definition?: string,
definition?: string;
/**
* The submission self url
@@ -748,7 +748,7 @@ function newFile(state: SubmissionObjectState, action: NewUploadedFileAction): S
};
} else {
newData = filesData;
newData.files.push(action.payload.data)
newData.files.push(action.payload.data);
}
return Object.assign({}, state, {