padraigfl/packard-belle

View on GitHub
src/components/Inputs/SelectBox.js

Summary

Maintainability
A
1 hr
Test Coverage

Function SelectBox has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const SelectBox = (props) => {
  const Comp = props.component ? props.component : 'button';
  return (
    <div className={
      classnames(
Severity: Minor
Found in src/components/Inputs/SelectBox.js - About 1 hr to fix

    Definition for rule 'jest/no-identical-title' was not found
    Open

    import React from 'react';
    Severity: Minor
    Found in src/components/Inputs/SelectBox.js by eslint

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

    Definition for rule 'jest/no-focused-tests' was not found
    Open

    import React from 'react';
    Severity: Minor
    Found in src/components/Inputs/SelectBox.js by eslint

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

    Definition for rule 'jest/no-disabled-tests' was not found
    Open

    import React from 'react';
    Severity: Minor
    Found in src/components/Inputs/SelectBox.js by eslint

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

    Definition for rule 'jest/valid-expect' was not found
    Open

    import React from 'react';
    Severity: Minor
    Found in src/components/Inputs/SelectBox.js by eslint

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

    There are no issues that match your filters.

    Category
    Status