boldr/boldr-ui

View on GitHub
src/Collapsible/Collapsible.js

Summary

Maintainability
A
1 hr
Test Coverage

Function render has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render() {
    const { title, onDelete, className, id, ...restProps } = this.props;
    const rest = omit(restProps, ['isOpen', 'onToggle']);
    const { isOpen } = this.state;
    const wrapperClassName = mergeClassNames({
Severity: Minor
Found in src/Collapsible/Collapsible.js - About 1 hr to fix

    Parsing error: The keyword 'import' is reserved
    Open

    import * as React from 'react';
    Severity: Minor
    Found in src/Collapsible/Collapsible.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    There are no issues that match your filters.

    Category
    Status