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

An update is recommended. #14

Open
eliot-liner opened this issue Aug 16, 2023 · 2 comments
Open

An update is recommended. #14

eliot-liner opened this issue Aug 16, 2023 · 2 comments
Labels
wontfix This will not be worked on

Comments

@eliot-liner
Copy link

eliot-liner commented Aug 16, 2023

This package is a very good project that implemented what I thought. However, there are some things that I would like to see updated further. It would be more perfect if we could restrict imports to each other even within the same folder path.

/**
 * @package
 * "./page/home.tsx"
 */

List the available paths as follows. Can you please update this feature??

A grammar that restricts all imports, a grammar that allows only some paths to be used

It would be nice to add these two.


If you don't have enough resources to work on this project, I'll blow a PR and add it! Just say something.

@uhyo
Copy link
Owner

uhyo commented Aug 16, 2023

Thanks for the suggestion!

However I'm not willing to mention file paths inside comments because they can't receive enough editor support. 🥲

As an alternative you can visit https://github.com/A-Shleifman/eslint-plugin-export-scope which is a fork of this project with richer configs.

@eliot-liner
Copy link
Author

thank you recommanded for me

@uhyo uhyo added the wontfix This will not be worked on label Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants