-
Notifications
You must be signed in to change notification settings - Fork 11
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
[SUGGESTION]: Use src/
folder on frontend
#219
Conversation
@xgeekshq/d-c-frontend please review this structure and see if make senses for you. import { getAuthError } from '../../../errors/auth-messages';
import useUser from '../../../hooks/useUser';
import SchemaLoginForm from '../../../schema/schemaLoginForm';
import { toastState } from '../../../store/toast/atom/toast.atom';
import { LoginUser } from '../../../types/user/user'; Other thing, please if you can test the
|
The idea here is to avoid long path imports? If so, instead of changing the entire folder structure for the project I would suggest creating aliases like import useUser from '@hooks/useUser'; |
It's an alternative. |
sorry I didn't notice that we don't have an src folder! Im totally up for it as it keeps the root cleaner 🧹 |
Relates to #218
Proposed Changes
src/
folder;baseUrl
assrc/
ontsconfig
to clean imports;.eslintrc
Folder Structure on root
This pull request closes #218