weacast/weacast-api

View on GitHub

Showing 3 of 3 total issues

Function exports has 51 lines of code (exceeds 50 allowed). Consider refactoring.
Open

module.exports = async function () {
  const app = this
  const authConfig = app.get('authentication')
  // Setup app services
  try {
Severity: Major
Found in src/services.js - About 1 hr to fix

    Avoid too many return statements within this function.
    Open

            return true
    Severity: Major
    Found in src/hooks.js - About 30 mins to fix

      FIXME found
      Open

          // FIXME: need to let some time to proceed with log file
      Severity: Minor
      Found in test/index.test.js by fixme
      Severity
      Category
      Status
      Source
      Language