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 (1 540 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (4 946 stars)
Métriques de merge PR
 (Merge moyen 138j 22h) (3 PRs mergées en 30 j)

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