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

Feature: Add allowedDepth option for a limited amount of relative imports #34

Merged

Conversation

peterlenahan-apollo
Copy link
Contributor

Implements #31

This will allow consumers to configure an allowed amount of relative imports.

For my use case I would like most imports to be absolute, but would like to allow 2 levels of relative paths such as ../../ or ../ to not be considered a warning.

Let me know what you think, thanks!

@bayasdev
Copy link

+1

@MelvinVermeer MelvinVermeer merged commit 529a844 into MelvinVermeer:main Jun 26, 2024
@chkp-sapirba
Copy link

chkp-sapirba commented Aug 14, 2024

That's great, thanks!

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

Successfully merging this pull request may close these issues.

4 participants