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

Restrict relative imports with biomejs #7137

Open
nazarhussain opened this issue Oct 8, 2024 · 2 comments
Open

Restrict relative imports with biomejs #7137

nazarhussain opened this issue Oct 8, 2024 · 2 comments
Labels
meta-feature-request Issues to track feature requests.

Comments

@nazarhussain
Copy link
Contributor

nazarhussain commented Oct 8, 2024

Problem description

We need to restrict the relative imports, as these may break production code. It was available in the eslint via import/no-relative-packages

Solution description

It was working earlier with eslint-import plugin, but have not yet available with the Biomejs.

Additional context

There must be a workaround for it to restrict import with some regular expressions.

@nazarhussain nazarhussain added the meta-feature-request Issues to track feature requests. label Oct 8, 2024
@nazarhussain
Copy link
Contributor Author

For reference: #7108 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta-feature-request Issues to track feature requests.
Projects
None yet
Development

No branches or pull requests

2 participants
@nazarhussain and others