Showing 1 of 6 total issues
Function flattenModel
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const flattenModel = (modelName, model) => {
if (models.length && !models.includes(modelName)) {
console.warn('model name doesnt exist: ', modelName);
return;
}