Showing 4 of 40 total issues
File DragonchainClient.ts
has 751 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* Copyright 2020 Dragonchain, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
DragonchainClient
has 57 functions (exceeds 20 allowed). Consider refactoring. Open
Open
export class DragonchainClient {
/**
* @hidden
*/
private endpoint: string;
File DragonchainClientInterfaces.ts
has 438 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* Copyright 2020 Dragonchain, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Avoid deeply nested control flow statements. Open
Open
if ((customIndexField.options as CustomNumberFieldOptions).sortable !== undefined) optionsBody.sortable = (customIndexField.options as CustomNumberFieldOptions).sortable;