Path: blob/main/docs/rules/no-deprecated.md
829 views
import/no-deprecated
Reports use of a deprecated name, as indicated by a JSDoc block with a @deprecated tag or TomDoc Deprecated: comment.
using a JSDoc @deprecated tag:
will report as such:
or using the TomDoc equivalent:
Only JSDoc is enabled by default. Other documentation styles can be enabled with the import/docstyle setting.
Worklist
report explicit imports on the import node
support namespaces
should bubble up through deep namespaces (#157)
report explicit imports at reference time (at the identifier) similar to namespace
mark module deprecated if file JSDoc has a @deprecated tag?
don't flag redeclaration of imported, deprecated names
flag destructuring