import-js / import-js/eslint-plugin-import
[feature] make `context.getCwd()` available in resolver
Open
Nobody has claimed this yet.
enhancement
help wanted
resolver
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
context: https://github.com/alexgorbatchev/eslint-import-resolver-typescript/issues/74#issuecomment-850754909
`process.cwd()` could be incorrect, [`context.getCwd()`](https://github.com/eslint/eslint/pull/12389) is the replacement.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the resolver receives ESLint context and where process.cwd() is used; compare this with the linked context.getCwd() discussion and resolver issue. Done means the resolver uses the provided context working directory instead of assuming process.cwd(), with the reported case covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100