Skip to content

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

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

Closed
vladshcherbin opened this issue Dec 2, 2024 · 1 comment
Closed

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

@JounQin
Copy link
Member

JounQin commented Mar 19, 2025

As you noticed, it's duplicate of #136

@JounQin JounQin closed this as completed Mar 19, 2025
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

2 participants