ManageIQ/manageiq-ui-classic

View on GitHub
app/javascript/components/textual_summary/textual_group.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Function renderComponent has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const renderComponent = (props) => {
  const { group, onClick } = props;
  switch (props.group.component) {
    case 'GenericGroup':
      return (
Severity: Minor
Found in app/javascript/components/textual_summary/textual_group.jsx - About 1 hr to fix

'group.className' is missing in props validation
Open

          className={group.className}

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

There are no issues that match your filters.

Category
Status