Jam3/adviser

View on GitHub
src/core/formatters/base.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function base has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function base(results, rules) {
  let output = `\n  ${chalk.blue('Output')} \n\n`;
  let summaryColor = 'yellow';

  if (results.items.length === 0) {
Severity: Major
Found in src/core/formatters/base.js - About 2 hrs to fix

    Parsing error: The keyword 'const' is reserved
    Open

    const chalk = require('chalk');
    Severity: Minor
    Found in src/core/formatters/base.js by eslint

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

    There are no issues that match your filters.

    Category
    Status