roshiro/openws_one

View on GitHub
ui/src/components/CollectionList.js

Summary

Maintainability
A
1 hr
Test Coverage

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

  render() {
    let msg = null;
    if(this.props.collections.length == 0) {
      msg = <span className='muted'>You don't have any collections for this application yet.</span>
    }
Severity: Minor
Found in ui/src/components/CollectionList.js - About 1 hr to fix

    Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
    Open

    import React, { Component } from 'react';
    Severity: Minor
    Found in ui/src/components/CollectionList.js by eslint

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

    There are no issues that match your filters.

    Category
    Status