adam-26/react-router-metadata

View on GitHub

Showing 1 of 1 total issue

Function withReactRouterMetadata has 76 lines of code (exceeds 25 allowed). Consider refactoring.
Confirmed

export default function withReactRouterMetadata(options?: {
            mapParamsToProps?: (actionParams: Object, routerCtx: Object) => Object,
            staticMethodName?: string,
            componentStaticMethodName?: string,
            metadataPropName?: string
Severity: Major
Found in src/withReactRouterMetadata.js - About 3 hrs to fix
    Severity
    Category
    Status
    Source
    Language