Showing 4 of 6 total issues
Function exports
has 206 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
module.exports = configure(function (ctx) {
return {
// https://v2.quasar.dev/quasar-cli-webpack/supporting-ts
supportTS: false,
File default.js
has 529 lines of code (exceeds 500 allowed). Consider refactoring. Open
Open
const website = 'https://kalisio.com'
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
Function SlackReporter
has 55 lines of code (exceeds 50 allowed). Consider refactoring. Open
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
Avoid too many return
statements within this function. Open
Open
return true