import-js/eslint-plugin-import

no-deprecated rule does not work if there are decorators

Open

#3.094 geöffnet am 5. Nov. 2024

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (4.946 Stars) (1.540 Forks)batch import
bughelp wanted

Beschreibung

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

Contributor Guide