ForestAdmin/forest-express

View on GitHub
src/integrations/close.io/setup.js

Summary

Maintainability
A
1 hr
Test Coverage
F
41%

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

exports.createCollections = (Implementation, apimap, collectionAndFieldName) => {
  const collectionName = collectionAndFieldName.split('.')[0];
  const collectionDisplayName = _.capitalize(collectionName);

  // jshint camelcase: false
Severity: Minor
Found in src/integrations/close.io/setup.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status