nexxtway/react-rainbow

View on GitHub
library/styleguideComponents/PropsTable/renderers/builders/shapeAttrList.js

Summary

Maintainability
A
1 hr
Test Coverage

Function buildShapeAttrList has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function buildShapeAttrList(data) {
    return Object.keys(data).map((name, index) => {
        const type = data[name].name;
        const value = data[name].value;
        let valueType;

    There are no issues that match your filters.

    Category
    Status