kalisio/kTeam

View on GitHub

Showing 2 of 2 total issues

File index.test.js has 579 lines of code (exceeds 500 allowed). Consider refactoring.
Open

import _ from 'lodash'
import { getBase64DataURI } from 'dauria'
import chai, { util, expect } from 'chai'
import chailint from 'chai-lint'
// import request from 'superagent'
Severity: Major
Found in test/index.test.js - About 3 hrs to fix

    Function default has 53 lines of code (exceeds 50 allowed). Consider refactoring.
    Open

    export default function (name, app, options) {
      const config = app.get('storage')
      const client = new aws.S3({
        accessKeyId: config.accessKeyId,
        secretAccessKey: config.secretAccessKey
    Severity: Major
    Found in src/services/organisations/organisations.service.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language