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

Decrease unused exports higlited area

Open
#2,189 1 comment 5 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
5.9k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

When using rule "import/no-unused-modules" all unused resource gets highlighted.
![image](https://user-images.githubusercontent.com/36694693/129172564-2530ae5d-2cd4-4405-b824-9bdc76d40a38.png)
I suggest to only highlight word "export" to not cause too much distraction.

Contributor guide

Open the contributing guide

Research direction

Start by locating the implementation and tests for the import/no-unused-modules rule, then reproduce the highlighted-area behavior described in the issue. The change is complete when unused resources no longer receive the broad highlight and only the word "export" is highlighted, with tests covering the revised behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.