Function with cyclomatic complexity higher than threshold JS-R1005
Anti-pattern
Minor
1 occurrence in this check
importData has a cyclomatic complexity of 31 with "very-high" risk
160  }
161};
162
163const importData = (element, user) => {164  let data = {};
165  Object.entries(element).forEach(([key, value], index) => {
166    data[fileHeader[index]] = value;