eslint-plugin-deprecation icon indicating copy to clipboard operation
eslint-plugin-deprecation copied to clipboard

Add option to ignore deprecation inside a deprecated context

Open RebeccaStevens opened this issue 2 years ago • 1 comments

For example, this would not cause anything to be flagged:

/**
 * @deprecated
 */
function foo() {
  call_to_deprecated_function();
}

But if @deprecated is removed from foo, then call_to_deprecated_function is flagged.

If I get some free time I might look into making a PR for this.

RebeccaStevens avatar Feb 22 '23 11:02 RebeccaStevens