onebeyond/generator-systemic

View on GitHub
generators/app/templates/lib/components/store/initStore.js

Summary

Maintainability
A
1 hr
Test Coverage

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

module.exports = () => {
  const start = async ({ mongodb, config, logger }) => {
    const db = await mongodb.db(config.databaseName);
    const collection = await db.collection(config.collectionName);

Severity: Minor
Found in generators/app/templates/lib/components/store/initStore.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status