import-js/eslint-plugin-import

no-deprecated rule does not work if there are decorators

Open

#3.094 aberto em 5 de nov. de 2024

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (1.540 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (4.946 stars)
Métricas de merge de PR
 (Mesclagem média 138d 22h) (3 fundiu PRs em 30d)

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

Guia do colaborador