eslint-plugin-import-access icon indicating copy to clipboard operation
eslint-plugin-import-access copied to clipboard

An update is recommended.

Open eliot-liner opened this issue 2 years ago • 2 comments

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.

eliot-liner avatar Aug 16 '23 01:08 eliot-liner

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.

uhyo avatar Aug 16 '23 04:08 uhyo

thank you recommanded for me

eliot-liner avatar Aug 16 '23 09:08 eliot-liner