funkjunky/schemaless-normalizer

View on GitHub
flatten.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function flattenModel has 63 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    const flattenModel = (modelName, model) => {
        if (models.length && !models.includes(modelName)) {
            console.warn('model name doesnt exist: ', modelName);
            return;
        }
Severity: Major
Found in flatten.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status