Showing 10 of 17 total issues
File index.js
has 392 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* eslint-disable id-match, no-use-before-define */
const FL = require('fantasy-land')
const show = require('sanctuary-show')
File index.js
has 335 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* eslint-disable id-match, no-use-before-define */
const ø = Symbol('ø')
Err
has 27 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Err {
static of(value) {
return new Err(value)
}
Ok
has 27 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Ok {
static of(value) {
return new Ok(value)
}
prototype
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
Err.prototype = {
map(/* okƒ */) {
return this
},
prototype
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
Ok.prototype = {
map(okƒ) {
return Ok.of(okƒ(this[ø]))
},
`` has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
Object.assign(None.prototype, {
map(/* ƒ */) {
return None.of()
},
`` has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
Object.assign(Some.prototype, {
map(ƒ) {
return Some.of(ƒ(this[ø]))
},
Some
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Some {
constructor(value) {
this[ø] = value
}
None
has 22 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class None {
static of(/* value */) {
return new None()
}