Showing 2 of 2 total issues
Function setQuery
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setQuery(
{ commit, state }: { commit: Commit; state: StateInterface },
query: string,
): void {
commit('setQuery', { query });
Function updateSchemaId
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
updateSchemaId({ commit }: { commit: Commit }, schemaId: string): void {
if (!schemaId.match(/^E[1-9]\d*$/)) {
commit('setShExCStatus', ShExCStatus.loadingError);
return;
}