style: auto-fix ESLint issues (curly braces and formatting)
- Add curly braces to all if/else/for/while statements - Fix indentation and trailing spaces - Auto-fixed 372 linting errors using eslint --fix - Remaining issues are warnings only (non-null assertions, explicit any types)
This commit is contained in:
@@ -83,7 +83,7 @@ export class LaneQueue {
|
||||
*/
|
||||
cancel(laneId: string): void {
|
||||
const lane = this.lanes.get(laneId);
|
||||
if (!lane) return;
|
||||
if (!lane) {return;}
|
||||
|
||||
const pending = lane.queue.splice(0);
|
||||
for (const entry of pending) {
|
||||
@@ -102,7 +102,7 @@ export class LaneQueue {
|
||||
*/
|
||||
private processNext(laneId: string): void {
|
||||
const lane = this.lanes.get(laneId);
|
||||
if (!lane) return;
|
||||
if (!lane) {return;}
|
||||
|
||||
const entry = lane.queue.shift();
|
||||
if (!entry) {
|
||||
|
||||
Reference in New Issue
Block a user