RHeactorJS/server

View on GitHub
src/config/express/rheactorjs-express-config.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function rheactorjsExpressConfig has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function rheactorjsExpressConfig (app, config, webConfig, repositories, emitter, transformer = transform, jsonld = undefined, tokenParsers = []) {
  const apiHost = new URIValue(config.get('api_host'))
  if (!jsonld) {
    jsonld = JSONLD(apiHost)
  }
Severity: Minor
Found in src/config/express/rheactorjs-express-config.js - About 1 hr to fix

    Function rheactorjsExpressConfig has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    export function rheactorjsExpressConfig (app, config, webConfig, repositories, emitter, transformer = transform, jsonld = undefined, tokenParsers = []) {
    Severity: Major
    Found in src/config/express/rheactorjs-express-config.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status