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

ignore option for no-absolute-path

Open
#730 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
5.9k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

In a project I have to do a lots of imports within the same parent folder e.g. `/client/...../...../...../component/helloWorld`

It is much easier to user absolute paths. I would like to ignore just the absolute path for `^/client` instead of having the disable the whole rule.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the no-absolute-path rule and any tests covering its options. Read how the rule reports absolute paths and how rule configuration is parsed. Done means a configurable pattern such as ^/client can be ignored while other absolute-path violations still trigger the rule.

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.