chore(prettier): Setup prettier#14
Conversation
41d84cb to
119e416
Compare
| "^@components", | ||
| "^@components/(.*)$", |
There was a problem hiding this comment.
Components might be lower in the FS Design
There was a problem hiding this comment.
In FSD there is normally no "components" folder, because the logic is divided between widgets, features and entities. Reusable components are ususally put in a 'shared' folder.
Si I already drifted away from FSD standards ^^
We can either decide to strictly follow FSD (but I did not want to use segments) or leave it like that. We can bring the topic on mattermost :)
There was a problem hiding this comment.
Yes we can leave it like that, we may need to update the script that checks the FSD structure (since it's based on the FSD standards).
Additionally, we might want to remove the @/* alias, which disrupts a bit the imports organization (and potentially the check:arch script)
119e416 to
387c4a9
Compare
| "^@components", | ||
| "^@components/(.*)$", |
There was a problem hiding this comment.
In FSD there is normally no "components" folder, because the logic is divided between widgets, features and entities. Reusable components are ususally put in a 'shared' folder.
Si I already drifted away from FSD standards ^^
We can either decide to strictly follow FSD (but I did not want to use segments) or leave it like that. We can bring the topic on mattermost :)
387c4a9 to
5a807e5
Compare
Goal
Install prettier and setup configuration
Demo
See next PR to have a glance to the new format: #15