Using eslint-plugin-project-structure to automate FSD project structure review #625
Replies: 1 comment 3 replies
-
Hey Igor, interesting project! Does it support restriction on imports, or are there plans to support that? This would be the most important thing to check automatically when considering the validity of an FSD project. As for creating a structure for FSD, I'm not sure that would be possible or very useful, since FSD doesn't impose any restrictions on file names or on positions of the FSD roots in your project. For example, all of these are valid FSD:
With segments there are also not many restrictions, you can use the standard |
Beta Was this translation helpful? Give feedback.
-
Hey, I think you might be interested in my new eslint plugin. You can fully automate the review of project structure rules for FSD and make it available to the community.
If any of you create a full project structure for FSD, I can add it as a ready-to-use example in my library.
https://github.com/Igorkowalski94/eslint-plugin-project-structure.
Beta Was this translation helpful? Give feedback.
All reactions