Showing 886 of 1,349 total issues
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
if (history.average < 10_000 && history.total > 10) return 10;
Avoid too many return
statements within this function. Open
Open
return [50_000, 0, 0];
Avoid too many return
statements within this function. Open
Open
if (!this.canCreateConstructionSites()) return;
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return freeTiles > 8;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return 1;
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
if (matrixValue === this.ROAD_POSITION && !allowRoads) return false;
Avoid too many return
statements within this function. Open
Open
if (!nearRoad && (x + y) % 2 === 0) return;
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return this.getBoostCutoffs(room, resourceType);
Avoid too many return
statements within this function. Open
Open
else return;
Avoid too many return
statements within this function. Open
Open
return this.getCommodityCutoffs(room, resourceType);
Avoid too many return
statements within this function. Open
Open
if (!this.canCreateConstructionSites()) return;
Avoid too many return
statements within this function. Open
Open
if (this.room.controller.level < 4) return;
Avoid too many return
statements within this function. Open
Open
if (matrixValue > 1) return false;
Avoid too many return
statements within this function. Open
Open
return this.getReactionCutoffs(room, resourceType);