← All rulesCommentsAPI documentationcomments/require-actionable-deprecationsCopy pageView MarkdownDownload .mdDeprecated APIs should name a replacement, give concrete migration steps, or explain usefully why no replacement exists.deprecationmigrationdocumentation01 Examples Reported Accepted TypeScript/** @deprecated */ export function loadOld() {}FindingRequire migration guidance in deprecations.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-deprecations": "warn"CopyPackage@scruple/commentsDefault threshold0.85Minimum confidence0.7
comments/require-actionable-deprecations
Deprecated APIs should name a replacement, give concrete migration steps, or explain usefully why no replacement exists.
Require migration guidance in deprecations.
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-deprecations": "warn"@scruple/comments