Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no-rename-default Add an option to ignore 3rd party modules #191

Open
vladshcherbin opened this issue Dec 2, 2024 · 0 comments
Open

no-rename-default Add an option to ignore 3rd party modules #191

vladshcherbin opened this issue Dec 2, 2024 · 0 comments

Comments

@vladshcherbin
Copy link

vladshcherbin commented Dec 2, 2024

I'd absolutely love to have an option to disable this rule for packages coming from node_modules.

A simple example with @eslint/json. From the docs:

import json from '@eslint/json'

Immediately this gives an error due to the package has default export under the name plugin.

image

It's just a simple one example, only god knows how devs name their default exports and how they are processed and renamed by bundlers and transpilers.

image

Related: #136

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant