CLOSER-Cohorts/archivist

View on GitHub
react/src/support/HumanizeObjectType.js

Summary

Maintainability
A
1 hr
Test Coverage

Function HumanizeObjectType has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const HumanizeObjectType = (type) => {
   switch (type){
      case 'statement':
      case 'CcStatement':
         return 'Statement'
Severity: Minor
Found in react/src/support/HumanizeObjectType.js - About 1 hr to fix

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

export const HumanizeObjectType = (type) => {

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

There are no issues that match your filters.

Category
Status