import-js/eslint-plugin-import

no-deprecated rule does not work if there are decorators

Open

#3 094 ouverte le 5 nov. 2024

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)JavaScript (4 946 stars) (1 540 forks)batch import
bughelp wanted

Description

Normally, you put the docblock at the top of the function or class. To make it detect the @deprecated tag, the docblock needs to be after the decorators. I attached an image below

Image

Guide contributeur