core/client/api.js
Showing 3 of 3 total issues
Function createClient
has a Cognitive Complexity of 103 (exceeds 20 allowed). Consider refactoring. Open
Open
export async function createClient (config) { // Setup log level if (_.get(configuration, 'logs.level')) { logger.setLevel(_.get(configuration, 'logs.level'), false) } else {
- Read upRead up
Function createClient
has 265 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
export async function createClient (config) { // Setup log level if (_.get(configuration, 'logs.level')) { logger.setLevel(_.get(configuration, 'logs.level'), false) } else {
FIXME found Open
Open
// FIXME: this should not be hard-coded as it depends on the service
- Exclude checks