src/integrations/close.io/setup.js
Function createCollections
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.createCollections = (Implementation, apimap, collectionAndFieldName) => {
const collectionName = collectionAndFieldName.split('.')[0];
const collectionDisplayName = _.capitalize(collectionName);
// jshint camelcase: false