Open
Description
The rule is set to error in the config:
https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb-base/rules/imports.js#L71
But there's no mention of it in the guide:
https://github.com/airbnb/javascript/blob/master/README.md
This rule should be mentioned under the Modules section.
Activity
ljharb commentedon Feb 14, 2023
Sure, that's fine. It's been a best practice in node for over a decade so I guess it just went without saying :-)
MohitBansal321 commentedon Feb 22, 2023
I didn't find link related to this rule on eslint
ljharb commentedon Feb 22, 2023
It's part of eslint-plugin-import.
MohitBansal321 commentedon Feb 23, 2023
Link (this one?)
on which part of the modules should be added?
ljharb commentedon Feb 23, 2023
Yep, that's the rule.
I guess as a new section at the end of Modules?
meddy672 commentedon Mar 23, 2023
I have a PR up. Please take a look.
Vivek-04022001 commentedon Mar 24, 2023
ljharb commentedon Mar 24, 2023
utkarsh-shrivastav77 commentedon May 15, 2023
ljharb commentedon May 15, 2023
cyberwarrior-20 commentedon Jul 30, 2023
hi @cseas i can solve this issue please assign me
angeloreale commentedon Apr 18, 2024
My .50 cents? Why is it something should be made a code style pattern if it can directly affect bundle sizes for ES modules?
1 remaining item