Showing 2 of 4 total issues
Fuzzer
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Fuzzer {
public static init = () => new Fuzzer();
private q: IQuery = {};
private constructor(received?: IQuery) {
this.q = received ? { ...received } : {};
Function get
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
new Promise((resolve, reject) => {
const req = https.get(
{
headers: { 'Content-Type': 'application/json' },
host: 'api.datamuse.com',