Showing 6 of 20 total issues
File objects.spec.js
has 885 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import chai from 'chai'import * as F from '../src'import _ from 'lodash/fp' chai.expect()
File tree.spec.js
has 636 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import chai from 'chai'import * as F from '../src'import _ from 'lodash/fp'import Promise from 'bluebird'
Function exports
has 70 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (config) { 'use strict' let browsers let reporters
Function getDocs
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
let getDocs = async () => { let jsDocToJson = _.flow( _.reject('undocumented'), _.reject({ kind: 'module' }), _.reject({ access: 'private' }),
File lens.spec.js
has 273 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import chai from 'chai'import _ from 'lodash/fp'import * as F from '../src' chai.expect()
Function callUnless
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
Open
let callUnless = (check) => (failFn) => (fn) => (x, y) => check(x) ? failFn(y) : check(y) ? failFn(x) : fn(x, y)
- Read upRead up