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

Resolvers naming convention for scoped packages

Open
#1,077 0 comments 0 reactions 0 assignees View on GitHub
accepted enhancement help wanted resolver
Dominant language
JavaScript
Stars
5.9k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Hi!, thanks for this library, it's super useful.
I just published [@5rabbits/eslint-import-resolver-directory-named](https://www.npmjs.com/package/@5rabbits/eslint-import-resolver-directory-named) and It would be great if scoped packages follows the `eslint-import-resolver-*` convention), so that users can include it like this:

```yaml
settings:
import/resolver: @5rabbits/directory-named
```

Currently I'm using the full package name `import/resolver: @5rabbits/eslint-import-resolver-directory-named`, but it's kinda verbose 😞.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how resolver names are expanded and how scoped package names are handled. Add support for the shorter scoped form shown in the issue while preserving existing unscoped and full-name behavior, then run the relevant resolver tests; done means @5rabbits/directory-named resolves the published package.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.