Skip to content
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

refactoring frontend (add eslint, absolute import) #38

Merged
merged 6 commits into from
Nov 26, 2022

Conversation

gangjun06
Copy link
Contributor

Absolute Import

Add jsconfig.json file and setup paths for absolute import.
Ex) ../../../components -> ~/components

eslint

Add eslint script and eslint plugins to package.json and extends next/core-web-vitals in .eslintrc.json.
Using eslint-simple-import-sort to sort imports.

Etc

I'm sorry for suddenly creating PR without any issues.

  • Also, I'm wondering that uses tab instead of two space. I think two space looks nice then tab in JSX

@gangjun06 gangjun06 changed the title refactoring frontend (add eslint, absolute import refactoring frontend (add eslint, absolute import) Nov 26, 2022
Copy link
Collaborator

@vmatsiiako vmatsiiako left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really great! Thank you so much for your help! Really appreciate it!

@vmatsiiako
Copy link
Collaborator

Thank you again! Just add an issue next time, if possible.

Also, I think 2 spaces instead of tabs could be a good idea. Feel free to send a PR if you want to.

@vmatsiiako vmatsiiako merged commit f68468c into Infisical:main Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants