StephaneTrebel/funcprolib

View on GitHub

Showing 4 of 4 total issues

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/maybe.js by eslint

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

    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/

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

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

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

    Severity
    Category
    Status
    Source
    Language