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

auto fix does not auto fix require

Open
#2,001 12 comments 0 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

![image](https://user-images.githubusercontent.com/21032419/110404670-3cf69f00-80ba-11eb-9d41-1c85d87b330f.png)

![image](https://user-images.githubusercontent.com/21032419/110404687-42ec8000-80ba-11eb-902f-177b0d8e67c0.png)

config:

```js
'import/order': [
'error',
{
'newlines-between': 'never',
alphabetize: {
order: 'asc',
caseInsensitive: true
}
}
]
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the report using the supplied import/order configuration and the examples shown in the screenshots. Trace the import/order rule's autofix handling for require statements; done means the reported require ordering is automatically corrected under this configuration.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.