-
Notifications
You must be signed in to change notification settings - Fork 30
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
chore: use absolute imports with @ alias and format code on save #332
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @peterslany - config looks good, but I'm not going to review 233 files so I'll take your word that it all works :)
Running Lighthouse audit... |
…hore-vscode-onsaveactions
64726fe
to
6d88f93
Compare
Yes, I tested it and it worked, also updated storybook config, so Chromatic works as it should too :) |
This PR introduces new format of absolute path imports: using
@/
alias forsrc/
. PR is big because all imports are converted into this new format.Also VS Code on-save actions are defined which make the prettier and ESLint fixing run on each save of the file.
Requirements to be able to utilize auto-formatting on each save are 2 VS Code extensions:
prettier-vscode
vscode-eslint