kalisio/kano

View on GitHub

Showing 4 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
          Severity
          Category
          Status
          Source
          Language