← All rulesCommentsComment qualitycomments/require-actionable-todosCopy pageView MarkdownDownload .mdTask markers need enough context to identify the work, rationale, removal condition, or relevant issue without requiring an owner or date.todofixmemaintenance01 Examples Reported Accepted TypeScript// TODO: fix thisFindingRequire actionable TODO, FIXME, and HACK markers.02 Enable itSetupInstall the package, register its plugin factory, then enable the rule.Install the packagepnpm add -D @scruple/commentsRegister the plugin In scruple.config.ts, register the factory under the comments namespace used by the rule ID. import { comments } from "@scruple/comments"; plugins: { "comments": comments(), },Enable the rule"comments/require-actionable-todos": "warn"CopyPackage@scruple/commentsDefault threshold0.8Minimum confidence0.7
comments/require-actionable-todos
Task markers need enough context to identify the work, rationale, removal condition, or relevant issue without requiring an owner or date.
Require actionable TODO, FIXME, and HACK markers.
Setup
Install the package, register its plugin factory, then enable the rule.
Install the package
Register the plugin
In
scruple.config.ts, register the factory under thecommentsnamespace used by the rule ID.Enable the rule
"comments/require-actionable-todos": "warn"@scruple/comments