hybridables/redolent

View on GitHub

Showing 3 of 3 total issues

Function factory has 122 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function factory (promisify) {
  test('should promisify a sync function', function () {
    var fn = promisify(function () {
      return 'foo bar baz'
    })
Severity: Major
Found in test.js - About 4 hrs to fix

Function redolent has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function redolent (fn, opts) {
  if (typeof fn !== 'function') {
    throw new TypeError('redolent: expect `fn` to be a function')
  }

Severity: Minor
Found in index.js - About 1 hr to fix

Function func has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    var func = promisify(function (a, b, c, d, e) {
Severity: Minor
Found in test.js - About 35 mins to fix
Severity
Category
Status
Source
Language