Skip to content

Include the deprecation message in NoDeprecated's details #17

@jfmengels

Description

@jfmengels

Currently, when reporting an error the NoDeprecated rule includes the following as its details:

This element was marked as deprecated and should not be used anymore.

Please check its documentation to know the alternative solutions.

One way that things are tagged as deprecated is when the module or function/type contains @deprecated in their documentation. What we could try to do is to extract the deprecation message next to that marker, and include it in the details when available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions