menu

no-todo

Disallow calls to the canonical todo function

A todo call marks unfinished code and traps if execution reaches it. Instead, you SHOULD implement the operation or remove the path that requires it.

Reported

1import { todo } from "destack:error";2 3function process(): void {4    todo("process");5}

Accepted

1function process(): void {}