mongaku/mongaku

View on GitHub
src/server/react-views.js

Summary

Maintainability
A
1 hr
Test Coverage

Function engine has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const engine = (filePath: string, options: Object, callback: Function) => {
    const urls = urlsLib(options.options);
    const viewName = path.basename(filePath, ".js");
    const View = require(filePath);

Severity: Minor
Found in src/server/react-views.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status