StephaneTrebel/funcprolib

View on GitHub
src/main.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createMonad has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function createMonad(monadDefinition) {
    return function(input) {
        // @note Handle different Monad types here ? E.g Either(Maybe())
        if (input && input.isMonad) {
            return input;
Severity: Minor
Found in src/main.js - About 1 hr to fix

    Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
    Open

    import {
    Severity: Minor
    Found in src/main.js by eslint

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

    There are no issues that match your filters.

    Category
    Status