bbyars/mountebank

View on GitHub
src/controllers/homeController.js

Summary

Maintainability
A
1 hr
Test Coverage
D
64%

Function create has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function create (releases) {
    function createNotice (release) {
        return {
            version: release.version,
            when: date.howLongAgo(release.date)
Severity: Minor
Found in src/controllers/homeController.js - About 1 hr to fix

    Parsing error: Invalid ecmaVersion.
    Open

    'use strict';
    Severity: Minor
    Found in src/controllers/homeController.js by eslint

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

    There are no issues that match your filters.

    Category
    Status