import-js / import-js/eslint-plugin-import

Rule import/no-deprecated not working

Open
#2,245 12 comments 0 reactions 0 assignees View on GitHub
help wanted typescript
Dominant language
JavaScript
Stars
5.9k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Sorry maybe I missed something in docs but I am unable to make work rule import/no-deprecated.
I installed eslint-plugin-import version 6.11.3
I put rules in my config
.
`
...
import/no-deprecated: 1,
import/no-cycle: 1
...
`
The problem is - I see rule no-cycle is working, and I can change level of it from warning to error. But I see no signs of import/no-deprecated rule despite the fact that entities marked with `@deprecated` tag in JSDocs exist in project. What can be wrong? Thanks in advance.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the report with eslint-plugin-import 6.11.3 and the shown import/no-deprecated and import/no-cycle configuration. Verify that no-cycle responds while deprecated JSDoc entities produce no report; done means determining why the rule is silent or documenting the missing configuration or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.