kalisio/kano

View on GitHub

Showing 9 of 9 total issues

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

module.exports = configure(function (ctx) {
  return {
    // https://v2.quasar.dev/quasar-cli-webpack/supporting-ts
    supportTS: false,

Severity: Major
Found in quasar.config.js - About 7 hrs to fix

    File default.js has 724 lines of code (exceeds 500 allowed). Consider refactoring.
    Open

    const serverPort = process.env.PORT || 8081
    // Required to know webpack port so that in dev we can build correct URLs
    const clientPort = process.env.CLIENT_PORT || 8080
    const API_PREFIX = '/api'
    let domain
    Severity: Major
    Found in config/default.js - About 7 hrs to fix

      Function SlackReporter has 55 lines of code (exceeds 50 allowed). Consider refactoring.
      Open

      function SlackReporter (runner, options) {
        mocha.reporters.Base.call(this, runner)
        const notifier = new SlackNotifier(process.env.SLACK_WEBHOOK_URL || options.reporterOptions.webhook_url)
        const context = process.env.MOCHA_CONTEXT || options.reporterOptions.context
        let startTime
      Severity: Major
      Found in api/test/reporters/mocha-slack.js - About 1 hr to fix

        Avoid too many return statements within this function.
        Open

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

          FIXME found
          Open

                  // FIXME: make this more reliable than relying on a timer
          Severity: Minor
          Found in src/utils.js by fixme

          FIXME found
          Open

            // FIXME: https://github.com/kalisio/kTeam/issues/1
          Severity: Minor
          Found in api/src/middlewares.js by fixme

          TODO found
          Open

              featuresChunkSize: 5000 // TODO: here or in mapEngine ?
          Severity: Minor
          Found in config/default.js by fixme

          TODO found
          Open

              // TODO we use createService because of the custom methods
          Severity: Minor
          Found in src/services/index.js by fixme

          FIXME found
          Open

            // FIXME: This is used for testing purpose, don't know how to access this from Puppeteer otherwise
          Severity: Minor
          Found in src/boot/kdk.js by fixme
          Severity
          Category
          Status
          Source
          Language